This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble data sequence out of order

Hi,

I have a device that throughout the uart data to ble,recently I find a problem that in  the case of weak signals,the data sequence is out of order.

Here is the question:

The data sequence is 03-A7,03-A8 ...each packet add one,but as the picture shows,03-A8 and 03-A9 is behind of the 03-AA and 03-AB

Why is this happening?

BRs,

Lemon

Parents
  • Hi,

    Assuming you are sending notifications, when a notification is queued, it will stay in the queue until it is sent to the peer. So if the order is wrong it is more likely they are not placed in the tx queue in the correct order or that the log is buffered, and not printed in the correct order.

    Could you capture a sniffer trace and check if the data is transmitted in the correct order? That would show us on which side the packet order is changed.

Reply
  • Hi,

    Assuming you are sending notifications, when a notification is queued, it will stay in the queue until it is sent to the peer. So if the order is wrong it is more likely they are not placed in the tx queue in the correct order or that the log is buffered, and not printed in the correct order.

    Could you capture a sniffer trace and check if the data is transmitted in the correct order? That would show us on which side the packet order is changed.

Children
Related