WSNDemo application interface.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | LED_BLINK LED1_GPIO |
#define | LED_DATA LED1_GPIO |
#define | LED_IDENTIFY LED0_GPIO |
#define | LED_NETWORK LED0_GPIO |
Functions | |
void | wsndemo_init (void) |
Init function of the WSNDemo application. More... | |
void | wsndemo_task (void) |
Task of the WSNDemo application This task should be called in a while(1) More... | |
Variables | |
SYS_Timer_t | appDataSendingTimer |
#define LED_BLINK LED1_GPIO |
#define LED_DATA LED1_GPIO |
Referenced by appDataConf(), appDataInd(), and appSendData().
#define LED_IDENTIFY LED0_GPIO |
Referenced by appCmdHandle(), appCmdIdentifyDurationTimerHandler(), and appCmdIdentifyPeriodTimerHandler().
#define LED_NETWORK LED0_GPIO |
Referenced by appDataConf(), appInit(), and appNetworkStatusTimerHandler().
void wsndemo_init | ( | void | ) |
Init function of the WSNDemo application.
References APP_STATE_WAIT_FOR_RECONNECT_CALLBACK, appState, defaultParamsRamOnly, defaultParamsRomOrRam, LONG_ADDR_LEN, MiApp_ProtocolInit(), MiApp_SubscribeReConnectionCallback(), MY_ADDRESS_LENGTH, myLongAddress, PHY_SetIEEEAddr(), RECONNECTION_IN_PROGRESS, ReconnectionIndication(), and sio2host_init().
Referenced by main().
void wsndemo_task | ( | void | ) |
Task of the WSNDemo application This task should be called in a while(1)
References APP_TaskHandler(), MeshTasks(), and PDS_TaskHandler().
Referenced by main().
SYS_Timer_t appDataSendingTimer |