Part Number: CC2650STK
Other Parts Discussed in Thread: CC2650, CC2640, BLE-STACK
Hy!
I read many forum thread, but I dont get an answer. I use a CC2650 sensortag hardware with modified ProjectZero with BLE SDK 2.2 . I create a custom service/characteristic in Bluetooth Developer Studio and generate a code, with TI plugin. Everything works fine, really. In my Android phone (Vernee Thor Android 6.0) with BLE Scanner android app. I see my service characteristic, the problem not in here.
When I write my characteristic with more than 20 byte (in BLE Scanner write in text mode) , I received all of my data, but seperate ChangeHandler.
I write an example, if this unclear:
i write to the characteristic "012345678901234567890123456789" (3x10 byte) I received in two packet wih "01234567890123456789" (1x20) and an other "0123456789" (1x10). If I write with 50 byte I receive 2x20 and 1x10 packet, etc etc
The real question is, what way to determinate how many "packet" are left, or which packet received.
Realterm screenshot with awesome paint skill:
So the question is what way to determinate how many "packet" are left, or which packet received. Or I must "hack" wih a special character at the string end, or any other method.
Thank for answer!
Best reagrds,
Richard