This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2650STK: Swap of notification messages

Part Number: CC2650STK


Tool/software: Code Composer Studio

Hello,

I am sending characteristics notifications at regular time intervals  thanks to a  clock periodic interrupt.

The notification is sent with a call to a  setParameter function calling GATTServApp_ProcessCharCfg.

On the client side I recieve the notification some time not in  the order they were sent. Some time two notifications are being swapped.

Any idea where it could come from ? Or where to look at ?

Best regards.

  • Hi,

    This does not seem right. Are you checking the status after sending the notifications if it is returning SUCCESS? Are you embedded a counter in your notification to verify that it is indeed swapped? One thing is narrow down the problem is to look at over the air sniffer capture to see if it is a problem with the sending side or receiving side.

    Best wishes
  • I confirm the messages were swapped.
    I optimized the real time process to send the notifications (put them in another task) and it seems to have solved the issue.
    But I am not able to explain the root cause of the problem.

    Kind regards.