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 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 targetAddrType:1 | |
Directed secondary advertiser: The type of the target 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 bDirected:1 | |
0: Advertiser is undirected: pWhiteList points to a white list 1: Advertiser is directed: pWhiteList points to a single device address More... | |
uint8_t privIgnMode:1 | |
0: Filter on bPrivIgn only when white list is used 1: Filter on bPrivIgn always More... | |
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 |
struct { | |
uint8_t scanRspEndType:1 | |
Command status at end if AUX_SCAN_RSP was sent: 0: End with BLE_DONE_OK and result True 1: End with BLE_DONE_SCAN_RSP and result False. More... | |
} | behConfig |
uint8_t | auxPtrTargetType |
Number indicating reference for auxPtrTargetTime. Takes same values as trigger types, but only TRIG_ABSTIME and TRIG_REL_* are allowed. More... | |
ratmr_t | auxPtrTargetTime |
Time of start of packet to which auxPtr points. More... | |
uint8_t * | pAdvPkt |
Pointer to extended advertising packet for the ADV_AUX_IND packet. More... | |
uint8_t * | pRspPkt |
Pointer to extended advertising packet for the AUX_SCAN_RSP or AUX_CONNECT_RSP packet (may be NULL if not applicable) 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 advConfig.deviceAddrType is inverted. More... | |
rfc_bleWhiteListEntry_t * | pWhiteList |
Pointer (with least significant bit set to 0) to white list or peer address (directed advertiser). If least significant bit is 1, the address type given by advConfig.peerAddrType is inverted. 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 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 targetAddrType:1 | |
Directed secondary advertiser: The type of the target 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 bDirected:1 | |
0: Advertiser is undirected: pWhiteList points to a white list 1: Advertiser is directed: pWhiteList points to a single device address More... | |
uint8_t privIgnMode:1 | |
0: Filter on bPrivIgn only when white list is used 1: Filter on bPrivIgn always More... | |
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 |
struct { | |
uint8_t scanRspEndType:1 | |
Command status at end if AUX_SCAN_RSP was sent: 0: End with BLE_DONE_OK and result True 1: End with BLE_DONE_SCAN_RSP and result False. More... | |
} | behConfig |
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 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 targetAddrType:1 | |
Directed secondary advertiser: The type of the target 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 bDirected:1 | |
0: Advertiser is undirected: pWhiteList points to a white list 1: Advertiser is directed: pWhiteList points to a single device address More... | |
uint8_t privIgnMode:1 | |
0: Filter on bPrivIgn only when white list is used 1: Filter on bPrivIgn always More... | |
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 |
struct { | |
uint8_t scanRspEndType:1 | |
Command status at end if AUX_SCAN_RSP was sent: 0: End with BLE_DONE_OK and result True 1: End with BLE_DONE_SCAN_RSP and result False. More... | |
} | behConfig |
dataQueue_t * rfc_ble5AdvAuxPar_s::pRxQ |
Pointer to receive queue.
uint8_t rfc_ble5AdvAuxPar_s::bAutoFlushIgnored |
If 1, automatically remove ignored packets from Rx queue.
uint8_t rfc_ble5AdvAuxPar_s::bAutoFlushCrcErr |
If 1, automatically remove packets with CRC error from Rx queue.
uint8_t rfc_ble5AdvAuxPar_s::bAutoFlushEmpty |
If 1, automatically remove empty packets from Rx queue.
uint8_t rfc_ble5AdvAuxPar_s::bIncludeLenByte |
If 1, include the received length byte in the stored packet; otherwise discard it.
uint8_t rfc_ble5AdvAuxPar_s::bIncludeCrc |
If 1, include the received CRC field in the stored packet; otherwise discard it.
uint8_t rfc_ble5AdvAuxPar_s::bAppendRssi |
If 1, append an RSSI byte to the packet in the Rx queue.
uint8_t rfc_ble5AdvAuxPar_s::bAppendStatus |
If 1, append a status word to the packet in the Rx queue.
uint8_t rfc_ble5AdvAuxPar_s::bAppendTimestamp |
If 1, append a timestamp to the packet in the Rx queue.
struct { ... } rfc_ble5AdvAuxPar_s::rxConfig |
Configuration bits for the receive queue entries.
uint8_t rfc_ble5AdvAuxPar_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_ble5AdvAuxPar_s::deviceAddrType |
The type of the device address – public (0) or random (1)
uint8_t rfc_ble5AdvAuxPar_s::targetAddrType |
Directed secondary advertiser: The type of the target address – public (0) or random (1)
uint8_t rfc_ble5AdvAuxPar_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_ble5AdvAuxPar_s::bDirected |
0: Advertiser is undirected: pWhiteList points to a white list 1: Advertiser is directed: pWhiteList points to a single device address
uint8_t rfc_ble5AdvAuxPar_s::privIgnMode |
0: Filter on bPrivIgn only when white list is used 1: Filter on bPrivIgn always
uint8_t rfc_ble5AdvAuxPar_s::rpaMode |
Resolvable private address mode
0: Normal operation
1: Use white list for a received RPA regardless of filter policy.
struct { ... } rfc_ble5AdvAuxPar_s::advConfig |
uint8_t rfc_ble5AdvAuxPar_s::scanRspEndType |
Command status at end if AUX_SCAN_RSP was sent:
0: End with BLE_DONE_OK and result True
1: End with BLE_DONE_SCAN_RSP and result False.
struct { ... } rfc_ble5AdvAuxPar_s::behConfig |
uint8_t rfc_ble5AdvAuxPar_s::auxPtrTargetType |
Number indicating reference for auxPtrTargetTime. Takes same values as trigger types, but only TRIG_ABSTIME and TRIG_REL_* are allowed.
ratmr_t rfc_ble5AdvAuxPar_s::auxPtrTargetTime |
Time of start of packet to which auxPtr points.
uint8_t * rfc_ble5AdvAuxPar_s::pAdvPkt |
Pointer to extended advertising packet for the ADV_AUX_IND packet.
uint8_t * rfc_ble5AdvAuxPar_s::pRspPkt |
Pointer to extended advertising packet for the AUX_SCAN_RSP or AUX_CONNECT_RSP packet (may be NULL if not applicable)
uint16_t * rfc_ble5AdvAuxPar_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 advConfig.deviceAddrType
is inverted.
rfc_bleWhiteListEntry_t * rfc_ble5AdvAuxPar_s::pWhiteList |
Pointer (with least significant bit set to 0) to white list or peer address (directed advertiser). If least significant bit is 1, the address type given by advConfig.peerAddrType
is inverted.
struct { ... } rfc_ble5AdvAuxPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_ble5AdvAuxPar_s::advConfig |
struct { ... } rfc_ble5AdvAuxPar_s::behConfig |
struct { ... } rfc_ble5AdvAuxPar_s::rxConfig |
Configuration bits for the receive queue entries.
struct { ... } rfc_ble5AdvAuxPar_s::advConfig |
struct { ... } rfc_ble5AdvAuxPar_s::behConfig |