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.

Id:
app_config.h 27367 2011-06-21 03:13:18Z pawan.jadia
Author
Microchip Technology Inc: http://www.microchip.com
Support: https://www.microchip.com/support/
#include "stack_config.h"
#include "rf4ce.h"
#include "zrc.h"

Macros

#define APP_CAPABILITIES   (0x01 | (NUM_SUPPORTED_DEV_TYPES << 1) | (NUM_SUPPORTED_PROFILES << 4))
 
#define APP_FIRST_TIMER_ID   (LAST_STACK_TIMER_ID + 1)
 This is the first timer identifier of the application. More...
 
#define APP_LAST_TIMER_ID   (LAST_STACK_TIMER_ID + NUMBER_OF_APP_TIMERS)
 Defines the largest timer identifier used by the application. More...
 
#define APP_USER_STRING   "Terminal Target" /* 15 characters ! */
 
#define NUM_SUPPORTED_DEV_TYPES   (1)
 
#define NUM_SUPPORTED_PROFILES   (1)
 
#define NUMBER_OF_APP_TIMERS   (1) /* Do not change this value */
 Defines the number of timers used by the application. More...
 
#define NWKC_MAX_PAIRING_TABLE_ENTRIES   (1) /* Do not set this value >5 */
 
#define NWKC_VENDOR_IDENTIFIER   (0x1014)
 
#define NWKC_VENDOR_STRING   "ATMEL " /* 7 characters ! */
 
#define QT_DELTA_LENGTH   0x2D
 
#define QT_REFERENCES_LENGTH   0x45
 
#define QT_SIGNAL_LENGTH   0x45
 
#define QT_STATE_LENGTH   0x0F
 
#define QT_USED_CHANNELS_LENGTH   0x2D
 
#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_TIMERS   (NUMBER_OF_APP_TIMERS + NUMBER_OF_TOTAL_STACK_TIMERS)
 Defines the total number of timers used by the application and the layers below. More...
 
#define USED_QT_CHANNELS   0xF1F0F
 
#define USER_STRING_AVAILABLE   true
 

Enumerations

enum  app_timer_t { T_LED_TIMER = (APP_FIRST_TIMER_ID) }
 Timer ID's used by the Application. More...
 

#define APP_CAPABILITIES   (0x01 | (NUM_SUPPORTED_DEV_TYPES << 1) | (NUM_SUPPORTED_PROFILES << 4))

Referenced by nlme_set_confirm().

#define APP_FIRST_TIMER_ID   (LAST_STACK_TIMER_ID + 1)

This is the first timer identifier of the application.

The value of this identifier is an increment of the largest identifier value used by the MAC.

#define APP_LAST_TIMER_ID   (LAST_STACK_TIMER_ID + NUMBER_OF_APP_TIMERS)

Defines the largest timer identifier used by the application.

#define APP_USER_STRING   "Terminal Target" /* 15 characters ! */
#define NUM_SUPPORTED_DEV_TYPES   (1)
#define NUM_SUPPORTED_PROFILES   (1)
#define NUMBER_OF_APP_TIMERS   (1) /* Do not change this value */

Defines the number of timers used by the application.

#define NWKC_MAX_PAIRING_TABLE_ENTRIES   (1) /* Do not set this value >5 */
#define NWKC_VENDOR_IDENTIFIER   (0x1014)

Referenced by app_task().

#define NWKC_VENDOR_STRING   "ATMEL " /* 7 characters ! */
#define QT_DELTA_LENGTH   0x2D
#define QT_REFERENCES_LENGTH   0x45
#define QT_SIGNAL_LENGTH   0x45
#define QT_STATE_LENGTH   0x0F
#define QT_USED_CHANNELS_LENGTH   0x2D
#define SUPPORTED_CEC_CMDS
Value:
{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, \
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
#define SUPPORTED_DEV_TYPE_0   DEV_TYPE_TELEVISION

Referenced by nlme_set_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 nlme_set_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_TIMERS   (NUMBER_OF_APP_TIMERS + NUMBER_OF_TOTAL_STACK_TIMERS)

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

#define USED_QT_CHANNELS   0xF1F0F
#define USER_STRING_AVAILABLE   true

Timer ID's used by the Application.

Enumerator
T_LED_TIMER 

Application timer id used to switch off LED.