summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/network.c
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-16 17:00:33 +0200
committerFlorent Duchon2012-05-16 17:43:08 +0200
commit57e774eee922780d6a584be72a8984d2a3711987 (patch)
treeb53046df090ea83b5e24ff6ccadd8e89a903ccb7 /digital/beacon/src/network.c
parent0e853d3c6fe3a1701ca977dfa0f155e87b93a66c (diff)
digital/beacon: broadcast reset API
Diffstat (limited to 'digital/beacon/src/network.c')
-rw-r--r--digital/beacon/src/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/beacon/src/network.c b/digital/beacon/src/network.c
index fe413314..51cb1ea2 100644
--- a/digital/beacon/src/network.c
+++ b/digital/beacon/src/network.c
@@ -299,6 +299,9 @@ void APS_DataIndication(APS_DataInd_t* indData)
/* New angle is avaiiable, update position */
// update_position(appMessage->data[NETWORK_MSG_ADDR_FIELD],appMessage->data[NETWORK_MSG_DATA_FIELD]);
break;
+ case NETWORK_RESET:
+ reset_avr();
+ break;
default:
uprintf("Unknown data type received = %x\r\n",appMessage->data[NETWORK_MSG_TYPE_FIELD]);
break;