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

How are beacons received in IEEE 802.15.4 receiver example using radio

I'm working on IEEE 802.15.4 network using nrf52840 DK boards. I'm making use of the examples in 802.15.4 (secure). I wanted to know how the reception between a transmitter and receiver works. As per my understanding till now, the transmitter sends beacons using radio and the receiver on receiving the transmitted beacon displays the result. On receiving the first beacon the function print_scan_conf() prints the status as MAC_SUCCESS (Correct me if I'm wrong that this isn't equal to beacon received). After this, the receiver continues to receive and display data despite the staus not being MAC_SUCCESS. How does this happen? Doesn't the receiver scan the network again for beacons? If it does scan the network after each beacon is received, what parameter in the code defines it?

Parents Reply Children
  • Thanks!

    Till the time the previous question is answered, I was going through the 802.15.4 example documentation. Under the heading of 'Incoming packets: radio', it has been mentioned that:

    "The incoming radio frames are stored in a queue. When this queue is filled or when the previous UART transmission is completed, the device pops the next frame from the queue and puts its MSDU payload into the UART output buffer."

    I wanted to know which part of the code the queue mentioned above is created/handled. Also, if it is possible to modify or delete the contents of this queue so that at one time, the queue can store only one frame?

Related