Microchip® Advanced Software Framework

app_config.h File Reference

These are application-specific resources which are used in the example application of the coordinator in addition to the underlaying stack.

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

#include "stack_config.h"
#include "tal_timer_config.h"
#include "mac_config.h"
#include "node_config.h"
#include "rf4ce.h"
#include "zrc.h"
#include "common_nvm.h"
#include "conf_nvm.h"

Macros

#define APP_CAPABILITIES
 
#define APP_USER_STRING   "My Target " /* 15 characters ! */
 
#define BOOT_LOADER_SIZE   0
 
#define EE_IEEE_ADDR   (0)
 
#define IEEE_FLASH_OFFSET   (INT_FLASH_END - STACK_FLASH_SIZE + 1)
 
#define NUM_SUPPORTED_DEV_TYPES   (1)
 
#define NUM_SUPPORTED_PROFILES   (1)
 
#define NUMBER_OF_APP_TIMERS   (1)
 Defines the number of timers used by the application. More...
 
#define NUMBER_OF_LARGE_APP_BUFS   (0)
 Defines the number of additional large buffers used by the application. More...
 
#define NUMBER_OF_SMALL_APP_BUFS   (0)
 Defines the number of additional small buffers used by the application. More...
 
#define SUPPORTED_CEC_CMDS
 
#define SUPPORTED_DEV_TYPE_0   DEV_TYPE_TELEVISION
 
#define SUPPORTED_DEV_TYPE_1   DEV_TYPE_TELEVISION
 
#define SUPPORTED_DEV_TYPE_2   DEV_TYPE_TELEVISION
 
#define SUPPORTED_PROFILE_ID_0   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_1   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_2   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_3   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_4   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_5   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_6   PROFILE_ID_ZRC
 
#define TOTAL_NUMBER_OF_BUFS
 
#define TOTAL_NUMBER_OF_LARGE_BUFS
 Defines the total number of large buffers used by the application and the layers below. More...
 
#define TOTAL_NUMBER_OF_SMALL_BUFS
 Defines the total number of small buffers used by the application and the layers below. More...
 
#define TOTAL_NUMBER_OF_TIMERS   (NUMBER_OF_APP_TIMERS + TOTAL_STACK_TIMERS)
 Defines the total number of timers used by the application and the layers below. More...
 
#define TOTAL_STACK_TIMERS
 
#define USER_STRING_AVAILABLE   true
 
#define WDT_TIMEOUT_PERIOD   WDT_TO_4S
 
#define WDT_WAKEUP_INTERVAL   WDT_TO_1S
 
#define WDT_WAKEUP_INTERVAL_US   (1000000) /* micro seconds */
 

#define APP_CAPABILITIES
Value:
(0x01 | \
#define NUM_SUPPORTED_DEV_TYPES
Definition: app_config.h:99
#define NUM_SUPPORTED_PROFILES
Definition: app_config.h:100

Referenced by handle_input(), and nlme_start_confirm().

#define APP_USER_STRING   "My Target " /* 15 characters ! */
#define BOOT_LOADER_SIZE   0
#define EE_IEEE_ADDR   (0)

Referenced by tal_init().

#define IEEE_FLASH_OFFSET   (INT_FLASH_END - STACK_FLASH_SIZE + 1)
#define NUM_SUPPORTED_DEV_TYPES   (1)
#define NUM_SUPPORTED_PROFILES   (1)
#define NUMBER_OF_APP_TIMERS   (1)

Defines the number of timers used by the application.

#define NUMBER_OF_LARGE_APP_BUFS   (0)

Defines the number of additional large buffers used by the application.

#define NUMBER_OF_SMALL_APP_BUFS   (0)

Defines the number of additional small buffers used by the application.

#define SUPPORTED_CEC_CMDS
Value:
{0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00}
#define SUPPORTED_DEV_TYPE_0   DEV_TYPE_TELEVISION

Referenced by handle_input(), and nlme_start_confirm().

#define SUPPORTED_DEV_TYPE_1   DEV_TYPE_TELEVISION
#define SUPPORTED_DEV_TYPE_2   DEV_TYPE_TELEVISION
#define SUPPORTED_PROFILE_ID_0   PROFILE_ID_ZRC

Referenced by handle_input(), and nlme_start_confirm().

#define SUPPORTED_PROFILE_ID_1   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_2   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_3   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_4   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_5   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_6   PROFILE_ID_ZRC
#define TOTAL_NUMBER_OF_BUFS
Value:
#define TOTAL_NUMBER_OF_LARGE_BUFS
Defines the total number of large buffers used by the application and the layers below.
Definition: app_config.h:84
#define TOTAL_NUMBER_OF_SMALL_BUFS
Defines the total number of small buffers used by the application and the layers below.
Definition: app_config.h:91
#define TOTAL_NUMBER_OF_LARGE_BUFS
Value:
#define NUMBER_OF_LARGE_STACK_BUFS
Definition: nwk_config.h:79
#define NUMBER_OF_LARGE_APP_BUFS
Defines the number of additional large buffers used by the application.
Definition: app_config.h:75

Defines the total number of large buffers used by the application and the layers below.

Referenced by bmm_buffer_init().

#define TOTAL_NUMBER_OF_SMALL_BUFS
Value:
#define NUMBER_OF_SMALL_STACK_BUFS
Definition: nwk_config.h:81
#define NUMBER_OF_SMALL_APP_BUFS
Defines the number of additional small buffers used by the application.
Definition: app_config.h:78

Defines the total number of small buffers used by the application and the layers below.

Referenced by bmm_buffer_init().

#define TOTAL_NUMBER_OF_TIMERS   (NUMBER_OF_APP_TIMERS + TOTAL_STACK_TIMERS)

Defines the total number of timers used by the application and the layers below.

#define TOTAL_STACK_TIMERS
Value:
#define NUMBER_OF_MAC_TIMERS
Definition: mac_config.h:112
#define NUMBER_OF_TAL_TIMERS
Definition: tal_timer_config.h:105
#define NUMBER_OF_NWK_TIMERS
Definition: nwk_config.h:75
#define USER_STRING_AVAILABLE   true
#define WDT_TIMEOUT_PERIOD   WDT_TO_4S
#define WDT_WAKEUP_INTERVAL   WDT_TO_1S
#define WDT_WAKEUP_INTERVAL_US   (1000000) /* micro seconds */