Microchip® Advanced Software Framework

config.h File Reference

Peer2Peer application and stack configuration.

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

Macros

#define APP_ADDR   1
 
#define APP_CHANNEL   0x0f
 
#define APP_ENDPOINT   1
 
#define APP_FLUSH_TIMER_INTERVAL   20
 
#define APP_PANID   0x4567
 
#define APP_RX_BUF_SIZE   20
 
#define APP_SECURITY_KEY   "TestSecurityKey0"
 
#define NWK_ACK_WAIT_TIME   1000 /* ms */
 
#define NWK_BUFFERS_AMOUNT   3
 
#define NWK_DUPLICATE_REJECTION_TABLE_SIZE   10
 
#define NWK_DUPLICATE_REJECTION_TTL   3000 /* ms */
 
#define NWK_ENABLE_ROUTING
 
#define NWK_ENABLE_SECURITY
 
#define NWK_ROUTE_DEFAULT_SCORE   3
 
#define NWK_ROUTE_TABLE_SIZE   100
 
#define SYS_SECURITY_MODE   0
 

#define APP_ADDR   1

Referenced by appInit(), and appSendData().

#define APP_CHANNEL   0x0f

Referenced by appInit().

#define APP_ENDPOINT   1

Referenced by appInit(), and appSendData().

#define APP_FLUSH_TIMER_INTERVAL   20

Referenced by appInit().

#define APP_PANID   0x4567

Referenced by appInit().

#define APP_RX_BUF_SIZE   20

Referenced by APP_TaskHandler().

#define APP_SECURITY_KEY   "TestSecurityKey0"
#define NWK_ACK_WAIT_TIME   1000 /* ms */

Referenced by nwkTxTaskHandler().

#define NWK_BUFFERS_AMOUNT   3
#define NWK_DUPLICATE_REJECTION_TABLE_SIZE   10
#define NWK_DUPLICATE_REJECTION_TTL   3000 /* ms */
#define NWK_ENABLE_ROUTING
#define NWK_ENABLE_SECURITY
#define NWK_ROUTE_DEFAULT_SCORE   3
#define NWK_ROUTE_TABLE_SIZE   100
#define SYS_SECURITY_MODE   0