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 | APDU_MAX_SIZE 102 |
#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 184 of file dsap_frames.h.
Data Fields | ||
---|---|---|
pduid_t | apdu_id | |
uint8_t | buff_cap | |
uint8_t | result |
union frame_dsap |
Definition at line 191 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 APDU_MAX_SIZE 102 |
Maximum size of transmittable data APDU via WAPS/DSAP interface
Definition at line 53 of file dsap_frames.h.
#define DSAP_FRAG_LAST_FLAG_MASK 0x8000 |
Definition at line 127 of file dsap_frames.h.
#define DSAP_FRAG_LENGTH_MASK 0x0fff |
Definition at line 124 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 166 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 143 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 106 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 69 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 87 of file dsap_frames.h.
#define RX_IND_INFO_HOPCOUNT_MASK 0xfc |
Definition at line 116 of file dsap_frames.h.
#define RX_IND_INFO_HOPCOUNT_OFFSET 2 |
Definition at line 117 of file dsap_frames.h.
#define RX_IND_INFO_MAX_HOPCOUNT (RX_IND_INFO_HOPCOUNT_MASK >> RX_IND_INFO_HOPCOUNT_OFFSET) |
Definition at line 118 of file dsap_frames.h.
#define RX_IND_INFO_QOS_MASK 0x3 |
Definition at line 113 of file dsap_frames.h.
#define RX_IND_INFO_QOS_OFFSET 0 |
Definition at line 114 of file dsap_frames.h.
#define TX_OPTS_HOPLIMIT_OFFSET 2 |
Definition at line 42 of file dsap_frames.h.