Hey all
For my project, which is using the nRf52840 as a Bluetooth server, I have to implement a test software. This test software has to, among other things, to send on a specific channel. During this the emitted signal is measured by the test infrastructure (RSSI).
As a basis I've been using the functionality the ble_dtm.h header offers. This worked fine for the SDK 15, but I've had to update to the newer SDK17 and now I've problem calling the function:
uint32_t dtm_cmd(uint16_t cmd);
It accepts only a 16 bit command variable and I don't know, how I've to setup this cmd variable in order to have it conform to my call to this function in the SDK15 version:
dtm_cmd(LE_TRANSMITTER_TEST, 39, 37, DTM_PDU_TYPE_PRBS9);
note: 39 -> channel 39, 37 -> DTM_LEN
Any help would be much appreciated.
Another question is, is there a better approach for this kind of test, or is using the DTM library ok?
Best regards
Samuel