BLE Master Command. More...
#include <rf_ble_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x1802. 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 number 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 |
rfc_bleMasterPar_t * | pParams |
Pointer to command specific parameter structure. More... | |
rfc_bleMasterSlaveOutput_t * | pOutput |
Pointer to command specific output structure. More... | |
BLE Master Command.
Definition at line 173 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 182 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::bOverride |
0: Use default whitening for BLE advertising/data channels
1: Override whitening initialization with value of init
Definition at line 201 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::channel |
Channel to use
0–39: BLE advertising/data channel number
60–207: Custom frequency; (2300 + channel
) MHz
255: Use existing frequency
Others: Reserved
Definition at line 192 of file rf_ble_cmd.h.
uint16_t rfc_CMD_BLE_MASTER_s::commandNo |
The command ID number 0x1802.
Definition at line 174 of file rf_ble_cmd.h.
struct { ... } rfc_CMD_BLE_MASTER_s::condition |
uint8_t rfc_CMD_BLE_MASTER_s::init |
If bOverride
= 1 or custom frequency is used:
0: Do not use whitening
Other value: Initialization for 7-bit LFSR whitener.
Definition at line 198 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
Definition at line 190 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_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
Definition at line 185 of file rf_ble_cmd.h.
rfc_radioOp_t* rfc_CMD_BLE_MASTER_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 178 of file rf_ble_cmd.h.
rfc_bleMasterSlaveOutput_t* rfc_CMD_BLE_MASTER_s::pOutput |
Pointer to command specific output structure.
Definition at line 205 of file rf_ble_cmd.h.
rfc_bleMasterPar_t* rfc_CMD_BLE_MASTER_s::pParams |
Pointer to command specific parameter structure.
Definition at line 204 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 189 of file rf_ble_cmd.h.
ratmr_t rfc_CMD_BLE_MASTER_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 179 of file rf_ble_cmd.h.
struct { ... } rfc_CMD_BLE_MASTER_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_BLE_MASTER_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.
Definition at line 175 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 184 of file rf_ble_cmd.h.
uint8_t rfc_CMD_BLE_MASTER_s::triggerType |
The type of trigger.
Definition at line 181 of file rf_ble_cmd.h.
struct { ... } rfc_CMD_BLE_MASTER_s::whitening |