I’m developing an application with mbed-os-6.5 on a custom board based on NRF52840, and to get the radio certified, the laboratory asked to set the module into continuous emission mode. I’m trying to figure out how to do this with mbed-os and cordio API … but with no success.
I noticed that there is an interesting function
rf_test_start_le_transmitter_test in CordioHCIDriver.h. I did manage to make a program (with a loop incrementing the channel number), which call this function without returning error, but when I call
rf_test_end, my callback (test_end_handler) is never triggered, and the next call of
rf_test_start_le_transmitter_test returns BLE_ERROR_INVALID_STATE because the test has not been terminated properly …
Is there any place where I can find some example on how to write a program with mbed for radio testing ?
Thank you !