Commit Graph

7 Commits

Author SHA1 Message Date
Greg 3bc712870d Improve handling of peripheral disconnections and some refactoring. 2019-12-05 08:49:41 -05:00
Greg 321b94a486 Working Android implementation. 2019-11-27 10:44:37 -05:00
Greg 86e724cc8c Partial android implementation, including Enable(), readyToScan(),
scan(), stopScan(), connectPeripheral(), cancelConnection(), and
DiscoverServices().
2019-11-22 16:15:02 -05:00
Greg f036c5e134 Further restructuring and add stub implementation for Android. 2019-10-28 12:43:33 -04:00
Greg 206bd70461 Prepare for Android port -- move CancelConnection into ble.go and
re-arrange functions in ble_darwin.go into API calls, Core Bluetooth
callbacks and internal convenience functions.
2019-10-28 11:39:05 -04:00
Greg c911bbb547 Move BLE type into ble.go. 2019-10-28 11:21:14 -04:00
Greg 2d4f106dd7 Add ble.go to factor out platform-independent code. 2019-10-28 09:25:23 -04:00