rflib
|
#include <rf_ble_cmd.h>
Data Fields | |
dataQueue_t * | pRxQ |
Pointer to receive 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 bUseWhiteList:1 | |
Initiator filter policy 0: Use specific peer address 1: Use white list. More... | |
uint8_t bDynamicWinOffset:1 | |
0: No dynamic WinOffset insertion 1: Use dynamic WinOffset insertion More... | |
uint8_t deviceAddrType:1 | |
The type of the device address – public (0) or random (1) More... | |
uint8_t peerAddrType:1 | |
The type of the peer address – public (0) or random (1) More... | |
uint8_t bStrictLenFilter:1 | |
0: Accept any packet with a valid advertising packet length 1: Discard messages with illegal length for the given packet type More... | |
uint8_t chSel:1 | |
0: Do not report support of Channel Selection Algorithm #2 1: Report support of Channel Selection Algorithm #2 More... | |
} | initConfig |
uint8_t | __dummy0 |
uint8_t | connectReqLen |
Size of connect request data. More... | |
uint8_t * | pConnectReqData |
Pointer to buffer containing LLData to go in the CONNECT_IND (CONNECT_REQ) More... | |
uint16_t * | pDeviceAddress |
Pointer (with least significant bit set to 0) to device address used for this device. If least significant bit is 1, the address type given by initConfig.deviceAddrType is inverted. More... | |
rfc_bleWhiteListEntry_t * | pWhiteList |
Pointer (with least significant bit set to 0) to white list or peer address. If least significant bit is 1, the address type given by initConfig.peerAddrType is inverted. More... | |
ratmr_t | connectTime |
Indication of timer value of the first possible start time of the first connection event. Set to the calculated value if a connection is made and to the next possible connection time if not. More... | |
uint16_t | __dummy1 |
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... | |
} | timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed. 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 stop receiving as soon as allowed. More... | |
ratmr_t | timeoutTime |
Time used together with timeoutTrigger that causes the device to stop receiving as soon as allowed, ending with BLE_DONE_RXTIMEOUT. More... | |
ratmr_t | endTime |
Time used together with endTrigger that causes the device to stop receiving as soon as allowed, ending with BLE_DONE_ENDED. 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 bUseWhiteList:1 | |
Initiator filter policy 0: Use specific peer address 1: Use white list. More... | |
uint8_t bDynamicWinOffset:1 | |
0: No dynamic WinOffset insertion 1: Use dynamic WinOffset insertion More... | |
uint8_t deviceAddrType:1 | |
The type of the device address – public (0) or random (1) More... | |
uint8_t peerAddrType:1 | |
The type of the peer address – public (0) or random (1) More... | |
uint8_t bStrictLenFilter:1 | |
0: Accept any packet with a valid advertising packet length 1: Discard messages with illegal length for the given packet type More... | |
uint8_t chSel:1 | |
0: Do not report support of Channel Selection Algorithm #2 1: Report support of Channel Selection Algorithm #2 More... | |
} | initConfig |
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... | |
} | timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed. 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 stop receiving 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 bUseWhiteList:1 | |
Initiator filter policy 0: Use specific peer address 1: Use white list. More... | |
uint8_t bDynamicWinOffset:1 | |
0: No dynamic WinOffset insertion 1: Use dynamic WinOffset insertion More... | |
uint8_t deviceAddrType:1 | |
The type of the device address – public (0) or random (1) More... | |
uint8_t peerAddrType:1 | |
The type of the peer address – public (0) or random (1) More... | |
uint8_t bStrictLenFilter:1 | |
0: Accept any packet with a valid advertising packet length 1: Discard messages with illegal length for the given packet type More... | |
uint8_t chSel:1 | |
0: Do not report support of Channel Selection Algorithm #2 1: Report support of Channel Selection Algorithm #2 More... | |
} | initConfig |
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... | |
} | timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed. 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 stop receiving as soon as allowed. More... | |
dataQueue_t * rfc_bleInitiatorPar_s::pRxQ |
Pointer to receive queue.
uint8_t rfc_bleInitiatorPar_s::bAutoFlushIgnored |
If 1, automatically remove ignored packets from Rx queue.
uint8_t rfc_bleInitiatorPar_s::bAutoFlushCrcErr |
If 1, automatically remove packets with CRC error from Rx queue.
uint8_t rfc_bleInitiatorPar_s::bAutoFlushEmpty |
If 1, automatically remove empty packets from Rx queue.
uint8_t rfc_bleInitiatorPar_s::bIncludeLenByte |
If 1, include the received length byte in the stored packet; otherwise discard it.
uint8_t rfc_bleInitiatorPar_s::bIncludeCrc |
If 1, include the received CRC field in the stored packet; otherwise discard it.
uint8_t rfc_bleInitiatorPar_s::bAppendRssi |
If 1, append an RSSI byte to the packet in the Rx queue.
uint8_t rfc_bleInitiatorPar_s::bAppendStatus |
If 1, append a status word to the packet in the Rx queue.
uint8_t rfc_bleInitiatorPar_s::bAppendTimestamp |
If 1, append a timestamp to the packet in the Rx queue.
struct { ... } rfc_bleInitiatorPar_s::rxConfig |
Configuration bits for the receive queue entries.
uint8_t rfc_bleInitiatorPar_s::bUseWhiteList |
Initiator filter policy
0: Use specific peer address
1: Use white list.
uint8_t rfc_bleInitiatorPar_s::bDynamicWinOffset |
0: No dynamic WinOffset insertion
1: Use dynamic WinOffset insertion
uint8_t rfc_bleInitiatorPar_s::deviceAddrType |
The type of the device address – public (0) or random (1)
uint8_t rfc_bleInitiatorPar_s::peerAddrType |
The type of the peer address – public (0) or random (1)
uint8_t rfc_bleInitiatorPar_s::bStrictLenFilter |
0: Accept any packet with a valid advertising packet length
1: Discard messages with illegal length for the given packet type
uint8_t rfc_bleInitiatorPar_s::chSel |
0: Do not report support of Channel Selection Algorithm #2
1: Report support of Channel Selection Algorithm #2
struct { ... } rfc_bleInitiatorPar_s::initConfig |
uint8_t rfc_bleInitiatorPar_s::__dummy0 |
uint8_t rfc_bleInitiatorPar_s::connectReqLen |
Size of connect request data.
uint8_t * rfc_bleInitiatorPar_s::pConnectReqData |
Pointer to buffer containing LLData to go in the CONNECT_IND (CONNECT_REQ)
uint16_t * rfc_bleInitiatorPar_s::pDeviceAddress |
Pointer (with least significant bit set to 0) to device address used for this device. If least significant bit is 1, the address type given by initConfig.deviceAddrType
is inverted.
rfc_bleWhiteListEntry_t * rfc_bleInitiatorPar_s::pWhiteList |
Pointer (with least significant bit set to 0) to white list or peer address. If least significant bit is 1, the address type given by initConfig.peerAddrType
is inverted.
ratmr_t rfc_bleInitiatorPar_s::connectTime |
Indication of timer value of the first possible start time of the first connection event. Set to the calculated value if a connection is made and to the next possible connection time if not.
uint16_t rfc_bleInitiatorPar_s::__dummy1 |
uint8_t rfc_bleInitiatorPar_s::triggerType |
The type of trigger.
uint8_t rfc_bleInitiatorPar_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_bleInitiatorPar_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
uint8_t rfc_bleInitiatorPar_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_bleInitiatorPar_s::timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed.
struct { ... } rfc_bleInitiatorPar_s::endTrigger |
Trigger that causes the device to stop receiving as soon as allowed.
ratmr_t rfc_bleInitiatorPar_s::timeoutTime |
Time used together with timeoutTrigger
that causes the device to stop receiving as soon as allowed, ending with BLE_DONE_RXTIMEOUT.
ratmr_t rfc_bleInitiatorPar_s::endTime |
Time used together with endTrigger
that causes the device to stop receiving as soon as allowed, ending with BLE_DONE_ENDED.
struct { ... } rfc_bleInitiatorPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_bleInitiatorPar_s::initConfig |
struct { ... } rfc_bleInitiatorPar_s::timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed.
struct { ... } rfc_bleInitiatorPar_s::endTrigger |
Trigger that causes the device to stop receiving as soon as allowed.
struct { ... } rfc_bleInitiatorPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_bleInitiatorPar_s::initConfig |
struct { ... } rfc_bleInitiatorPar_s::timeoutTrigger |
Trigger that causes the device to stop receiving as soon as allowed.
struct { ... } rfc_bleInitiatorPar_s::endTrigger |
Trigger that causes the device to stop receiving as soon as allowed.