Marco Maria Vilucchi Active Member Licensed User Longtime User Jun 14, 2019 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2019 #2 Marco Maria Vilucchi said: (in bluetooth - not ble - is the same?) Click to expand... I don't understand this question. Are you using BLE or classic Bluetooth? There is no relation between the two. Upvote 0
Marco Maria Vilucchi said: (in bluetooth - not ble - is the same?) Click to expand... I don't understand this question. Are you using BLE or classic Bluetooth? There is no relation between the two.
Marco Maria Vilucchi Active Member Licensed User Longtime User Jun 16, 2019 #3 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
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
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2019 #4 The limit is not in the library. It is a limit of BLE protocol. Classic Bluetooth works completely different (stream). Upvote 0
The limit is not in the library. It is a limit of BLE protocol. Classic Bluetooth works completely different (stream).