sample-bluetooth-le-gattserver
sample-bluetooth-le-gattserver copied to clipboard
Build a Bluetooth GATT server with Android Things
https://github.com/androidthings/sample-bluetooth-le-gattserver/blob/649e9beb99d34f26fc0af41e253d5c5b51699767/java/app/src/main/java/com/example/androidthings/gattserver/GattServerActivity.java#L363 Here you just send the descriptor information to the client. All must be good & you don't need to use GATT_FAIL but `BluetoothGatt.GATT_SUCCESS` instead... isn't it?
I use Android phone and cannot pair with Android Things (Raspberry Pi 3) through Android Phone Settings -> Bluetooth -> Pair new device or createBond programmatically.
I run this demo in my phone,then use another phone connect this phone ,but failed.I don't know what's wrong.
I have a problem with discoverability of the device and the reconnection after i disconnect from a client. The only solution was to reboot the rpi and i be able...
Hi I have written a simple GATT client that interacts with your server: https://github.com/jmc420/sample-bluetooth-le-gattclient I wrote the client because I am getting a connect followed immediately by a disconnect before...
just a minor issue but I got the following logcat message while running on a raspberry pi 3 `com.example.androidthings.gattserver I/Choreographer: Skipped 86 frames! The application may be doing too much...
In the code, `Intent.ACTION_TIME_CHANGED` results in `TimeProfile.ADJUST_MANUAL` (0x01) but for `Intent.ACTION_TIMEZONE_CHANGED` the adjust reason value is set as 0x04. According to the current time specs (https://www.bluetooth.com/specifications/adopted-specifications), "If the time information...
According to adopted BLE Current time Service specifications (https://www.bluetooth.com/specifications/adopted-specifications) "A server device shall notify this characteristic to the client device depending on the value of Client Characteristic Configuration descriptor when...
I modified it a lot for my own usage and it's no longer the original example. Do I upload it to my own GitHub with the same Apache 2 license...