Interpan#
API and Callbacks for the Interpan Component.
A component used to handle sending and receiving inter-PAN messages, which are messages that are sent by unjoined devices 1-hop away.
Modules#
Enumerations#
enum
IPMF_SUCCESS = 0
IPMF_TX_TIMEOUT
IPMF_RX_TIMEOUT
IPMF_TX_BAD_RESPONSE
IPMF_RX_BAD_RESPONSE
}
Macros#
#define
#define
#define
STUB_NWK_FRAME_CONTROL 0x000B
#define
#define
#define
#define
MAX_STUB_APS_SIZE (INTERPAN_APS_MULTICAST_SIZE)
#define
MIN_STUB_APS_SIZE (INTERPAN_APS_UNICAST_SIZE)
#define
INTERPAN_UNICAST_HEADER_SIZE (MAX_INTER_PAN_MAC_SIZE + STUB_NWK_SIZE + INTERPAN_APS_UNICAST_SIZE)
#define
INTERPAN_MULTICAST_HEADER_SIZE (MAX_INTER_PAN_MAC_SIZE + STUB_NWK_SIZE + INTERPAN_APS_MULTICAST_SIZE)
#define
MAX_INTER_PAN_HEADER_SIZE (INTERPAN_MULTICAST_HEADER_SIZE)
#define
#define
#define
INTERPAN_APS_FRAME_CONTROL_NO_DELIVERY_MODE (INTERPAN_APS_FRAME_TYPE)
#define
#define
#define
INTERPAN_APS_ENCRYPTION_OVERHEAD (5 + 4)
#define
SL_ZIGBEE_APS_INTERPAN_FRAGMENT_MIN_LEN SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_RESPONSE_LEN
#define
#define
#define
#define
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_BUFFER_SIZE (SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_PAYLOAD_SIZE + INTERPAN_UNICAST_HEADER_SIZE)
Enumeration Documentation#
sli_zigbee_e_interpan_fragmentation_status_t#
sli_zigbee_e_interpan_fragmentation_status_t
Enumerator | |
---|---|
IPMF_SUCCESS | |
IPMF_TX_TIMEOUT | |
IPMF_RX_TIMEOUT | |
IPMF_TX_BAD_RESPONSE | |
IPMF_RX_BAD_RESPONSE |
Definition at line
231
of file app/framework/plugin/interpan/interpan.h
Macro Definition Documentation#
MAX_INTER_PAN_MAC_SIZE#
#define MAX_INTER_PAN_MAC_SIZEValue:
23
Definition at line
69
of file app/framework/plugin/interpan/interpan.h
STUB_NWK_SIZE#
#define STUB_NWK_SIZEValue:
2
Definition at line
72
of file app/framework/plugin/interpan/interpan.h
STUB_NWK_FRAME_CONTROL#
#define STUB_NWK_FRAME_CONTROLValue:
0x000B
Definition at line
73
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_UNICAST_SIZE#
#define INTERPAN_APS_UNICAST_SIZEValue:
5
Definition at line
79
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_BROADCAST_SIZE#
#define INTERPAN_APS_BROADCAST_SIZEValue:
5
Definition at line
82
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_MULTICAST_SIZE#
#define INTERPAN_APS_MULTICAST_SIZEValue:
7
Definition at line
89
of file app/framework/plugin/interpan/interpan.h
MAX_STUB_APS_SIZE#
#define MAX_STUB_APS_SIZEValue:
(INTERPAN_APS_MULTICAST_SIZE)
Definition at line
91
of file app/framework/plugin/interpan/interpan.h
MIN_STUB_APS_SIZE#
#define MIN_STUB_APS_SIZEValue:
(INTERPAN_APS_UNICAST_SIZE)
Definition at line
92
of file app/framework/plugin/interpan/interpan.h
INTERPAN_UNICAST_HEADER_SIZE#
#define INTERPAN_UNICAST_HEADER_SIZEValue:
(MAX_INTER_PAN_MAC_SIZE + STUB_NWK_SIZE + INTERPAN_APS_UNICAST_SIZE)
Definition at line
94
of file app/framework/plugin/interpan/interpan.h
INTERPAN_MULTICAST_HEADER_SIZE#
#define INTERPAN_MULTICAST_HEADER_SIZEValue:
(MAX_INTER_PAN_MAC_SIZE + STUB_NWK_SIZE + INTERPAN_APS_MULTICAST_SIZE)
Definition at line
97
of file app/framework/plugin/interpan/interpan.h
MAX_INTER_PAN_HEADER_SIZE#
#define MAX_INTER_PAN_HEADER_SIZEValue:
(INTERPAN_MULTICAST_HEADER_SIZE)
Definition at line
100
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_FRAME_TYPE#
#define INTERPAN_APS_FRAME_TYPEValue:
0x03
Definition at line
102
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_FRAME_TYPE_MASK#
#define INTERPAN_APS_FRAME_TYPE_MASKValue:
0x03
Definition at line
103
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_FRAME_CONTROL_NO_DELIVERY_MODE#
#define INTERPAN_APS_FRAME_CONTROL_NO_DELIVERY_MODEValue:
(INTERPAN_APS_FRAME_TYPE)
Definition at line
106
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_FRAME_DELIVERY_MODE_MASK#
#define INTERPAN_APS_FRAME_DELIVERY_MODE_MASKValue:
0x0C
Definition at line
108
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_FRAME_SECURITY#
#define INTERPAN_APS_FRAME_SECURITYValue:
0x20
Definition at line
109
of file app/framework/plugin/interpan/interpan.h
INTERPAN_APS_ENCRYPTION_OVERHEAD#
#define INTERPAN_APS_ENCRYPTION_OVERHEADValue:
(5 + 4)
Definition at line
112
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_OVERHEAD#
#define SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_OVERHEADValue:
4
Definition at line
115
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_RESPONSE_LEN#
#define SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_RESPONSE_LENValue:
3
Definition at line
117
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_APS_INTERPAN_FRAGMENT_MIN_LEN#
#define SL_ZIGBEE_APS_INTERPAN_FRAGMENT_MIN_LENValue:
SL_ZIGBEE_APS_INTERPAN_FRAGMENTATION_RESPONSE_LEN
Definition at line
118
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_INDEX#
#define INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_INDEXValue:
0
Definition at line
121
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_INDEX_IPMF_INDEX#
#define INTERPAN_FRAGMENTATION_APS_INDEX_IPMF_INDEXValue:
1
Definition at line
122
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_IPMF_RESPONSE_INDEX#
#define INTERPAN_FRAGMENTATION_APS_IPMF_RESPONSE_INDEXValue:
2
Definition at line
123
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_LEN_IPMF_INDEX#
#define INTERPAN_FRAGMENTATION_APS_LEN_IPMF_INDEXValue:
3
Definition at line
124
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_IPMF_VAL#
#define INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_IPMF_VALValue:
0x00
Definition at line
125
of file app/framework/plugin/interpan/interpan.h
INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_IPMF_RESPONSE_VAL#
#define INTERPAN_FRAGMENTATION_APS_CONTROL_BYTE_IPMF_RESPONSE_VALValue:
0x80
Definition at line
126
of file app/framework/plugin/interpan/interpan.h
INTERPAN_IPMF_RESPONSE_SUCCESS#
#define INTERPAN_IPMF_RESPONSE_SUCCESSValue:
0x00
Definition at line
128
of file app/framework/plugin/interpan/interpan.h
INTERPAN_IPMF_RESPONSE_FAILURE#
#define INTERPAN_IPMF_RESPONSE_FAILUREValue:
0x01
Definition at line
129
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_PAYLOAD_SIZE#
#define SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_PAYLOAD_SIZEValue:
1500
Definition at line
131
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_INCOMING_PACKETS#
#define SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_INCOMING_PACKETSValue:
1
Definition at line
137
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_OUTGOING_PACKETS#
#define SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_OUTGOING_PACKETSValue:
1
Definition at line
138
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_BUFFER_SIZE#
#define SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_BUFFER_SIZEValue:
(SL_ZIGBEE_AF_PLUGIN_INTERPAN_FRAGMENTATION_MAX_PAYLOAD_SIZE + INTERPAN_UNICAST_HEADER_SIZE)
Definition at line
139
of file app/framework/plugin/interpan/interpan.h
SL_ZIGBEE_AF_PLUGIN_INTERPAN_FILTER_LIST#
#define SL_ZIGBEE_AF_PLUGIN_INTERPAN_FILTER_LIST
Definition at line
142
of file app/framework/plugin/interpan/interpan.h