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.

  • Hi,run_ar,

    Attach is the sniffer log.

    Here we can see:

    The packet is 4C F0,4C F4,4C FF,and 4C F1,4C F2 and others are losed.

    Then we scroll down to see the record:

    Here we can see the 4C F1 and 4C F2 and others after 4F05.

    If you need more information,you can ask me and I will send to you as soon as possible.

    Thanks for your reply.

    BRs,

    Lemon

    1021.btt

Reply Children
Related