Setting up radio with nrf radio_test sample

Hi!

I am currently working on this sample with an nrf52840 board and a nrf52832 board:

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html

I want to mod this sample so that I can receive any bytes on the 2401 or 2480 MHz frequency channel. The sample also contains a printing function for printing the payload that have been received, Is there a way to configure it so that it also show the preamble and other aspects of a packet?

What I cant understand is why the radio sets and "rxaddresses" in radio_test.c in radio_config row 145. Is this preventing me from receiving any bytes on of these frequency channels that I am interested in? Moreover, what does transmission_pattern do in this sample?, when trying the radio with the instructions in the documentation you need to set a pattern for the receiving radio, why?  

If anyone does have an answer to any of these questions, I would be grateful if you could share some of your knowledge.

Thanks!

Related