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 triggerType:4 | |
The type of trigger. More... | |
uint8_t bEnaCmd:1 | |
0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
uint8_t triggerNo:2 | |
The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
uint8_t pastTrig:1 | |
0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
} | endTrigger |
Trigger that causes the device to end the connection event as soon as allowed. More... | |
ratmr_t | endTime |
Time used together with endTrigger that causes the device to end the connection event as soon as allowed. More... | |
uint8_t | maxRxPktLen |
Maximum packet length currently allowed for received packets on the connection. More... | |
uint8_t | maxLenLowRate |
Maximum packet length for which using S = 8 (125 kbps) is allowed when transmitting. 0: no limit. 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 triggerType:4 | |
The type of trigger. More... | |
uint8_t bEnaCmd:1 | |
0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
uint8_t triggerNo:2 | |
The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
uint8_t pastTrig:1 | |
0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
} | endTrigger |
Trigger that causes the device to end the connection event as soon as allowed. 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 triggerType:4 | |
The type of trigger. More... | |
uint8_t bEnaCmd:1 | |
0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
uint8_t triggerNo:2 | |
The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
uint8_t pastTrig:1 | |
0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
} | endTrigger |
Trigger that causes the device to end the connection event as soon as allowed. More... | |
dataQueue_t * rfc_ble5MasterPar_s::pRxQ |
Pointer to receive queue.
dataQueue_t * rfc_ble5MasterPar_s::pTxQ |
Pointer to transmit queue.
uint8_t rfc_ble5MasterPar_s::bAutoFlushIgnored |
If 1, automatically remove ignored packets from Rx queue.
uint8_t rfc_ble5MasterPar_s::bAutoFlushCrcErr |
If 1, automatically remove packets with CRC error from Rx queue.
uint8_t rfc_ble5MasterPar_s::bAutoFlushEmpty |
If 1, automatically remove empty packets from Rx queue.
uint8_t rfc_ble5MasterPar_s::bIncludeLenByte |
If 1, include the received length byte in the stored packet; otherwise discard it.
uint8_t rfc_ble5MasterPar_s::bIncludeCrc |
If 1, include the received CRC field in the stored packet; otherwise discard it.
uint8_t rfc_ble5MasterPar_s::bAppendRssi |
If 1, append an RSSI byte to the packet in the Rx queue.
uint8_t rfc_ble5MasterPar_s::bAppendStatus |
If 1, append a status word to the packet in the Rx queue.
uint8_t rfc_ble5MasterPar_s::bAppendTimestamp |
If 1, append a timestamp to the packet in the Rx queue.
struct { ... } rfc_ble5MasterPar_s::rxConfig |
Configuration bits for the receive queue entries.
uint8_t rfc_ble5MasterPar_s::lastRxSn |
The SN bit of the header of the last packet received with CRC OK.
uint8_t rfc_ble5MasterPar_s::lastTxSn |
The SN bit of the header of the last transmitted packet.
uint8_t rfc_ble5MasterPar_s::nextTxSn |
The SN bit of the header of the next packet to transmit.
uint8_t rfc_ble5MasterPar_s::bFirstPkt |
For slave: 0 if a packet has been transmitted on the connection, 1 otherwise.
uint8_t rfc_ble5MasterPar_s::bAutoEmpty |
1 if the last transmitted packet was an auto-empty packet
uint8_t rfc_ble5MasterPar_s::bLlCtrlTx |
1 if the last transmitted packet was an LL control packet (LLID = 11)
uint8_t rfc_ble5MasterPar_s::bLlCtrlAckRx |
1 if the last received packet was the ACK of an LL control packet
uint8_t rfc_ble5MasterPar_s::bLlCtrlAckPending |
1 if the last successfully received packet was an LL control packet which has not yet been ACK'ed
struct { ... } rfc_ble5MasterPar_s::seqStat |
Sequence number status.
uint8_t rfc_ble5MasterPar_s::maxNack |
Maximum number of NACKs received before operation ends. 0: No limit.
uint8_t rfc_ble5MasterPar_s::maxPkt |
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
uint32_t rfc_ble5MasterPar_s::accessAddress |
Access address used on the connection.
uint8_t rfc_ble5MasterPar_s::crcInit0 |
CRC initialization value used on the connection – least significant byte.
uint8_t rfc_ble5MasterPar_s::crcInit1 |
CRC initialization value used on the connection – middle byte.
uint8_t rfc_ble5MasterPar_s::crcInit2 |
CRC initialization value used on the connection – most significant byte.
uint8_t rfc_ble5MasterPar_s::triggerType |
The type of trigger.
uint8_t rfc_ble5MasterPar_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_ble5MasterPar_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
uint8_t rfc_ble5MasterPar_s::pastTrig |
0: A trigger in the past is never triggered, or for start of commands, give an error
1: A trigger in the past is triggered as soon as possible
struct { ... } rfc_ble5MasterPar_s::endTrigger |
Trigger that causes the device to end the connection event as soon as allowed.
ratmr_t rfc_ble5MasterPar_s::endTime |
Time used together with endTrigger
that causes the device to end the connection event as soon as allowed.
uint8_t rfc_ble5MasterPar_s::maxRxPktLen |
Maximum packet length currently allowed for received packets on the connection.
uint8_t rfc_ble5MasterPar_s::maxLenLowRate |
Maximum packet length for which using S = 8 (125 kbps) is allowed when transmitting. 0: no limit.
struct { ... } rfc_ble5MasterPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_ble5MasterPar_s::seqStat |
Sequence number status.
struct { ... } rfc_ble5MasterPar_s::endTrigger |
Trigger that causes the device to end the connection event as soon as allowed.
struct { ... } rfc_ble5MasterPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_ble5MasterPar_s::seqStat |
Sequence number status.
struct { ... } rfc_ble5MasterPar_s::endTrigger |
Trigger that causes the device to end the connection event as soon as allowed.