how can I send Data to BLE device. I already Connected to ble device but don't know how to send and receive data Via Gatt Callback.
Asked
Active
Viewed 1,030 times
2
-
2The exact API (functions) depends on OS but common way to send data is to write to the writable characteristic value. There are 2 way to receive data: read from readable characteristic or subscribe to notifications or indications. Detailed description can be found by this link: https://www.btframework.com/ble.htm – Mike Petrichenko May 20 '21 at 06:03
-
Im using Android. I have managed to connect the two device. All I need now is to read and write data on BLE. – Feather - Clocking System May 21 '21 at 07:04
-
Unfortunately I am not familiar with Android development but fast Google search gives this link: https://github.com/android/connectivity-samples/tree/master/BluetoothLeGatt – Mike Petrichenko May 21 '21 at 08:51
1 Answers
1
Have a look at the following resources that should help you get started:-

Youssif Saeed
- 11,789
- 4
- 44
- 72