#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 byte 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 advFilterPolicy:2 | |
Advertiser filter policy 0: Process scan and connect requests from all devices 1: Process connect requests from all devices and only scan requests from devices that are in the white list 2: Process scan requests from all devices and only connect requests from devices that are in the white list 3: Process scan and connect requests only from devices in the white list. More... | |
uint8_t deviceAddrType:1 | |
The type of the device address – public (0) or random (1) More... | |
uint8_t peerAddrType:1 | |
Directed advertiser: 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 __pad0__:2 | |
uint8_t rpaMode:1 | |
Resolvable private address mode 0: Normal operation 1: Use white list for a received RPA regardless of filter policy. More... | |
} | advConfig |
uint8_t | advLen |
Size of advertiser data. More... | |
uint8_t | scanRspLen |
Size of scan response data. More... | |
uint8_t * | pAdvData |
Pointer to buffer containing ADV*_IND data. More... | |
uint8_t * | pScanRspData |
Pointer to buffer containing SCAN_RSP data. More... | |
uint16_t * | pDeviceAddress |
Pointer to device address used for this device. More... | |
rfc_bleWhiteListEntry_t * | pWhiteList |
Pointer to white list or peer address (directed advertiser) More... | |
uint16_t | __dummy0 |
uint8_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... | |
} | endTrigger |
Trigger that causes the device to end the advertiser event as soon as allowed. More... | |
ratmr_t | endTime |
Time used together with endTrigger that causes the device to end the advertiser event as soon as allowed. More... | |
uint16_t rfc_bleAdvPar_s::__dummy0 |
uint8_t rfc_bleAdvPar_s::__dummy1 |
uint8_t rfc_bleAdvPar_s::__pad0__ |
struct { ... } rfc_bleAdvPar_s::advConfig |
uint8_t rfc_bleAdvPar_s::advFilterPolicy |
Advertiser filter policy
0: Process scan and connect requests from all devices
1: Process connect requests from all devices and only scan requests from devices that are in the white list
2: Process scan requests from all devices and only connect requests from devices that are in the white list
3: Process scan and connect requests only from devices in the white list.
uint8_t rfc_bleAdvPar_s::advLen |
Size of advertiser data.
uint8_t rfc_bleAdvPar_s::bAppendRssi |
If 1, append an RSSI byte to the packet in the Rx queue.
uint8_t rfc_bleAdvPar_s::bAppendStatus |
If 1, append a status byte to the packet in the Rx queue.
uint8_t rfc_bleAdvPar_s::bAppendTimestamp |
If 1, append a timestamp to the packet in the Rx queue.
uint8_t rfc_bleAdvPar_s::bAutoFlushCrcErr |
If 1, automatically remove packets with CRC error from Rx queue.
uint8_t rfc_bleAdvPar_s::bAutoFlushEmpty |
If 1, automatically remove empty packets from Rx queue.
uint8_t rfc_bleAdvPar_s::bAutoFlushIgnored |
If 1, automatically remove ignored packets from Rx queue.
uint8_t rfc_bleAdvPar_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_bleAdvPar_s::bIncludeCrc |
If 1, include the received CRC field in the stored packet; otherwise discard it.
uint8_t rfc_bleAdvPar_s::bIncludeLenByte |
If 1, include the received length byte in the stored packet; otherwise discard it.
uint8_t rfc_bleAdvPar_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_bleAdvPar_s::deviceAddrType |
The type of the device address – public (0) or random (1)
ratmr_t rfc_bleAdvPar_s::endTime |
Time used together with endTrigger
that causes the device to end the advertiser event as soon as allowed.
struct { ... } rfc_bleAdvPar_s::endTrigger |
Trigger that causes the device to end the advertiser event as soon as allowed.
uint8_t* rfc_bleAdvPar_s::pAdvData |
Pointer to buffer containing ADV*_IND data.
uint8_t rfc_bleAdvPar_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
uint16_t* rfc_bleAdvPar_s::pDeviceAddress |
Pointer to device address used for this device.
uint8_t rfc_bleAdvPar_s::peerAddrType |
Directed advertiser: The type of the peer address – public (0) or random (1)
dataQueue_t* rfc_bleAdvPar_s::pRxQ |
Pointer to receive queue.
uint8_t* rfc_bleAdvPar_s::pScanRspData |
Pointer to buffer containing SCAN_RSP data.
rfc_bleWhiteListEntry_t* rfc_bleAdvPar_s::pWhiteList |
Pointer to white list or peer address (directed advertiser)
uint8_t rfc_bleAdvPar_s::rpaMode |
Resolvable private address mode
0: Normal operation
1: Use white list for a received RPA regardless of filter policy.
struct { ... } rfc_bleAdvPar_s::rxConfig |
Configuration bits for the receive queue entries.
uint8_t rfc_bleAdvPar_s::scanRspLen |
Size of scan response data.
uint8_t rfc_bleAdvPar_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
uint8_t rfc_bleAdvPar_s::triggerType |
The type of trigger.