Bluetooth Low Energy (BLE) library

I tested few comercial program and BLE work stable on Android 4.4.2
On my phone and the same version.
Something must be wrong in this implementation on B4A.
Or I have not good implementation.
Please send to me work project BLE- example code
 
The BLE library is implemented based on Google documentation. It does work on most devices.

If the native callback method is not working then I don't see any workaround. Does the other app actually connect to the BLE device?
Yes, I have another application connect to BLE devices.
 
Dear
My Characteristic has array of hex byte. How can I receive to array variable?
Thank
 
You can do something like:
Code:
Sub BLE_Connected (Services As Map)
  For Each s As BleService In Services.Values
   For Each key As String In s.GetCharacteristics
     Log(key)
      Dim c As BleCharacteristic = s.GetCharacteristics.Get(key)
   Next
Next

Dear Erel
I used this code, but log display null (nothing service found) although with BLE Scanner software from google play indicate more services
Thank
 
Back
Top