I am trying to use the radio test example and I have CLI working through RTT.
What I haven't figured out is how to use the items in radio_cmd.c. Am I missing something? Currently, there is no radio_cmd.h.
I am trying to use the radio test example and I have CLI working through RTT.
What I haven't figured out is how to use the items in radio_cmd.c. Am I missing something? Currently, there is no radio_cmd.h.
The interface to the functions inside radio_cmd.c is created through the macro NRF_CLI_CMD_REGISTER. E.g. in order to call the function cmd_print_payload(), you type "print_rx" into the terminal emulator.
NRF_CLI_CMD_REGISTER(print_rx, NULL, "Print received payload", cmd_print_payload);
Best regards,
Simon
It doesn't seem to work. I type print_rx in and nothing happens. The terminal will take 15 characters, then starts rejecting them. The enter key doesn't work, and nothing is displayed on the screen other than a test message that I created, and the characters that I am entering. No menus or splash screens are displayed, if that's supposed to occur.
It doesn't seem to work. I type print_rx in and nothing happens. The terminal will take 15 characters, then starts rejecting them. The enter key doesn't work, and nothing is displayed on the screen other than a test message that I created, and the characters that I am entering. No menus or splash screens are displayed, if that's supposed to occur.
Have you followed the steps in the infocenter about the Radio Test Example? Try using PuTTy, and use the setting provided in the link.
Best regards,
Simon