Microchip® Advanced Software Framework

config.h File Reference

WSNDemo application and stack configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define APP_ADDR   0x0000
 
#define APP_CAPTION   "Coordinator"
 
#define APP_CHANNEL   0x0f
 
#define APP_COORDINATOR   1
 
#define APP_ENDDEVICE   0
 
#define APP_ENDPOINT   1
 
#define APP_NODE_TYPE   0
 
#define APP_PANID   0x1234
 
#define APP_ROUTER   0
 
#define APP_RX_BUF_SIZE   20
 
#define APP_SECURITY_KEY   "TestSecurityKey0"
 
#define APP_SENDING_INTERVAL   2000
 
#define NWK_ACK_WAIT_TIME   1000 /* ms */
 
#define NWK_BUFFERS_AMOUNT   10
 
#define NWK_DUPLICATE_REJECTION_TABLE_SIZE   50
 
#define NWK_DUPLICATE_REJECTION_TTL   2000 /* ms */
 
#define NWK_ENABLE_ROUTE_DISCOVERY
 
#define NWK_ENABLE_ROUTING
 
#define NWK_ENABLE_SECURITY
 
#define NWK_GROUPS_AMOUNT   3
 
#define NWK_ROUTE_DEFAULT_SCORE   3
 
#define NWK_ROUTE_DISCOVERY_TABLE_SIZE   5
 
#define NWK_ROUTE_DISCOVERY_TIMEOUT   1000 /* ms */
 
#define NWK_ROUTE_TABLE_SIZE   100
 
#define PHY_ENABLE_RANDOM_NUMBER_GENERATOR
 
#define SYS_SECURITY_MODE   0
 

#define APP_ADDR   0x0000

Referenced by appCmdBuffer(), and appInit().

#define APP_CAPTION   "Coordinator"

Referenced by appInit().

#define APP_CHANNEL   0x0f

Referenced by appInit().

#define APP_COORDINATOR   1
#define APP_ENDDEVICE   0
#define APP_ENDPOINT   1

Referenced by appInit(), and appSendData().

#define APP_NODE_TYPE   0

Referenced by appInit().

#define APP_PANID   0x1234

Referenced by appInit().

#define APP_ROUTER   0
#define APP_RX_BUF_SIZE   20

Referenced by APP_TaskHandler().

#define APP_SECURITY_KEY   "TestSecurityKey0"

Referenced by appInit().

#define APP_SENDING_INTERVAL   2000

Referenced by APP_TaskHandler(), and appInit().

#define NWK_ACK_WAIT_TIME   1000 /* ms */

Referenced by appInit(), and nwkTxTaskHandler().

#define NWK_BUFFERS_AMOUNT   10
#define NWK_DUPLICATE_REJECTION_TABLE_SIZE   50
#define NWK_DUPLICATE_REJECTION_TTL   2000 /* ms */
#define NWK_ENABLE_ROUTE_DISCOVERY
#define NWK_ENABLE_ROUTING
#define NWK_ENABLE_SECURITY
#define NWK_GROUPS_AMOUNT   3
#define NWK_ROUTE_DEFAULT_SCORE   3
#define NWK_ROUTE_DISCOVERY_TABLE_SIZE   5
#define NWK_ROUTE_DISCOVERY_TIMEOUT   1000 /* ms */
#define NWK_ROUTE_TABLE_SIZE   100
#define PHY_ENABLE_RANDOM_NUMBER_GENERATOR
#define SYS_SECURITY_MODE   0