WSNDemo command handler interface.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Enumerations | |
enum | { APP_COMMAND_ID_NETWORK_INFO = 0x01, APP_COMMAND_ID_IDENTIFY = 0x10 } |
Functions | |
void | APP_CommandsByteReceived (uint8_t byte) |
void | APP_CommandsInit (void) |
bool | APP_CommandsPending (uint16_t addr) |
void APP_CommandsByteReceived | ( | uint8_t | byte | ) |
void APP_CommandsInit | ( | void | ) |
References AppCmdPendingTableEntry_t::addr, APP_CMD_ENDPOINT, APP_CMD_INVALID_ADDR, APP_CMD_PENDING_TABLE_SIZE, appCmdDataConf(), appCmdDataInd(), appCmdIdentifyDurationTimerHandler(), appCmdIdentifyPeriodTimerHandler(), appCmdPendingTable, NULL, NWK_OpenEndpoint(), NWK_OPT_ENABLE_SECURITY, AppCmdPendingTableEntry_t::ready, SYS_TIMER_INTERVAL_MODE, and SYS_TIMER_PERIODIC_MODE.
Referenced by appInit().
bool APP_CommandsPending | ( | uint16_t | addr | ) |
References APP_CMD_PENDING_TABLE_SIZE, appCmdCheckPendingTable(), appCmdPendingTable, and AppCmdPendingTableEntry_t::ready.
Referenced by appDataInd().