What is max MTU_SIZE?

For example, if I want to send 600 bytes via gatt notification to an android app, do I have to split it two and send twice? (calling GATTC_SendEvtCmd twice)

I’m using mtu size like below and I can send max 248 bytes of data currently. (used MTU Exchange)
#define PACKET_SIZE 244
#define MTU_SIZE PACKET_SIZE + 7
#define CS_VALUE_MAX_LENGTH MTU_SIZE - 3

What is max PACKET_SIZE? Can it be 512 or more?

Thanks,
Calvin

@Calvin

Please refer our RSL10 peripheral_server_UART sample project.
Each notification has max 244 bytes.
If you would like o send 600 bytes, you have to separate them. (like this in peripheral_server_UART sample).

Thank you for using our community forum!

1 Like