Carrier Sense Command. More...
#include <rf_prop_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x3805. 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 |
struct { | |
uint8_t bFsOffIdle:1 | |
0: Keep synth running if command ends with channel Idle 1: Turn off synth if command ends with channel Idle More... | |
uint8_t bFsOffBusy:1 | |
0: Keep synth running if command ends with channel Busy 1: Turn off synth if command ends with channel Busy More... | |
} | csFsConf |
uint8_t | __dummy0 |
struct { | |
uint8_t bEnaRssi:1 | |
If 1, enable RSSI as a criterion. More... | |
uint8_t bEnaCorr:1 | |
If 1, enable correlation as a criterion. More... | |
uint8_t operation:1 | |
0: Busy if either RSSI or correlation indicates Busy 1: Busy if both RSSI and correlation indicates Busy More... | |
uint8_t busyOp:1 | |
0: Continue carrier sense on channel Busy 1: End carrier sense on channel Busy For an RX command, the receiver will continue when carrier sense ends, but it will then not end if channel goes Idle More... | |
uint8_t idleOp:1 | |
0: Continue on channel Idle 1: End on channel Idle More... | |
uint8_t timeoutRes:1 | |
0: Timeout with channel state Invalid treated as Busy 1: Timeout with channel state Invalid treated as Idle More... | |
} | csConf |
int8_t | rssiThr |
RSSI threshold. More... | |
uint8_t | numRssiIdle |
Number of consecutive RSSI measurements below the threshold needed before the channel is declared Idle. More... | |
uint8_t | numRssiBusy |
Number of consecutive RSSI measurements above the threshold needed before the channel is declared Busy. More... | |
uint16_t | corrPeriod |
Number of RAT ticks for a correlation observation periods. More... | |
struct { | |
uint8_t numCorrInv:4 | |
Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Idle to Invalid. More... | |
uint8_t numCorrBusy:4 | |
Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Invalid to Busy. More... | |
} | corrConfig |
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... | |
} | csEndTrigger |
Trigger classifier for ending the carrier sense. More... | |
ratmr_t | csEndTime |
Time used together with csEndTrigger for ending the operation. More... | |
Carrier Sense Command.
Definition at line 381 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::__dummy0 |
Definition at line 406 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 390 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::bEnaCorr |
If 1, enable correlation as a criterion.
Definition at line 409 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::bEnaRssi |
If 1, enable RSSI as a criterion.
Definition at line 408 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::bFsOffBusy |
0: Keep synth running if command ends with channel Busy
1: Turn off synth if command ends with channel Busy
Definition at line 403 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::bFsOffIdle |
0: Keep synth running if command ends with channel Idle
1: Turn off synth if command ends with channel Idle
Definition at line 401 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::busyOp |
0: Continue carrier sense on channel Busy
1: End carrier sense on channel Busy
For an RX command, the receiver will continue when carrier sense ends, but it will then not end if channel goes Idle
Definition at line 412 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_CS_s::commandNo |
The command ID number 0x3805.
Definition at line 382 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_CS_s::condition |
struct { ... } rfc_CMD_PROP_CS_s::corrConfig |
uint16_t rfc_CMD_PROP_CS_s::corrPeriod |
Number of RAT ticks for a correlation observation periods.
Definition at line 425 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_CS_s::csConf |
ratmr_t rfc_CMD_PROP_CS_s::csEndTime |
Time used together with csEndTrigger
for ending the operation.
Definition at line 440 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_CS_s::csEndTrigger |
Trigger classifier for ending the carrier sense.
struct { ... } rfc_CMD_PROP_CS_s::csFsConf |
uint8_t rfc_CMD_PROP_CS_s::idleOp |
0: Continue on channel Idle
1: End on channel Idle
Definition at line 415 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
Definition at line 398 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::numCorrBusy |
Number of subsequent correlation tops with maximum corrPeriod
RAT ticks between them needed to go from Invalid to Busy.
Definition at line 429 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::numCorrInv |
Number of subsequent correlation tops with maximum corrPeriod
RAT ticks between them needed to go from Idle to Invalid.
Definition at line 427 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::numRssiBusy |
Number of consecutive RSSI measurements above the threshold needed before the channel is declared Busy.
Definition at line 423 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::numRssiIdle |
Number of consecutive RSSI measurements below the threshold needed before the channel is declared Idle.
Definition at line 421 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::operation |
0: Busy if either RSSI or correlation indicates Busy
1: Busy if both RSSI and correlation indicates Busy
Definition at line 410 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_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 393 of file rf_prop_cmd.h.
rfc_radioOp_t* rfc_CMD_PROP_CS_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 386 of file rf_prop_cmd.h.
int8_t rfc_CMD_PROP_CS_s::rssiThr |
RSSI threshold.
Definition at line 420 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 397 of file rf_prop_cmd.h.
ratmr_t rfc_CMD_PROP_CS_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 387 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_CS_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_PROP_CS_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 383 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::timeoutRes |
0: Timeout with channel state Invalid treated as Busy
1: Timeout with channel state Invalid treated as Idle
Definition at line 417 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 392 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_CS_s::triggerType |
The type of trigger.
Definition at line 389 of file rf_prop_cmd.h.