Android Question Ble2 message max length and "automessage"

Marco Maria Vilucchi

Active Member
Licensed User
Longtime User
I'm studying ble2 of this thread:
https://www.b4x.com/android/forum/threads/ble-peripheral.84051/
I'm using a tablet for central and a smartphone for peripheral.
I'm noting two things:
1) max message length is 20 chars (by code)
2) when I send a message from central DataAvailable event is started on central app too

Can I send max 20 chars? (in bluetooth - not ble - is the same?)
Why is a message sent to the peripheral app also sent to the central?
Thanks all
Marcom
 

Marco Maria Vilucchi

Active Member
Licensed User
Longtime User
I'm using Ble2 and I seems that in ble2 I have max 20 chars to send a message and I'm wondering if it's correct and if it works like this also with classic bluetooth
 
Upvote 0
Top