Microchip® Advanced Software Framework

app_config.h File Reference

Single Button Controller application config.

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   "Single Btn Ctrl" /* 15 characters ! */
 
#define AVR477_ACTIVE_DURATION_SEC   10 /* in Seconds */
 
#define AVR477_SLEEP_DURATION_SEC   10 /* In Seconds */
 
#define AVR477_WARM_RESET_WAIT_TIME_SEC   10 /* in Seconds */
 
#define EE_QDEBUG_OFFSET   (EE_IEEE_ADDR + 0xC8)
 
#define FW_VERSION_MAJOR   1
 
#define FW_VERSION_MINOR   3
 
#define FW_VERSION_REV   0
 
#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 NWKC_NODE_CAPABILITIES
 
#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_START_DELTA_DATA   0x11
 
#define QT_START_REF_DATA   0x1D
 
#define QT_STATE_LENGTH   0x0F
 
#define SUPPORTED_CEC_CMDS
 
#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 TX_OPTIONS
 
#define USED_QT_CHANNELS   0xF1F0F
 
#define USER_STRING_AVAILABLE   true
 
#define WDT_TIMEOUT_PERIOD   WDT_TO_8S
 

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_start_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   "Single Btn Ctrl" /* 15 characters ! */
#define AVR477_ACTIVE_DURATION_SEC   10 /* in Seconds */
#define AVR477_SLEEP_DURATION_SEC   10 /* In Seconds */
#define AVR477_WARM_RESET_WAIT_TIME_SEC   10 /* in Seconds */
#define EE_QDEBUG_OFFSET   (EE_IEEE_ADDR + 0xC8)
#define FW_VERSION_MAJOR   1

Referenced by vendor_data_ind().

#define FW_VERSION_MINOR   3

Referenced by vendor_data_ind().

#define FW_VERSION_REV   0

Referenced by vendor_data_ind().

#define NUM_SUPPORTED_DEV_TYPES   (1)
#define NUM_SUPPORTED_PROFILES   (1)

Referenced by nlme_start_confirm().

#define NUMBER_OF_APP_TIMERS   (1)

Defines the number of timers used by the application.

#define NWKC_NODE_CAPABILITIES
Value:
#define NodeTypeController
Node capability - constant node type controller.
Definition: rf4ce.h:40
#define ChannelNormalizationCapableTrue
Node capability - constant channel normalization capable true.
Definition: rf4ce.h:50
#define PowerSourceMainsFalse
Node capability - constant power source main not available.
Definition: rf4ce.h:44
#define SecurityCapableTrue
Node capability - constant security capable true.
Definition: rf4ce.h:46
#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_START_DELTA_DATA   0x11
#define QT_START_REF_DATA   0x1D
#define QT_STATE_LENGTH   0x0F
#define SUPPORTED_CEC_CMDS
Value:
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
#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 TX_OPTIONS
Value:
#define TXO_VEND_NOT_SPEC
Tx option - no vendor-specific data.
Definition: rf4ce.h:85
#define TXO_ACK_REQ
Tx option - ACK requested.
Definition: rf4ce.h:71
#define TXO_DST_ADDR_NET
Tx option - destination address: short.
Definition: rf4ce.h:65
#define TXO_UNICAST
Tx option - unicast.
Definition: rf4ce.h:61
#define TXO_SEC_REQ
Tx option - security requested.
Definition: rf4ce.h:75
#define TXO_MULTI_CH
Tx option - multi-channel transmission.
Definition: rf4ce.h:77
#define TXO_CH_NOT_SPEC
Tx option - channel not specified.
Definition: rf4ce.h:81

Referenced by Send_Message().

#define USED_QT_CHANNELS   0xF1F0F
#define USER_STRING_AVAILABLE   true
#define WDT_TIMEOUT_PERIOD   WDT_TO_8S

Timer ID's used by the Application.

Enumerator
T_LED_TIMER 

Application timer id used to switch off LED.