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

Is there a way to emulate BLE packet error?

Hello, Is there a way to test packet corruption? My setup would be that I have my FW in nRF52-DK. Then I would test communication using nRF51-Dongle. I would like to force dongle to corrupt selected packet. By this I would like to test that nRF52-DK application is correctly reacting for tested packet corruption. Is it possible with dongle? If so can you point me to some API/example? Or if it is not possible with dongle is there some other way how to do it?

Parents Reply
  • Hi,

    When not running the SoftDevice you could intentionally change the Adress or CRC registers when you want to create false packages. With the SoftDevice running it only makes sense to handle the cases when you don't receive expected data. If you are in a connection you will get retransmissions on lost data, while the connections are maintained you will get packets through, if the connections time out you get alerts. If you lose advertising packets the best you can do is to check if there was some period where you expected data, but did not get it.

    Øyvind

Children
No Data
Related