summaryrefslogtreecommitdiff
path: root/software/hhd70dongle
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-02-13 06:36:22 +0000
committerChristian Pointner <equinox@mur.at>2013-02-13 06:36:22 +0000
commited3c6eded1dab4fefd8fbe8ea5f2f1a1227fea47 (patch)
tree55826c941f0443486f043380574be57447df45f3 /software/hhd70dongle
parenthhd70dongle v0.2b (diff)
added N (no mode)
git-svn-id: https://svn.spreadspace.org/mur.sat@671 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle')
-rw-r--r--software/hhd70dongle/hhd70dongle.c9
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;