I am trying to receive a 52 byte data string from a BLE module using the BLECentral app, but the string arrives in out-of-sequence 20-byte blocks.
The test string I am sending from the module is "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
The string that is received is "UVWXYZabcdefghijklmnABCDEFGHIJKLMNOPQRSTopqrstuvwxyz", which is Block2 & Block1 & Block3.
The string is received properly by a BLE terminal app on an Android phone.
I'd rather not just arbitrarily shuffle the blocks around without knowing what is going on.
Is there a correct method for receiving strings longer than the 20 byte BLE nominal limit without them being shuffled like this?
I'm using an iPhone 4S.
The test string I am sending from the module is "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
The string that is received is "UVWXYZabcdefghijklmnABCDEFGHIJKLMNOPQRSTopqrstuvwxyz", which is Block2 & Block1 & Block3.
The string is received properly by a BLE terminal app on an Android phone.
I'd rather not just arbitrarily shuffle the blocks around without knowing what is going on.
Is there a correct method for receiving strings longer than the 20 byte BLE nominal limit without them being shuffled like this?
I'm using an iPhone 4S.
Last edited: