Skip to main content
KKIM.6
Senior
Feb 13, 2023 3:01 PM UTC
Question

How to send multi packet and is there any example?

I want to send 2 kbyte data using BLE in WB55.

Becasue the packet size is limited to 245 byte (it may be 509 byte if change ATT-MTU to 512 but still I couldn't make it.)

So, I wonder whether there is good example for this.

Could you suggest anything?

This topic has been closed for replies.

5 replies

Javier1
Principal
Feb 13, 2023 4:38 PM UTC

You just chunk it down to 245 byte packets.

Im not sure im understanding your issue.

hit me up in https://www.linkedin.com/in/javiermuñoz/
KKIM.6
KKIM.6Author
Senior
Feb 13, 2023 4:42 PM UTC

If I divide data into 10 set, there maybe missing data during transfer. Then how can I solve it?

Javier1
Principal
Feb 13, 2023 5:07 PM UTC

You could ping pong the same data and check if it matches, maybe some CRC, or your own custom header wrapping your payload.

hit me up in https://www.linkedin.com/in/javiermuñoz/