Android Question BLE2 ReadData2 more than 20bytes

MList

Member
Licensed User
Hi I am a Newbie here, i have to change a running B4A pgm from working with Bluetooth to Bluetooth Low Energie.
After Writing a keywort to a characteristic the device sends me some data.
So in the BLE2.Write_Complete i call the READDATA2 command.
That works an in DATA_AVAILABLE it sends me 20 bytes ... so i have to call READDATA2 again and again until i get all my data...

Is that correct, is there any chance to get the whole data with one command ?

Thanks a lot
Marion
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

MList

Member
Licensed User
Thank you very much Erel,
I tried, and the MTU changed but I still received 20 Bytes.. So I think the problem is with the
device which sends packages of 20 Bytes...
 
Upvote 0
Top