diff options
Diffstat (limited to 'software/hhd70dongle/hhd70dongle.c')
-rw-r--r-- | software/hhd70dongle/hhd70dongle.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c index 32bccac..e3b0983 100644 --- a/software/hhd70dongle/hhd70dongle.c +++ b/software/hhd70dongle/hhd70dongle.c @@ -227,6 +227,15 @@ int main(void) wdt_enable(WDTO_500MS); reset(); } + else if ((char) recv_byte == 'N') { + enable_tx_part=false; + enable_rx_part=false; + enable_beacon_part=false; + c1101_spi_strobe_command(SPIC1101_ADDR_SRES); // reset c1101 + hhd70_palna_rxmode(); + print_part_status(); + led_off(); + } else if ((char) recv_byte == 'B') { enable_beacon_part = !enable_beacon_part; |