Commit Graph

19 Commits

Author SHA1 Message Date
Greg 1601787ecf Switch back to Blessed library after bug fixes. 2019-12-10 09:13:32 -05:00
Greg 81be281bcd Merge branch 'blessed' 2019-12-10 09:07:16 -05:00
Greg 56813159c4 Bug fix: save java peripheral object in goOnConnect(). 2019-12-10 09:04:58 -05:00
Greg ca70d55f7e Better handling of connection state and calls to gatt.close(). 2019-12-06 16:22:13 -05:00
Greg c6f6e4f317 Working version with old BleConnect code instead of Blessed. 2019-12-06 14:22:16 -05:00
Greg 4ae98b622b Revert "Conversion to Blessed library for Android -- interim check-in,"
This reverts commit 4db9b4a5ed.
2019-12-06 14:06:36 -05:00
Greg 6bad5ba08e Revert "Further debuging version."
This reverts commit fc0cab1ee8.
2019-12-06 14:03:52 -05:00
Greg 2edbeb8714 Revert "Working Android version using Blessed library."
This reverts commit e7f82ac9e7.
2019-12-06 14:03:27 -05:00
Greg 3bc712870d Improve handling of peripheral disconnections and some refactoring. 2019-12-05 08:49:41 -05:00
Greg e7f82ac9e7 Working Android version using Blessed library. 2019-12-04 17:25:10 -05:00
Greg fc0cab1ee8 Further debuging version. 2019-12-04 16:09:54 -05:00
Greg 4db9b4a5ed Conversion to Blessed library for Android -- interim check-in,
notifications do not work.
2019-12-04 14:47:56 -05:00
Greg 321b94a486 Working Android implementation. 2019-11-27 10:44:37 -05:00
Greg 99bcd1f4fb Add discoverCharacteristics() for Android. 2019-11-22 23:33:45 -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 0ab45a1d9d Update Gio verion (change location of permissions). Put the java file
here and add go:generate commands to create the jar file.
2019-11-01 14:48:17 -04:00
Greg 4e4c071697 Add gioui.org/permission/bluetooth and EnableBluetooth() function. 2019-10-30 12:09:16 -04:00
Greg 820186e132 On Android startup, obtain a Bluetooth adapter and check if it is
enabled.
2019-10-28 15:18:18 -04:00
Greg f036c5e134 Further restructuring and add stub implementation for Android. 2019-10-28 12:43:33 -04:00