2018-07-31 10:21 PM
Using BlueNRG-2 in Network Coprocessor mode with 2.1 FW. ATT_MTU = 247, max PDU = 251
When using coprocessor mode, commands and events are sent as packets over the SPI bus. One of first parameters in a packet is the length of the packet (without the Opcode). The length field is only 1 byte. When sending an ACI_GATT_UPDATE_CHAR_VALUE_EXT command or receiving an ACI_GATT_ATTRIBUTE_MODIFIED_EVENT, this doesn't work if the data is at the max length using Extended Data Length. The length of the packet exceeds 255 bytes and doesn't fit in a byte.
I'm working around this by limiting the negotiated ATT_MTU size but is a fix planned for this?
Might want to also tell the BlueNRG GUI developers about the problem too.