Android Question ble example

emanuele77

New Member
Licensed User
Hi,
i need a library for read and write a characteristic of a ble service with b4a.
I have download your BLE2 and BLEexample and work but is old and can only read and not write.
There is an example for read and write a characteristic?
I need to connect chip esp32 with ble with an android device.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

emanuele77

New Member
Licensed User
Thx Erel
I thank you for your contribution to this forum and to me
I have try this example program https://www.b4x.com/android/forum/threads/connecting-to-arduino-with-ble-bluetooth-low-energy.65824/
i can see scanning in log but i dont see my ble peripherals....

Instead if i try BLEexample i can scan all ble device, i can connect to my ble device and i can see all characteristics.....now i want simple write a characteristic but there isnt a function for write....
Can i write a characteristic with BLE2 BLEexample?
 
Upvote 0

emexes

Expert
Licensed User
Use app nRF Connect to explore the BLE device, find out which characteristics are readable and/or writable, can even do test read/writes, make sure that the device documentation matches reality.

Lol. Much device BLE documentation is a bit on the concise side (to phrase it diplomatically ;-)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…