rflib
|
#include <rf_ble_cmd.h>
Data Fields | |
dataQueue_t * | pRxQ |
Pointer to receive queue. More... | |
dataQueue_t * | pTxQ |
Pointer to transmit queue. More... | |
struct { | |
uint8_t bAutoFlushIgnored:1 | |
If 1, automatically remove ignored packets from Rx queue. More... | |
uint8_t bAutoFlushCrcErr:1 | |
If 1, automatically remove packets with CRC error from Rx queue. More... | |
uint8_t bAutoFlushEmpty:1 | |
If 1, automatically remove empty packets from Rx queue. More... | |
uint8_t bIncludeLenByte:1 | |
If 1, include the received length byte in the stored packet; otherwise discard it. More... | |
uint8_t bIncludeCrc:1 | |
If 1, include the received CRC field in the stored packet; otherwise discard it. More... | |
uint8_t bAppendRssi:1 | |
If 1, append an RSSI byte to the packet in the Rx queue. More... | |
uint8_t bAppendStatus:1 | |
If 1, append a status word to the packet in the Rx queue. More... | |
uint8_t bAppendTimestamp:1 | |
If 1, append a timestamp to the packet in the Rx queue. More... | |
} | rxConfig |
Configuration bits for the receive queue entries. More... | |
struct { | |
uint8_t lastRxSn:1 | |
The SN bit of the header of the last packet received with CRC OK. More... | |
uint8_t lastTxSn:1 | |
The SN bit of the header of the last transmitted packet. More... | |
uint8_t nextTxSn:1 | |
The SN bit of the header of the next packet to transmit. More... | |
uint8_t bFirstPkt:1 | |
For slave: 0 if a packet has been transmitted on the connection, 1 otherwise. More... | |
uint8_t bAutoEmpty:1 | |
1 if the last transmitted packet was an auto-empty packet More... | |
uint8_t bLlCtrlTx:1 | |
1 if the last transmitted packet was an LL control packet (LLID = 11) More... | |
uint8_t bLlCtrlAckRx:1 | |
1 if the last received packet was the ACK of an LL control packet More... | |
uint8_t bLlCtrlAckPending:1 | |
1 if the last successfully received packet was an LL control packet which has not yet been ACK'ed More... | |
} | seqStat |
Sequence number status. More... | |
uint8_t | maxNack |
Maximum number of NACKs received before operation ends. 0: No limit. More... | |
uint8_t | maxPkt |
Maximum number of packets transmitted in the operation before it ends. 0: No limit. More... | |
uint32_t | accessAddress |
Access address used on the connection. More... | |
uint8_t | crcInit0 |
CRC initialization value used on the connection – least significant byte. More... | |
uint8_t | crcInit1 |
CRC initialization value used on the connection – middle byte. More... | |
uint8_t | crcInit2 |
CRC initialization value used on the connection – most significant byte. More... | |
struct { | |
uint8_t bAutoFlushIgnored:1 | |
If 1, automatically remove ignored packets from Rx queue. More... | |
uint8_t bAutoFlushCrcErr:1 | |
If 1, automatically remove packets with CRC error from Rx queue. More... | |
uint8_t bAutoFlushEmpty:1 | |
If 1, automatically remove empty packets from Rx queue. More... | |
uint8_t bIncludeLenByte:1 | |
If 1, include the received length byte in the stored packet; otherwise discard it. More... | |
uint8_t bIncludeCrc:1 | |
If 1, include the received CRC field in the stored packet; otherwise discard it. More... | |
uint8_t bAppendRssi:1 | |
If 1, append an RSSI byte to the packet in the Rx queue. More... | |
uint8_t bAppendStatus:1 | |
If 1, append a status word to the packet in the Rx queue. More... | |
uint8_t bAppendTimestamp:1 | |
If 1, append a timestamp to the packet in the Rx queue. More... | |
} | rxConfig |
Configuration bits for the receive queue entries. More... | |
struct { | |
uint8_t lastRxSn:1 | |
The SN bit of the header of the last packet received with CRC OK. More... | |
uint8_t lastTxSn:1 | |
The SN bit of the header of the last transmitted packet. More... | |
uint8_t nextTxSn:1 | |
The SN bit of the header of the next packet to transmit. More... | |
uint8_t bFirstPkt:1 | |
For slave: 0 if a packet has been transmitted on the connection, 1 otherwise. More... | |
uint8_t bAutoEmpty:1 | |
1 if the last transmitted packet was an auto-empty packet More... | |
uint8_t bLlCtrlTx:1 | |
1 if the last transmitted packet was an LL control packet (LLID = 11) More... | |
uint8_t bLlCtrlAckRx:1 | |
1 if the last received packet was the ACK of an LL control packet More... | |
uint8_t bLlCtrlAckPending:1 | |
1 if the last successfully received packet was an LL control packet which has not yet been ACK'ed More... | |
} | seqStat |
Sequence number status. More... | |
struct { | |
uint8_t bAutoFlushIgnored:1 | |
If 1, automatically remove ignored packets from Rx queue. More... | |
uint8_t bAutoFlushCrcErr:1 | |
If 1, automatically remove packets with CRC error from Rx queue. More... | |
uint8_t bAutoFlushEmpty:1 | |
If 1, automatically remove empty packets from Rx queue. More... | |
uint8_t bIncludeLenByte:1 | |
If 1, include the received length byte in the stored packet; otherwise discard it. More... | |
uint8_t bIncludeCrc:1 | |
If 1, include the received CRC field in the stored packet; otherwise discard it. More... | |
uint8_t bAppendRssi:1 | |
If 1, append an RSSI byte to the packet in the Rx queue. More... | |
uint8_t bAppendStatus:1 | |
If 1, append a status word to the packet in the Rx queue. More... | |
uint8_t bAppendTimestamp:1 | |
If 1, append a timestamp to the packet in the Rx queue. More... | |
} | rxConfig |
Configuration bits for the receive queue entries. More... | |
struct { | |
uint8_t lastRxSn:1 | |
The SN bit of the header of the last packet received with CRC OK. More... | |
uint8_t lastTxSn:1 | |
The SN bit of the header of the last transmitted packet. More... | |
uint8_t nextTxSn:1 | |
The SN bit of the header of the next packet to transmit. More... | |
uint8_t bFirstPkt:1 | |
For slave: 0 if a packet has been transmitted on the connection, 1 otherwise. More... | |
uint8_t bAutoEmpty:1 | |
1 if the last transmitted packet was an auto-empty packet More... | |
uint8_t bLlCtrlTx:1 | |
1 if the last transmitted packet was an LL control packet (LLID = 11) More... | |
uint8_t bLlCtrlAckRx:1 | |
1 if the last received packet was the ACK of an LL control packet More... | |
uint8_t bLlCtrlAckPending:1 | |
1 if the last successfully received packet was an LL control packet which has not yet been ACK'ed More... | |
} | seqStat |
Sequence number status. More... | |
dataQueue_t * rfc_bleMasterSlavePar_s::pRxQ |
Pointer to receive queue.
dataQueue_t * rfc_bleMasterSlavePar_s::pTxQ |
Pointer to transmit queue.
uint8_t rfc_bleMasterSlavePar_s::bAutoFlushIgnored |
If 1, automatically remove ignored packets from Rx queue.
uint8_t rfc_bleMasterSlavePar_s::bAutoFlushCrcErr |
If 1, automatically remove packets with CRC error from Rx queue.
uint8_t rfc_bleMasterSlavePar_s::bAutoFlushEmpty |
If 1, automatically remove empty packets from Rx queue.
uint8_t rfc_bleMasterSlavePar_s::bIncludeLenByte |
If 1, include the received length byte in the stored packet; otherwise discard it.
uint8_t rfc_bleMasterSlavePar_s::bIncludeCrc |
If 1, include the received CRC field in the stored packet; otherwise discard it.
uint8_t rfc_bleMasterSlavePar_s::bAppendRssi |
If 1, append an RSSI byte to the packet in the Rx queue.
uint8_t rfc_bleMasterSlavePar_s::bAppendStatus |
If 1, append a status word to the packet in the Rx queue.
uint8_t rfc_bleMasterSlavePar_s::bAppendTimestamp |
If 1, append a timestamp to the packet in the Rx queue.
struct { ... } rfc_bleMasterSlavePar_s::rxConfig |
Configuration bits for the receive queue entries.
uint8_t rfc_bleMasterSlavePar_s::lastRxSn |
The SN bit of the header of the last packet received with CRC OK.
uint8_t rfc_bleMasterSlavePar_s::lastTxSn |
The SN bit of the header of the last transmitted packet.
uint8_t rfc_bleMasterSlavePar_s::nextTxSn |
The SN bit of the header of the next packet to transmit.
uint8_t rfc_bleMasterSlavePar_s::bFirstPkt |
For slave: 0 if a packet has been transmitted on the connection, 1 otherwise.
uint8_t rfc_bleMasterSlavePar_s::bAutoEmpty |
1 if the last transmitted packet was an auto-empty packet
uint8_t rfc_bleMasterSlavePar_s::bLlCtrlTx |
1 if the last transmitted packet was an LL control packet (LLID = 11)
uint8_t rfc_bleMasterSlavePar_s::bLlCtrlAckRx |
1 if the last received packet was the ACK of an LL control packet
uint8_t rfc_bleMasterSlavePar_s::bLlCtrlAckPending |
1 if the last successfully received packet was an LL control packet which has not yet been ACK'ed
struct { ... } rfc_bleMasterSlavePar_s::seqStat |
Sequence number status.
uint8_t rfc_bleMasterSlavePar_s::maxNack |
Maximum number of NACKs received before operation ends. 0: No limit.
uint8_t rfc_bleMasterSlavePar_s::maxPkt |
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
uint32_t rfc_bleMasterSlavePar_s::accessAddress |
Access address used on the connection.
uint8_t rfc_bleMasterSlavePar_s::crcInit0 |
CRC initialization value used on the connection – least significant byte.
uint8_t rfc_bleMasterSlavePar_s::crcInit1 |
CRC initialization value used on the connection – middle byte.
uint8_t rfc_bleMasterSlavePar_s::crcInit2 |
CRC initialization value used on the connection – most significant byte.
struct { ... } rfc_bleMasterSlavePar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_bleMasterSlavePar_s::seqStat |
Sequence number status.
struct { ... } rfc_bleMasterSlavePar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_bleMasterSlavePar_s::seqStat |
Sequence number status.