rflib
|
Bluetooth 5 Scannable Undirected Advertiser Command. More...
#include <rf_ble_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x182E. More... | |
uint16_t | status |
An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time. More... | |
rfc_radioOp_t * | pNextOp |
Pointer to the next operation to run after this operation is done. More... | |
ratmr_t | startTime |
Absolute or relative start time (depending on the value of startTrigger ) 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... | |
} | startTrigger |
Identification of the trigger that starts the operation. More... | |
struct { | |
uint8_t rule:4 | |
Condition for running next command: Rule for how to proceed. More... | |
uint8_t nSkip:4 | |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
} | condition |
uint8_t | channel |
Channel to use 0–39: BLE advertising/data channel index 60–207: Custom frequency; (2300 + channel ) MHz255: Use existing frequency Others: Reserved More... | |
struct { | |
uint8_t init:7 | |
If bOverride = 1 or custom frequency is used:0: Do not use whitening Other value: Initialization for 7-bit LFSR whitener. More... | |
uint8_t bOverride:1 | |
0: Use default whitening for BLE advertising/data channels 1: Override whitening initialization with value of init More... | |
} | whitening |
struct { | |
uint8_t mainMode:2 | |
PHY to use: 0: 1 Mbps 1: 2 Mbps 2: Coded 3: Reserved More... | |
uint8_t coding:6 | |
Coding to use for TX if coded PHY is selected. See the Technical Reference Manual for details. More... | |
} | phyMode |
uint8_t | rangeDelay |
Number of RAT ticks to add to the listening time after T_IFS. More... | |
uint16_t | txPower |
Transmit power to use (overrides the one given in radio setup) 0x0000: Use default TX power 0xFFFF: 20-dBm PA only: Use TX power from tx20Power field (command structure that includes tx20Power must be used) More... | |
rfc_bleAdvPar_t * | pParams |
Pointer to command specific parameter structure. More... | |
rfc_bleAdvOutput_t * | pOutput |
Pointer to command specific output structure. More... | |
uint32_t | tx20Power |
If txPower = 0xFFFF:If tx20Power < 0x10000000: Transmit power to use for the 20-dBm PA; overrides the one given in radio setup for the duration of the command. If tx20Power >= 0x10000000: Pointer to PA change override structure as for CMD_CHANGE_PA ; permanently changes the PA and PA power set in radio setup.For other values of txPower , this field is not accessed by the radio CPU and may be omitted from the structure. 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... | |
} | startTrigger |
Identification of the trigger that starts the operation. More... | |
struct { | |
uint8_t rule:4 | |
Condition for running next command: Rule for how to proceed. More... | |
uint8_t nSkip:4 | |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
} | condition |
struct { | |
uint8_t init:7 | |
If bOverride = 1 or custom frequency is used:0: Do not use whitening Other value: Initialization for 7-bit LFSR whitener. More... | |
uint8_t bOverride:1 | |
0: Use default whitening for BLE advertising/data channels 1: Override whitening initialization with value of init More... | |
} | whitening |
struct { | |
uint8_t mainMode:2 | |
PHY to use: 0: 1 Mbps 1: 2 Mbps 2: Coded 3: Reserved More... | |
uint8_t coding:6 | |
Coding to use for TX if coded PHY is selected. See the Technical Reference Manual for details. More... | |
} | phyMode |
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... | |
} | startTrigger |
Identification of the trigger that starts the operation. More... | |
struct { | |
uint8_t rule:4 | |
Condition for running next command: Rule for how to proceed. More... | |
uint8_t nSkip:4 | |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
} | condition |
struct { | |
uint8_t init:7 | |
If bOverride = 1 or custom frequency is used:0: Do not use whitening Other value: Initialization for 7-bit LFSR whitener. More... | |
uint8_t bOverride:1 | |
0: Use default whitening for BLE advertising/data channels 1: Override whitening initialization with value of init More... | |
} | whitening |
struct { | |
uint8_t mainMode:2 | |
PHY to use: 0: 1 Mbps 1: 2 Mbps 2: Coded 3: Reserved More... | |
uint8_t coding:6 | |
Coding to use for TX if coded PHY is selected. See the Technical Reference Manual for details. More... | |
} | phyMode |
Bluetooth 5 Scannable Undirected Advertiser Command.
uint16_t rfc_CMD_BLE5_ADV_SCAN_s::commandNo |
The command ID number 0x182E.
uint16_t rfc_CMD_BLE5_ADV_SCAN_s::status |
An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time.
rfc_radioOp_t * rfc_CMD_BLE5_ADV_SCAN_s::pNextOp |
Pointer to the next operation to run after this operation is done.
ratmr_t rfc_CMD_BLE5_ADV_SCAN_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::triggerType |
The type of trigger.
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
uint8_t rfc_CMD_BLE5_ADV_SCAN_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_CMD_BLE5_ADV_SCAN_s::startTrigger |
Identification of the trigger that starts the operation.
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::rule |
Condition for running next command: Rule for how to proceed.
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::condition |
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::channel |
Channel to use
0–39: BLE advertising/data channel index
60–207: Custom frequency; (2300 + channel
) MHz
255: Use existing frequency
Others: Reserved
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::init |
If bOverride
= 1 or custom frequency is used:
0: Do not use whitening
Other value: Initialization for 7-bit LFSR whitener.
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::bOverride |
0: Use default whitening for BLE advertising/data channels
1: Override whitening initialization with value of init
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::whitening |
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::mainMode |
PHY to use:
0: 1 Mbps
1: 2 Mbps
2: Coded
3: Reserved
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::coding |
Coding to use for TX if coded PHY is selected. See the Technical Reference Manual for details.
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::phyMode |
uint8_t rfc_CMD_BLE5_ADV_SCAN_s::rangeDelay |
Number of RAT ticks to add to the listening time after T_IFS.
uint16_t rfc_CMD_BLE5_ADV_SCAN_s::txPower |
Transmit power to use (overrides the one given in radio setup)
0x0000: Use default TX power
0xFFFF: 20-dBm PA only: Use TX power from tx20Power
field (command structure that includes tx20Power
must be used)
rfc_bleAdvPar_t * rfc_CMD_BLE5_ADV_SCAN_s::pParams |
Pointer to command specific parameter structure.
rfc_bleAdvOutput_t * rfc_CMD_BLE5_ADV_SCAN_s::pOutput |
Pointer to command specific output structure.
uint32_t rfc_CMD_BLE5_ADV_SCAN_s::tx20Power |
If txPower
= 0xFFFF:
If tx20Power
< 0x10000000: Transmit power to use for the 20-dBm PA; overrides the one given in radio setup for the duration of the command.
If tx20Power
>= 0x10000000: Pointer to PA change override structure as for CMD_CHANGE_PA ; permanently changes the PA and PA power set in radio setup.
For other values of txPower
, this field is not accessed by the radio CPU and may be omitted from the structure.
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::condition |
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::whitening |
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::phyMode |
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::condition |
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::whitening |
struct { ... } rfc_CMD_BLE5_ADV_SCAN_s::phyMode |