You are reading a single comment by @user103949 and its replies.
Click here to read the full conversation.
-
IIRC, Espruino does only support 20 byte MTU size.
There is some work done to increase the MTU size on the increased_mtu github branch, but don't know how stable is that.
Using nRF Connect to read data from my Bluetooth sensor, I write 'g' to the RX characteristic and then read 1099 packets of data via notifications (23 Byte MTU size, including 3 bytes header). See screenshot:
Using the standard MDBT42Q 2V04 firmware and the application below, however, the packets are not correct. I get the first packet, but the 2nd packet seems to be missing, and the 3 and 4th packet appear to contain identical data (which they don't).
It seems like the event data passed into the characteristicsvaluechanged() callback is not updated properly on each callback, or is my application code incorrect?
Thanks,
-- Terrence
2 Attachments