Microchip® Advanced Software Framework

wsndemo/config.h File Reference

Macros

#define APP_ADDR   0x0000
 
#define APP_BAND   0x00
 
#define APP_CAPTION   "Coordinator"
 
#define APP_CHANNEL   0x01
 
#define APP_COORDINATOR   1
 
#define APP_ENDDEVICE   0
 
#define APP_ENDPOINT   1
 
#define APP_MODULATION   0x24
 
#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
#define APP_BAND   0x00
#define APP_CAPTION   "Coordinator"

Referenced by appInit().

#define APP_CHANNEL   0x01
#define APP_COORDINATOR   1
#define APP_ENDDEVICE   0
#define APP_ENDPOINT   1
#define APP_MODULATION   0x24
#define APP_NODE_TYPE   0

Referenced by appInit().

#define APP_PANID   0x1234
#define APP_ROUTER   0
#define APP_RX_BUF_SIZE   20
#define APP_SECURITY_KEY   "TestSecurityKey0"
#define APP_SENDING_INTERVAL   2000

Referenced by APP_TaskHandler(), and appInit().

#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