Wirepas SDK
|
Go to the source code of this file.
Data Structures | |
struct | dsap_data_tx_req_t |
struct | dsap_data_tx_tt_req_t |
struct | dsap_data_tx_frag_req_t |
struct | dsap_data_rx_ind_t |
struct | dsap_data_rx_frag_ind_t |
struct | dsap_data_tx_ind_t |
struct | dsap_data_tx_cnf_t |
union | frame_dsap |
Enumerations | |
enum | dsap_tx_result_e { DSAP_TX_SUCCESS = 0, DSAP_TX_STACK_STOPPED = 1, DSAP_TX_INV_QOS_PARAM = 2, DSAP_TX_INV_OPTS_PARAM = 3, DSAP_TX_OUT_OF_MEMORY = 4, DSAP_TX_UNKNOWN_DST = 5, DSAP_TX_INV_LEN = 6, DSAP_TX_IND_FULL = 7, DSAP_TX_INV_PDU_ID = 8, DSAP_TX_RESV_EP = 9, DSAP_TX_ACCESS_DENIED = 10 } |
enum | dsap_indication_e { DSAP_IND_SUCCESS = 0, DSAP_IND_TIMEOUT = 1 } |
enum | dsap_tx_options_e { TX_OPTS_NO_IND_REQ = 0, TX_OPTS_IND_REQ = 1, TX_OPTS_UNACK_CSMA_CA = 2, TX_OPTS_HOPLIMIT_MASK = 0x3c } |
enum | dsap_qos_e { DSAP_QOS_NORMAL = 0, DSAP_QOS_HIGH = 1, DSAP_QOS_UNACKED = 2 } |
Macros | |
#define | TX_OPTS_HOPLIMIT_OFFSET 2 |
#define | FRAME_DSAP_DATA_TX_REQ_HEADER_SIZE (sizeof(dsap_data_tx_req_t) - APDU_MAX_SIZE) |
#define | FRAME_DSAP_DATA_TX_TT_REQ_HEADER_SIZE (sizeof(dsap_data_tx_tt_req_t) - APDU_MAX_SIZE) |
#define | FRAME_DSAP_DATA_TX_FRAG_REQ_HEADER_SIZE (sizeof(dsap_data_tx_frag_req_t) - APDU_MAX_SIZE) |
#define | RX_IND_INFO_QOS_MASK 0x3 |
#define | RX_IND_INFO_QOS_OFFSET 0 |
#define | RX_IND_INFO_HOPCOUNT_MASK 0xfc |
#define | RX_IND_INFO_HOPCOUNT_OFFSET 2 |
#define | RX_IND_INFO_MAX_HOPCOUNT (RX_IND_INFO_HOPCOUNT_MASK >> RX_IND_INFO_HOPCOUNT_OFFSET) |
#define | DSAP_FRAG_LENGTH_MASK 0x0fff |
#define | DSAP_FRAG_LAST_FLAG_MASK 0x8000 |
#define | FRAME_DSAP_DATA_RX_IND_HEADER_SIZE (sizeof(dsap_data_rx_ind_t) - APDU_MAX_SIZE) |
#define | FRAME_DSAP_DATA_RX_FRAG_IND_HEADER_SIZE (sizeof(dsap_data_rx_frag_ind_t) - APDU_MAX_SIZE) |
struct dsap_data_tx_req_t |
struct dsap_data_tx_tt_req_t |
struct dsap_data_tx_frag_req_t |
struct dsap_data_rx_ind_t |
struct dsap_data_rx_frag_ind_t |
struct dsap_data_tx_ind_t |
struct dsap_data_tx_cnf_t |
Definition at line 181 of file dsap_frames.h.
Data Fields | ||
---|---|---|
pduid_t | apdu_id | |
uint8_t | buff_cap | |
uint8_t | result |
union frame_dsap |
Definition at line 188 of file dsap_frames.h.
Data Fields | ||
---|---|---|
dsap_data_rx_frag_ind_t | data_rx_frag_ind | |
dsap_data_rx_ind_t | data_rx_ind | |
dsap_data_tx_cnf_t | data_tx_cnf | |
dsap_data_tx_frag_req_t | data_tx_frag_req | |
dsap_data_tx_ind_t | data_tx_ind | |
dsap_data_tx_req_t | data_tx_req | |
dsap_data_tx_tt_req_t | data_tx_tt_req |
enum dsap_indication_e |
Enumerator | |
---|---|
DSAP_IND_SUCCESS | |
DSAP_IND_TIMEOUT |
Definition at line 26 of file dsap_frames.h.
enum dsap_qos_e |
QOS classes of WAPS_DSAP_DATA.request
Enumerator | |
---|---|
DSAP_QOS_NORMAL | Normal priority packet |
DSAP_QOS_HIGH | High priority packet |
DSAP_QOS_UNACKED | Unacknowledged packet |
Definition at line 45 of file dsap_frames.h.
enum dsap_tx_options_e |
TX options of WAPS_DSAP_DATA.request
Enumerator | |
---|---|
TX_OPTS_NO_IND_REQ | |
TX_OPTS_IND_REQ | No indication req when pkt sent |
TX_OPTS_UNACK_CSMA_CA | Indication req |
TX_OPTS_HOPLIMIT_MASK | Unack CSMA-CA packet |
Definition at line 33 of file dsap_frames.h.
enum dsap_tx_result_e |
Result of transmitted packet
Definition at line 11 of file dsap_frames.h.
#define DSAP_FRAG_LAST_FLAG_MASK 0x8000 |
Definition at line 124 of file dsap_frames.h.
#define DSAP_FRAG_LENGTH_MASK 0x0fff |
Definition at line 121 of file dsap_frames.h.
#define FRAME_DSAP_DATA_RX_FRAG_IND_HEADER_SIZE (sizeof(dsap_data_rx_frag_ind_t) - APDU_MAX_SIZE) |
Definition at line 163 of file dsap_frames.h.
#define FRAME_DSAP_DATA_RX_IND_HEADER_SIZE (sizeof(dsap_data_rx_ind_t) - APDU_MAX_SIZE) |
Definition at line 140 of file dsap_frames.h.
#define FRAME_DSAP_DATA_TX_FRAG_REQ_HEADER_SIZE (sizeof(dsap_data_tx_frag_req_t) - APDU_MAX_SIZE) |
Definition at line 103 of file dsap_frames.h.
#define FRAME_DSAP_DATA_TX_REQ_HEADER_SIZE (sizeof(dsap_data_tx_req_t) - APDU_MAX_SIZE) |
Definition at line 66 of file dsap_frames.h.
#define FRAME_DSAP_DATA_TX_TT_REQ_HEADER_SIZE (sizeof(dsap_data_tx_tt_req_t) - APDU_MAX_SIZE) |
Definition at line 84 of file dsap_frames.h.
#define RX_IND_INFO_HOPCOUNT_MASK 0xfc |
Definition at line 113 of file dsap_frames.h.
#define RX_IND_INFO_HOPCOUNT_OFFSET 2 |
Definition at line 114 of file dsap_frames.h.
#define RX_IND_INFO_MAX_HOPCOUNT (RX_IND_INFO_HOPCOUNT_MASK >> RX_IND_INFO_HOPCOUNT_OFFSET) |
Definition at line 115 of file dsap_frames.h.
#define RX_IND_INFO_QOS_MASK 0x3 |
Definition at line 110 of file dsap_frames.h.
#define RX_IND_INFO_QOS_OFFSET 0 |
Definition at line 111 of file dsap_frames.h.
#define TX_OPTS_HOPLIMIT_OFFSET 2 |
Definition at line 42 of file dsap_frames.h.