Copyright (c) 2013-2018 Microchip Technology Inc.
and its subsidiaries.
Data Structures | |
struct | app_info_tag |
struct | auto_disc_var_tag |
struct | ch_ag_var_tag |
struct | data_var_tag |
struct | disc_var_tag |
struct | network_timer_tag |
struct | nib_tag |
struct | nwk_cmd_frame_hdr_tag |
struct | nwk_cmd_frame_tag |
struct | nwk_disc_req_cmd_tag |
struct | nwk_frame_header_tag |
struct | nwk_frame_tag |
struct | nwk_pair_req_cmd_tag |
struct | nwk_pair_resp_cmd_tag |
struct | nwk_ping_req_cmd_tag |
struct | nwk_ping_req_frm_tag |
struct | nwk_ping_resp_cmd_tag |
struct | nwk_ping_resp_frm_tag |
struct | nwk_seed_cmd_tag |
union | nwk_var_tag |
struct | pair_var_tag |
struct | phy_layer_attrib_tag |
struct | reset_var_tag |
struct | rx_en_var_tag |
struct | start_var_tag |
struct | unpair_var_tag |
struct | vendor_info_tag |
Functions | |
void | duty_cycle_end_cb (void *callback_parameter) |
void | enter_normal_operation (void) |
FLASH_EXTERN (uint8_t app_user_string[15]) | |
FLASH_EXTERN (uint16_t VendorIdentifier) | |
FLASH_EXTERN (uint8_t vendor_string[7]) | |
bool | get_pairing_table_entry (uint8_t *entry, uint64_t *ieee_addr) |
void | handle_discovery_frm_conf_cb (void) |
void | handle_rx_duty_cycle (void) |
void | incoming_discovery_response (uint8_t *msg_buf) |
void | incoming_pair_response (uint8_t *msg_buf) |
void | incoming_ping_response (uint8_t *msg_buf) |
void | incoming_seed_msg (uint8_t *msg_buf) |
void | incoming_unpair_request (uint8_t *msg_buf) |
bool | is_pairing_table_full (void) |
void | issue_nlme_reset_conf (uint8_t status) |
void | issue_pair_confirm (nwk_enum_t status) |
void | issue_start_conf (uint8_t status) |
void | mcps_data_conf_cb (uint8_t *msg) |
void | mcps_data_ind_cb (uint8_t *msg) |
void | mlme_reset_conf_cb (uint8_t *msg) |
void | mlme_rx_enable_conf_cb (uint8_t *msg) |
void | nlde_data_confirm_intern (uint8_t *msg) |
void | nlde_data_indication_intern (uint8_t *msg_buf) |
void | nlde_data_request_intern (uint8_t *msg_buf) |
void | nlme_comm_status_indication_intern (uint8_t *msg_buf) |
void | nlme_discovery_confirm_intern (uint8_t *msg_buf) |
void | nlme_discovery_request_intern (uint8_t *msg_buf) |
void | nlme_get_confirm_intern (uint8_t *msg_buf) |
void | nlme_get_request_intern (uint8_t *msg_buf) |
void | nlme_pair_confirm_intern (uint8_t *msg_buf) |
void | nlme_pair_request_intern (uint8_t *msg_buf) |
void | nlme_reset_confirm_intern (uint8_t *msg_buf) |
void | nlme_reset_request_intern (uint8_t *msg_buf) |
void | nlme_rx_enable_confirm_intern (uint8_t *msg_buf) |
void | nlme_rx_enable_request_intern (uint8_t *msg_buf) |
void | nlme_set_confirm_intern (uint8_t *msg_buf) |
void | nlme_set_request_intern (uint8_t *msg_buf) |
void | nlme_start_confirm_intern (uint8_t *msg_buf) |
void | nlme_start_request_intern (uint8_t *msg_buf) |
void | nlme_unpair_confirm_intern (uint8_t *msg_buf) |
void | nlme_unpair_indication_intern (uint8_t *msg_buf) |
void | nlme_unpair_request_intern (uint8_t *msg_buf) |
void | nlme_unpair_response_intern (uint8_t *msg_buf) |
void | nlme_update_key_confirm_intern (uint8_t *msg_buf) |
void | nlme_update_key_request_intern (uint8_t *msg_buf) |
void | nwk_dispatch_event (uint8_t *event) |
void | pair_req_mcps_data_conf_cb (uint8_t *msg_buf) |
void | ping_req_mcps_data_conf_cb (uint8_t *msg_buf) |
void | read_nib (void) |
void | remove_pairing_entry (uint8_t entry) |
void | send_ping_request (void) |
bool | start_waiting_for_seeding (void) |
void | store_nib (void) |
void | unpair_req_mcps_data_conf_cb (uint8_t *msg_buf) |
#define CH_NORM_CAPABLE_MASK 0x08 |
#define EE_NIB_OFFSET (8) |
#define EE_OWN_FRAME_CNTR_OFFSET |
#define EE_PAIRING_REF_OFFSET (EE_NIB_OFFSET + sizeof(nib_t)) |
#define FALSE false |
#define NODE_TYPE_MASK 0x01 |
#define NWK_FCF_CH_15 (1 << 6) |
#define NWK_FCF_CH_20 (2 << 6) |
#define NWK_FCF_CH_25 (3 << 6) |
#define NWK_FCF_CH_MASK 0xC0 |
#define NWK_FCF_CH_NOT_SPEC (0 << 6) |
#define NWK_FCF_PROTOCOL_VERSION (nwkcProtocolVersion << 3) |
#define NWK_FCF_RESERVED (1 << 5) |
#define NWK_FCF_SEC_DISABLED (0 << 2) |
#define NWK_FCF_SEC_ENABLED (1 << 2) |
#define NWK_FRAME_TYPE_CMD 2 |
#define NWK_FRAME_TYPE_DATA 1 |
#define NWK_FRAME_TYPE_MASK 0x03 |
#define NWK_FRAME_TYPE_RESERVED 0 |
#define NWK_FRAME_TYPE_VENDOR 3 |
#define nwkActivePeriod_def 0xffffff |
#define nwkBaseChannel_def Base_Channel /* 15 */ |
#define nwkcChannelMask |
#define nwkcFrameCounterWindow 1024 |
#define nwkChAgEdThreshold_def 10 /* 10 -> -80 dBm */ |
#define nwkChAgEnabled_def false |
#define nwkChAgScanInterval_def 0x00393870 /* MAC symbols => 60sec */ |
#define nwkcMACBeaconPayloadLength 2 |
#define nwkcMaxDutyCycle 62500 |
#define nwkcMaxKeySeedWaitTime 3750 |
#define nwkcMaxNodeDescListSize |
#define nwkcMaxPairingTableEntries NWKC_MAX_PAIRING_TABLE_ENTRIES |
#define nwkcMaxSecCmdTxPower -15 |
#define nwkcMinActivePeriod 1050 |
Referenced by nlme_reset_confirm(), pbp_org_pair_confirm(), and zrc_cmd_disc_confirm().
#define nwkcMinControllerPairingTableSize 1 |
#define nwkcMinNodeDescTableSize 3 |
#define nwkcMinNWKHeaderOverhead 5 |
#define nwkcMinTargetPairingTableSize 5 |
#define nwkcNodeCapabilities NWKC_NODE_CAPABILITIES |
#define nwkcProtocolIdentifier 0xce |
#define nwkcProtocolVersion 1 |
#define nwkcVendorIdentifier NWKC_VENDOR_IDENTIFIER |
#define nwkcVendorString NWKC_VENDOR_STRING |
#define nwkDiscoveryLQIThreshold_def 0xff |
#define nwkDiscoveryRepetitionInterval_def 0x0030d4 |
#define nwkDutyCycle_def 0x000000 |
#define nwkFrameCounter_def 0x00000001 |
#define nwkIndicateDiscoveryRequests_def FALSE |
#define nwkInPowerSave_def FALSE |
#define nwkMaxDiscoveryRepetitions_def 0x01 |
#define nwkMaxFirstAttemptCSMABackoffs_def 4 |
#define nwkMaxFirstAttemptFrameRetries_def 3 |
#define nwkMaxReportedNodeDescriptors_def 0x03 |
#define nwkPairingTable_def NULL |
#define nwkResponseWaitTime_def 0x00186a |
#define nwkScanDuration_def 6 /* 960 * (2^n + 1) symbols; here: ~1sec */ |
#define nwkUserString_def NULL |
#define PWR_SRC_MASK 0x02 |
#define RF4CE_VERSION 100 /* = 1.0 */ |
#define SECURITY_CAPABLE_MASK 0x04 |
#define TRUE true |
typedef struct app_info_tag app_info_t |
typedef enum auto_disc_state_tag auto_disc_state_t |
type used for internal autodiscovery state machine
typedef struct auto_disc_var_tag auto_disc_var_t |
typedef struct ch_ag_var_tag ch_ag_var_t |
typedef struct data_var_tag data_var_t |
typedef struct disc_var_tag disc_var_t |
typedef struct network_timer_tag network_timer_t |
typedef __PACK__DATA__ struct nib_tag nib_t |
typedef struct nwk_cmd_frame_hdr_tag nwk_cmd_frame_hdr_t |
typedef struct nwk_cmd_frame_tag nwk_cmd_frame_t |
typedef struct nwk_disc_req_cmd_tag nwk_disc_req_cmd_t |
typedef struct nwk_frame_header_tag nwk_frame_header_t |
typedef struct nwk_frame_tag nwk_frame_t |
typedef struct nwk_pair_req_cmd_tag nwk_pair_req_cmd_t |
typedef struct nwk_pair_resp_cmd_tag nwk_pair_resp_cmd_t |
typedef struct nwk_ping_req_cmd_tag nwk_ping_req_cmd_t |
typedef struct nwk_ping_req_frm_tag nwk_ping_req_frm_t |
typedef struct nwk_ping_resp_cmd_tag nwk_ping_resp_cmd_t |
typedef struct nwk_ping_resp_frm_tag nwk_ping_resp_frm_t |
typedef struct nwk_seed_cmd_tag nwk_seed_cmd_t |
typedef enum nwk_state_tag nwk_state_t |
typedef union nwk_var_tag nwk_var_t |
typedef struct pair_var_tag pair_var_t |
typedef struct phy_layer_attrib_tag phy_layer_attrib_t |
typedef struct reset_var_tag reset_var_t |
typedef struct rx_en_var_tag rx_en_var_t |
typedef struct start_var_tag start_var_t |
typedef struct unpair_var_tag unpair_var_t |
typedef struct vendor_info_tag vendor_info_t |
enum auto_disc_state_tag |
enum nwk_state_tag |
enum SHORTENUM |
Enumerator | |
---|---|
DISCOVERY_REQUEST | |
DISCOVERY_RESPONSE | |
PAIR_REQUEST | |
PAIR_RESPONSE | |
UNPAIR_REQUEST | |
KEY_SEED | |
PING_REQUEST | |
PING_RESPONSE | |
ASSOCIATIONREQUEST | |
ASSOCIATIONRESPONSE | |
DISASSOCIATIONNOTIFICATION | |
DATAREQUEST | |
PANIDCONFLICTNOTIFICAION | |
ORPHANNOTIFICATION | |
BEACONREQUEST | |
COORDINATORREALIGNMENT | |
GTSREQUEST | |
ORPHANREALIGNMENT | |
BEACON_MESSAGE | |
DATAREQUEST_IMPL_POLL | |
NULL_FRAME | |
MCPS_MESSAGE | |
STB_CCM_OK |
CCM en/decryption OK. |
STB_CCM_ILLPARM |
Illegal parameter value in stb_ccm_secure() |
STB_CCM_KEYMISS |
No previous key init in stb_ccm_secure() |
STB_CCM_MICERR |
MIC error detected in stb_ccm_secure() |
SECURITY_00_LEVEL |
Security Level 0. |
SECURITY_01_LEVEL |
Security Level 1. |
SECURITY_02_LEVEL |
Security Level 2. |
SECURITY_03_LEVEL |
Security Level 3. |
SECURITY_04_LEVEL |
Security Level 4. |
SECURITY_05_LEVEL |
Security Level 5. |
SECURITY_06_LEVEL |
Security Level 6. |
SECURITY_07_LEVEL |
Security Level 7. |
void duty_cycle_end_cb | ( | void * | callback_parameter | ) |
void enter_normal_operation | ( | void | ) |
FLASH_EXTERN | ( | uint8_t | app_user_string[15] | ) |
FLASH_EXTERN | ( | uint16_t | VendorIdentifier | ) |
FLASH_EXTERN | ( | uint8_t | vendor_string[7] | ) |
bool get_pairing_table_entry | ( | uint8_t * | entry, |
uint64_t * | ieee_addr | ||
) |
void handle_discovery_frm_conf_cb | ( | void | ) |
void handle_rx_duty_cycle | ( | void | ) |
void incoming_discovery_response | ( | uint8_t * | msg_buf | ) |
void incoming_pair_response | ( | uint8_t * | msg_buf | ) |
void incoming_ping_response | ( | uint8_t * | msg_buf | ) |
void incoming_seed_msg | ( | uint8_t * | msg_buf | ) |
void incoming_unpair_request | ( | uint8_t * | msg_buf | ) |
bool is_pairing_table_full | ( | void | ) |
void issue_nlme_reset_conf | ( | uint8_t | status | ) |
void issue_pair_confirm | ( | nwk_enum_t | status | ) |
void issue_start_conf | ( | uint8_t | status | ) |
void mcps_data_conf_cb | ( | uint8_t * | msg | ) |
void mcps_data_ind_cb | ( | uint8_t * | msg | ) |
void mlme_reset_conf_cb | ( | uint8_t * | msg | ) |
void mlme_rx_enable_conf_cb | ( | uint8_t * | msg | ) |
void nlde_data_confirm_intern | ( | uint8_t * | msg | ) |
void nlde_data_indication_intern | ( | uint8_t * | msg_buf | ) |
void nlde_data_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_comm_status_indication_intern | ( | uint8_t * | msg_buf | ) |
void nlme_discovery_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_discovery_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_get_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_get_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_pair_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_pair_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_reset_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_reset_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_rx_enable_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_rx_enable_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_set_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_set_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_start_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_start_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_unpair_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_unpair_indication_intern | ( | uint8_t * | msg_buf | ) |
void nlme_unpair_request_intern | ( | uint8_t * | msg_buf | ) |
void nlme_unpair_response_intern | ( | uint8_t * | msg_buf | ) |
void nlme_update_key_confirm_intern | ( | uint8_t * | msg_buf | ) |
void nlme_update_key_request_intern | ( | uint8_t * | msg_buf | ) |
void nwk_dispatch_event | ( | uint8_t * | event | ) |
void pair_req_mcps_data_conf_cb | ( | uint8_t * | msg_buf | ) |
void ping_req_mcps_data_conf_cb | ( | uint8_t * | msg_buf | ) |
void read_nib | ( | void | ) |
void remove_pairing_entry | ( | uint8_t | entry | ) |
void send_ping_request | ( | void | ) |
bool start_waiting_for_seeding | ( | void | ) |
void store_nib | ( | void | ) |
void unpair_req_mcps_data_conf_cb | ( | uint8_t * | msg_buf | ) |
uint8_t Base_Channel |
uint8_t Channel_Offset |
network_timer_t network_timer |
queue_t nhle_nwk_q |
nib_t nib |
queue_t nwk_nhle_q |
__PACK__RST_DATA__ nwk_state_t nwk_state |
nwk_var_t nwk_var |
phy_layer_attrib_t phy_layer_attrib |