From 04419c80ab23730348e4b9b8a6f18dda0838f940 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Thu, 2 May 2013 18:43:11 +0200 Subject: digital/beacon: manage ZB start_calibration command --- digital/beacon/src/network_specific.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/beacon') diff --git a/digital/beacon/src/network_specific.c b/digital/beacon/src/network_specific.c index 9ce274f0..2c5568e8 100644 --- a/digital/beacon/src/network_specific.c +++ b/digital/beacon/src/network_specific.c @@ -40,6 +40,7 @@ #include "servo.h" #include "reset.h" #include "uid.h" +#include "calibration.h" /* Specific callback after data packet received */ void network_specific_DataIndicationcallback(APS_DataInd_t* indData) @@ -83,6 +84,9 @@ void network_specific_DataIndicationcallback(APS_DataInd_t* indData) case NETWORK_UART_OVER_ZB: print_raw_data(FrameReceived->data,indData->asduLength-1); break; + case NETWORK_START_CALIBRATION: + calibration_start_stop_task(); + break; default: uprintf("Unknown data type received = %x\r\n",FrameReceived->type); break; -- cgit v1.2.3