cancel
Showing results for 
Search instead for 
Did you mean: 

How to send multi packet and is there any example?

KKIM.6
Senior

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?

5 REPLIES 5
Javier1
Principal

You just chunk it down to 245 byte packets.

Im not sure im understanding your issue.

we dont need to firmware by ourselves, lets talk

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

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

we dont need to firmware by ourselves, lets talk

In addtion, if I request 10 times...because of conenction interval, transfer 2kbyte would take 75 ms (in 7.5 ms connection interval). Isn't it?

I heard that BLE can send 2~2.5 packet(245 byte) in single connection interval (7.5 ms).

Isn't it?

In addtion, do you know how to use aci_gatt_update_char_ext to send 512 byte once?

I need example for this but I cannot find any useful example among company provided.