I'm a little bit confused about max datalength that can be read/written in a characteristic.
See attached, a MTU of 64 bytes is negotiated thus 61 bytes available for the data itself in a packet.
In case I want to send data from an App over the NUS service for example, what is the maximum data length I can send in one packet: 61 or 27 ? (see max_rx_octets in the log)
I have an application that was developped when only Bluetooth 4.0 and 4.1 smartphones were available, I sent packets of maximum only 20 bytes so I 've divided the data to be sent in multiple 20 bytes packets. I'd like to speed a little bit up now and would like to know on which packet length I can rely on.
an someone explain my shortly about this?
Thanks in advance.