Commit Graph

  • 6da0474e59 Bug fix for Android (C variable name conflict). master testing Greg Pomerantz 2021-11-15 15:42:35 -0500
  • a6cc776a0d Update to gioui.org@v0.0.0-20211113093644. Updates for MacOS 11.5. Greg Pomerantz 2021-11-15 14:14:45 -0500
  • 90ab682a44 Port to gio gioui.org@20200829. Greg 2020-09-05 14:12:29 -0400
  • b0b310a7b0 Bump gio version, use window.Do() instead of RegisterFragment(). Greg 2020-06-19 14:35:49 -0400
  • f5cc27a30d Bump gio version. Greg 2020-06-12 16:10:46 -0400
  • 7a583419c5 BlessedConnect.java: make sure gio shared library is loaded before calling native methods. Greg 2020-02-04 17:36:39 -0500
  • 2d7594514c Fixes to depjars/build.go Greg 2019-12-30 11:26:24 -0500
  • 52217c3f6a Add Timber license. Add depjars/ and go:generate commands to build Java dependencies. Bug fix in retrievePeripheral so that we do not zero out the reference to the Java Peripheral object. Greg 2019-12-13 12:35:36 -0500
  • dd7d927044 Add license information. Greg 2019-12-11 09:58:27 -0500
  • 1601787ecf Switch back to Blessed library after bug fixes. Greg 2019-12-10 09:13:32 -0500
  • 81be281bcd Merge branch 'blessed' Greg 2019-12-10 09:07:16 -0500
  • 56813159c4 Bug fix: save java peripheral object in goOnConnect(). Greg 2019-12-10 09:04:58 -0500
  • ca70d55f7e Better handling of connection state and calls to gatt.close(). Greg 2019-12-06 16:22:13 -0500
  • a4a7dea4ba Merge branch 'master' into HEAD Greg 2019-12-06 14:22:50 -0500
  • c6f6e4f317 Working version with old BleConnect code instead of Blessed. Greg 2019-12-06 14:22:16 -0500
  • 4ae98b622b Revert "Conversion to Blessed library for Android -- interim check-in," Greg 2019-12-06 14:06:36 -0500
  • 6bad5ba08e Revert "Further debuging version." Greg 2019-12-06 14:03:52 -0500
  • 2edbeb8714 Revert "Working Android version using Blessed library." Greg 2019-12-06 14:03:27 -0500
  • 56d6e87ef3 Revert "Doc updates, add "wantScan" to BleConnect.java so scan starts" Greg 2019-12-06 14:00:55 -0500
  • 57f19407dd Merge branch 'master' into blessed Greg 2019-12-06 13:59:07 -0500
  • 3bc712870d Improve handling of peripheral disconnections and some refactoring. Greg 2019-12-05 08:49:41 -0500
  • e7f82ac9e7 Working Android version using Blessed library. Greg 2019-12-04 17:06:14 -0500
  • 4cdaceda76 Working Android version using Blessed library. Greg 2019-12-04 17:06:14 -0500
  • fc0cab1ee8 Further debuging version. Greg 2019-12-04 16:09:54 -0500
  • 4db9b4a5ed Conversion to Blessed library for Android -- interim check-in, notifications do not work. Greg 2019-12-04 14:47:56 -0500
  • 2af636b946 Doc updates, add "wantScan" to BleConnect.java so scan starts automatically upon grant of permissions or device enable. Greg 2019-11-27 11:46:04 -0500
  • 7223b8c380 Documentation Greg 2019-11-27 11:06:42 -0500
  • 321b94a486 Working Android implementation. Greg 2019-11-27 10:44:37 -0500
  • 99bcd1f4fb Add discoverCharacteristics() for Android. Greg 2019-11-22 23:33:45 -0500
  • 86e724cc8c Partial android implementation, including Enable(), readyToScan(), scan(), stopScan(), connectPeripheral(), cancelConnection(), and DiscoverServices(). Greg 2019-11-22 16:15:02 -0500
  • 829baedeac Add BleUtil.jar. Greg 2019-11-01 14:59:03 -0400
  • 0ab45a1d9d Update Gio verion (change location of permissions). Put the java file here and add go:generate commands to create the jar file. Greg 2019-11-01 14:48:17 -0400
  • 4e4c071697 Add gioui.org/permission/bluetooth and EnableBluetooth() function. Greg 2019-10-30 12:09:16 -0400
  • 820186e132 On Android startup, obtain a Bluetooth adapter and check if it is enabled. Greg 2019-10-28 15:18:18 -0400
  • f036c5e134 Further restructuring and add stub implementation for Android. Greg 2019-10-28 12:43:33 -0400
  • 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. Greg 2019-10-28 11:39:05 -0400
  • c911bbb547 Move BLE type into ble.go. Greg 2019-10-28 11:21:14 -0400
  • 2d4f106dd7 Add ble.go to factor out platform-independent code. Greg 2019-10-28 09:25:23 -0400
  • 5955e369e4 Add the Peripheral and the Characteristic to UpdateValueEvent. Greg 2019-10-25 14:59:13 -0400
  • fbb58a8d99 Add CancelConnection() and Disconnect(). Greg 2019-10-25 14:03:20 -0400
  • b87fea7fb3 Do not connect to peripherals with outstanding connection attempts. Greg 2019-10-25 13:30:11 -0400
  • ec02bc7bcc Some debug output, and turn off BLE.wantScan when scanning starts. Greg 2019-10-25 09:09:54 -0400
  • f53dd7481a Return subscribed characteristic values as []byte in UpdateValueEvent{} Greg 2019-10-24 18:30:02 -0400
  • 822b3529c0 Add gatt package. Add DiscoverServiceEvent and DiscoverCharacteristic event. Greg 2019-10-24 18:18:27 -0400
  • 64b684e419 Add connection tracking and timeouts. Greg 2019-10-24 17:00:54 -0400
  • c91c83de9c Connect to peripherals by UUIDString. Eliminate globals for central manager and delegate. Greg 2019-10-24 08:59:25 -0400
  • 0424b70ef3 Add DiscoverServices() and interlocks to check central manager ready state. Greg 2019-10-23 19:28:43 -0400
  • 133b0883e3 Initial commit. Greg 2019-10-23 18:28:19 -0400