Other Parts Discussed in Thread: CC2650STK
Hi
I have a SensorTag CC2650STK.
I want to read long characteristics from Android. I've already modified the MAX_PDU_SIZE and can successfully request a larger MTU from Android. But in the readAttrCB function the maxLen parameter is always 22. Android only offers the readCharacteristic method where you can't manually pass an offset or the number of bytes to be read. Is the offset parameter in the readAttrCB something that can also be set != null by the BLE stack on the peripheral when a larger GATT packet is aggregated? As I understand it the client is never notified of the actual size of the characteristics and just gets whatever number of bytes is packaged in the readAttrCB function? So how exactly can this bottleneck of 22 bytes be circumvented?
Cheers