37 #ifndef __COMMON_CMD_H 38 #define __COMMON_CMD_H 44 #ifndef __RFC_STRUCT_ATTR 46 #define __RFC_STRUCT_ATTR __attribute__ ((aligned (4))) 47 #elif defined(__TI_ARM__) 48 #define __RFC_STRUCT_ATTR __attribute__ ((__packed__,aligned (4))) 50 #define __RFC_STRUCT_ATTR 130 uint8_t triggerType:4;
147 #define CMD_NOP 0x0801 157 uint8_t triggerType:4;
174 #define CMD_RADIO_SETUP 0x0802 184 uint8_t triggerType:4;
205 uint16_t frontEndMode:3;
212 uint16_t analogCfgMode:6;
214 uint16_t bNoFsPowerUp:1;
223 uint16_t bSynthNarrowBand:1;
235 #define CMD_FS 0x0803 245 uint8_t triggerType:4;
274 #define CMD_FS_OFF 0x0804 284 uint8_t triggerType:4;
301 #define CMD_RX_TEST 0x0807 311 uint8_t triggerType:4;
331 uint8_t triggerType:4;
346 #define CMD_TX_TEST 0x0808 356 uint8_t triggerType:4;
371 uint8_t whitenMode:2;
381 uint8_t triggerType:4;
396 #define CMD_SYNC_STOP_RAT 0x0809 406 uint8_t triggerType:4;
426 #define CMD_SYNC_START_RAT 0x080A 436 uint8_t triggerType:4;
456 #define CMD_RESYNC_RAT 0x0816 466 uint8_t triggerType:4;
486 #define CMD_COUNT 0x080B 496 uint8_t triggerType:4;
515 #define CMD_FS_POWERUP 0x080C 525 uint8_t triggerType:4;
544 #define CMD_FS_POWERDOWN 0x080D 554 uint8_t triggerType:4;
571 #define CMD_SCH_IMM 0x0810 581 uint8_t triggerType:4;
601 #define CMD_COUNT_BRANCH 0x0812 611 uint8_t triggerType:4;
631 #define CMD_PATTERN_CHECK 0x0813 641 uint8_t triggerType:4;
653 uint16_t operation:2;
661 uint16_t signExtend:5;
687 uint8_t triggerType:4;
708 uint16_t frontEndMode:3;
715 uint16_t analogCfgMode:6;
717 uint16_t bNoFsPowerUp:1;
726 uint16_t bSynthNarrowBand:1;
731 uint32_t* pRegOverrideTxStd;
733 uint32_t* pRegOverrideTx20;
742 #define CMD_ABORT 0x0401 752 #define CMD_STOP 0x0402 762 #define CMD_GET_RSSI 0x0403 772 #define CMD_UPDATE_RADIO_SETUP 0x0001 784 #define CMD_TRIGGER 0x0404 795 #define CMD_GET_FW_INFO 0x0002 809 #define CMD_START_RAT 0x0405 819 #define CMD_PING 0x0406 829 #define CMD_READ_RFREG 0x0601 841 #define CMD_ADD_DATA_ENTRY 0x0005 854 #define CMD_REMOVE_DATA_ENTRY 0x0006 867 #define CMD_FLUSH_QUEUE 0x0007 880 #define CMD_CLEAR_RX 0x0008 892 #define CMD_REMOVE_PENDING_ENTRIES 0x0009 905 #define CMD_SET_RAT_CMP 0x000A 918 #define CMD_SET_RAT_CPT 0x0603 926 uint16_t bRepeated:1;
927 uint16_t inputMode:2;
940 #define CMD_DISABLE_RAT_CH 0x0408 951 #define CMD_SET_RAT_OUTPUT 0x0604 957 uint16_t outputSel:3;
958 uint16_t outputMode:3;
973 #define CMD_ARM_RAT_CH 0x0409 984 #define CMD_DISARM_RAT_CH 0x040A 995 #define CMD_SET_TX_POWER 0x0010 1006 #define CMD_SET_TX20_POWER 0x0014 1018 #define CMD_CHANGE_PA 0x0015 1031 #define CMD_UPDATE_HPOSC_FREQ 0x0608 1042 #define CMD_UPDATE_FS 0x0011 1058 #define CMD_MODIFY_FS 0x0013 1070 #define CMD_BUS_REQUEST 0x040E 1082 #define CMD_SET_CMD_START_IRQ 0x0411 uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used...
Definition: rf_common_cmd.h:730
Enable or disable generation of IRQ when a radio operation command starts.
Definition: rf_common_cmd.h:1084
uint16_t commandNo
The command ID number 0x0408.
Definition: rf_common_cmd.h:943
uint16_t __dummy0
Definition: rf_common_cmd.h:896
uint16_t startOffset
The start of free RAM.
Definition: rf_common_cmd.h:800
uint16_t commandNo
The command ID number 0x0007.
Definition: rf_common_cmd.h:870
uint16_t counter
Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if...
Definition: rf_common_cmd.h:507
#define __RFC_STRUCT
Definition: rf_common_cmd.h:41
Disable Radio Timer Channel.
Definition: rf_common_cmd.h:942
Request System Bus to be Availbale.
Definition: rf_common_cmd.h:1072
uint8_t ratCh
The radio timer channel number.
Definition: rf_common_cmd.h:944
uint16_t commandNo
The command ID number 0x0803.
Definition: rf_common_cmd.h:238
uint16_t commandNo
The command ID number 0x0014.
Definition: rf_common_cmd.h:1009
uint16_t counter
Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if...
Definition: rf_common_cmd.h:622
Read RSSI Command.
Definition: rf_common_cmd.h:764
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:681
uint8_t mode
The main mode to use 0x00: BLE 0x01: IEEE 802.15.4 0x02: 2 Mbps GFSK 0x05: 5 Mbps coded 8-FSK 0x...
Definition: rf_common_cmd.h:195
uint16_t __dummy0
Definition: rf_common_cmd.h:1010
Frequency Synthesizer Programming Command.
Definition: rf_common_cmd.h:237
Synchrously Start Radio Timer Command.
Definition: rf_common_cmd.h:428
Arm Radio Timer Channel.
Definition: rf_common_cmd.h:975
uint16_t commandNo
The command ID number 0x0801.
Definition: rf_common_cmd.h:150
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:151
uint16_t __dummy0
Definition: rf_common_cmd.h:776
Clear all RX Queue Entries.
Definition: rf_common_cmd.h:882
uint16_t commandNo
The command ID number 0x0013.
Definition: rf_common_cmd.h:1061
ratmr_t endTime
Time to end the operation.
Definition: rf_common_cmd.h:339
uint16_t frequency
The frequency in MHz to tune to.
Definition: rf_common_cmd.h:1062
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:400
uint8_t * pFirstEntry
Pointer to the first entry that was removed.
Definition: rf_common_cmd.h:873
Stop Running Radio Operation Command Gracefully.
Definition: rf_common_cmd.h:754
uint16_t txPower
Transmit power.
Definition: rf_common_cmd.h:226
ratmr_t rat0
The desired RAT timer value corresponding to the value the RAT would have had when the RTC was zero...
Definition: rf_common_cmd.h:448
Remove First Data Entry from Queue.
Definition: rf_common_cmd.h:856
uint16_t __dummy0
Definition: rf_common_cmd.h:845
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:609
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:490
Power down Frequency Syntheszier Command.
Definition: rf_common_cmd.h:546
uint8_t __dummy1
Definition: rf_common_cmd.h:379
uint16_t commandNo
The command ID number 0x0002.
Definition: rf_common_cmd.h:798
uint16_t commandNo
The command ID number 0x0409.
Definition: rf_common_cmd.h:976
uint16_t __dummy0
Definition: rf_common_cmd.h:477
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:239
uint16_t commandNo
The command ID number 0x0808.
Definition: rf_common_cmd.h:349
uint16_t freeRamSz
The size of free RAM.
Definition: rf_common_cmd.h:801
uint16_t commandNo
The command ID number 0x0008.
Definition: rf_common_cmd.h:883
uint32_t __dummy1
Definition: rf_common_cmd.h:1047
uint32_t tx20Power
New TX power setting.
Definition: rf_common_cmd.h:1011
dataQueue_t * pQueue
Pointer to the queue structure to be flushed.
Definition: rf_common_cmd.h:872
#define __RFC_STRUCT_ATTR
Definition: rf_common_cmd.h:50
dataQueue_t * pQueue
Pointer to the queue structure to which the entry will be added.
Definition: rf_common_cmd.h:846
uint8_t __dummy0
Definition: rf_common_cmd.h:910
uint16_t commandNo
The command ID number 0x0603.
Definition: rf_common_cmd.h:921
uint16_t commandNo
The command ID number 0x0001.
Definition: rf_common_cmd.h:775
uint16_t __dummy0
Definition: rf_common_cmd.h:447
dataQueue_t * pQueue
Pointer to the queue structure from which the entry will be removed.
Definition: rf_common_cmd.h:859
uint8_t bEna
1 to enable interrupt generation; 0 to disable it
Definition: rf_common_cmd.h:1086
uint8_t * pEntry
Pointer to the entry.
Definition: rf_common_cmd.h:847
Run Immidiate Command as Radio Operation Command.
Definition: rf_common_cmd.h:573
uint32_t __dummy2
Definition: rf_common_cmd.h:1048
uint16_t __dummy0
Definition: rf_common_cmd.h:858
Set Radio Timer Output to a Specified Mode.
Definition: rf_common_cmd.h:953
dataQueue_t * pQueue
Pointer to the queue structure to be cleared.
Definition: rf_common_cmd.h:885
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:434
uint16_t __dummy0
Definition: rf_common_cmd.h:536
uint16_t fractFreq
Fractional part of the frequency to tune to.
Definition: rf_common_cmd.h:257
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:460
Disarm Radio Timer Channel.
Definition: rf_common_cmd.h:986
uint16_t __dummy0
Definition: rf_common_cmd.h:592
uint16_t versionNo
Firmware version number.
Definition: rf_common_cmd.h:799
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:243
uint16_t __dummy0
Definition: rf_common_cmd.h:417
Command for Turning off Frequency Synthesizer.
Definition: rf_common_cmd.h:276
Counter Command.
Definition: rf_common_cmd.h:488
Power up Frequency Syntheszier Command.
Definition: rf_common_cmd.h:517
uint32_t mask
Bit mask to apply before comparison.
Definition: rf_common_cmd.h:670
uint32_t cmdstaVal
Value as would be returned in CMDSTA.
Definition: rf_common_cmd.h:594
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override as part of the change...
Definition: rf_common_cmd.h:1023
Generate Command Trigger.
Definition: rf_common_cmd.h:786
uint16_t commandNo
The command ID number 0x040A.
Definition: rf_common_cmd.h:987
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:523
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:519
uint16_t commandNo
The command ID number.
Definition: rf_common_cmd.h:123
uint16_t commandNo
The command ID number 0x080B.
Definition: rf_common_cmd.h:489
uint16_t commandNo
The command ID number 0x0006.
Definition: rf_common_cmd.h:857
Definition: rf_common_cmd.h:112
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:155
Set Transmit Power for 20-dBm PA.
Definition: rf_common_cmd.h:1008
Set New Synthesizer Frequency without Recalibration (Deprecated; use CMD_MODIFY_FS) ...
Definition: rf_common_cmd.h:1044
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:575
No Operation Command.
Definition: rf_common_cmd.h:149
Set New Frequency Offset for HPOSC.
Definition: rf_common_cmd.h:1033
Command for Checking a Value in Memory aginst a Pattern.
Definition: rf_common_cmd.h:633
uint32_t compareVal
Value to compare to.
Definition: rf_common_cmd.h:671
uint16_t __dummy0
Definition: rf_common_cmd.h:1022
uint8_t __dummy0
Definition: rf_common_cmd.h:377
uint16_t txPower
New TX power setting.
Definition: rf_common_cmd.h:999
Set Radio Timer Channel in Capture Mode.
Definition: rf_common_cmd.h:920
uint16_t commandNo
The command ID number 0x0402.
Definition: rf_common_cmd.h:755
Add Data Entry to Queue.
Definition: rf_common_cmd.h:843
dataQueue_t * pQueue
Pointer to the queue structure to be flushed.
Definition: rf_common_cmd.h:897
uint16_t commandNo
The command ID number 0x0401.
Definition: rf_common_cmd.h:745
ratmr_t endTime
Time to end the operation.
Definition: rf_common_cmd.h:389
uint16_t address
The offset from the start of the RF core HW register bank (0x40040000)
Definition: rf_common_cmd.h:833
Set Transmit Power.
Definition: rf_common_cmd.h:997
uint16_t commandNo
The command ID number 0x040E.
Definition: rf_common_cmd.h:1073
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:182
uint16_t __dummy0
Definition: rf_common_cmd.h:871
uint16_t commandNo
The command ID number 0x000A.
Definition: rf_common_cmd.h:908
Definition: rf_common_cmd.h:679
uint8_t bSysBusNeeded
0: System bus may sleep 1: System bus access needed
Definition: rf_common_cmd.h:1074
uint16_t commandNo
The command ID number 0x0411.
Definition: rf_common_cmd.h:1085
uint16_t __dummy3
Reserved
Definition: rf_common_cmd.h:267
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:579
rfc_radioOp_t * pNextOpIfOk
Pointer to next operation if comparison result was true.
Definition: rf_common_cmd.h:668
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:404
Request Information on the RF Core ROM Firmware.
Definition: rf_common_cmd.h:797
Radio Setup Command for Pre-Defined Schemes.
Definition: rf_common_cmd.h:176
uint16_t availRatCh
Bitmap of available RAT channels.
Definition: rf_common_cmd.h:802
uint8_t * pFirstEntry
Pointer to the first entry that was removed.
Definition: rf_common_cmd.h:898
uint16_t frequency
The frequency in MHz to tune to.
Definition: rf_common_cmd.h:1050
uint16_t commandNo
The command ID number 0x0809.
Definition: rf_common_cmd.h:399
uint32_t value
Returned value of the register.
Definition: rf_common_cmd.h:834
Transmitter Test Command.
Definition: rf_common_cmd.h:348
uint16_t commandNo
The command ID number 0x0813.
Definition: rf_common_cmd.h:634
uint16_t commandNo
The command ID number 0x080C.
Definition: rf_common_cmd.h:518
Counter Command with Branch of Command Chain.
Definition: rf_common_cmd.h:603
uint16_t commandNo
The command ID number 0x0601.
Definition: rf_common_cmd.h:832
Read RF Core Hardware Register.
Definition: rf_common_cmd.h:831
Set Radio Timer Channel in Compare Mode.
Definition: rf_common_cmd.h:907
uint32_t ratmr_t
Type definition for RAT.
Definition: rf_mailbox.h:57
uint16_t commandNo
The command ID number 0x0005.
Definition: rf_common_cmd.h:844
uint8_t __dummy1
Reserved
Definition: rf_common_cmd.h:265
ratmr_t rat0
The returned RAT timer value corresponding to the value the RAT would have had when the RTC was zero...
Definition: rf_common_cmd.h:418
Asynchronously Start Radio Timer Command.
Definition: rf_common_cmd.h:811
uint16_t commandNo
The command ID number.
Definition: rf_common_cmd.h:113
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:178
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used...
Definition: rf_common_cmd.h:537
uint16_t __dummy0
Definition: rf_common_cmd.h:884
uint16_t __dummy3
Definition: rf_common_cmd.h:1049
uint16_t commandNo
The command ID number 0x0405.
Definition: rf_common_cmd.h:812
uint16_t commandNo
The command ID number 0x0015.
Definition: rf_common_cmd.h:1021
Re-calculate rat0 value while RAT is running.
Definition: rf_common_cmd.h:458
uint8_t __dummy2
Reserved
Definition: rf_common_cmd.h:266
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:278
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:635
uint16_t __dummy0
Definition: rf_common_cmd.h:1046
uint8_t ratCh
The radio timer channel number.
Definition: rf_common_cmd.h:909
uint16_t commandNo
The command ID number 0x0802.
Definition: rf_common_cmd.h:177
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:309
uint8_t mode
The main mode to use 0x00: BLE 0x01: IEEE 802.15.4 0x02: 2 Mbps GFSK 0x05: 5 Mbps coded 8-FSK 0x...
Definition: rf_common_cmd.h:698
ratmr_t compareTime
The time at which the compare occurs.
Definition: rf_common_cmd.h:911
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:124
uint16_t commandNo
The command ID number 0x0010.
Definition: rf_common_cmd.h:998
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:305
Abort Running Radio Operation Command.
Definition: rf_common_cmd.h:744
Remove Pending Entries from Queue.
Definition: rf_common_cmd.h:894
uint16_t commandNo
The command ID number 0x0804.
Definition: rf_common_cmd.h:277
uint8_t triggerNo
Command trigger number.
Definition: rf_common_cmd.h:788
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:548
uint16_t commandNo
The command ID number 0x0011.
Definition: rf_common_cmd.h:1045
uint16_t fractFreq
Fractional part of the frequency to tune to.
Definition: rf_common_cmd.h:1051
uint8_t ratCh
The radio timer channel number.
Definition: rf_common_cmd.h:977
uint32_t syncWord
Sync word to use for receiver.
Definition: rf_common_cmd.h:338
uint8_t * pEntry
Pointer to the entry that was removed.
Definition: rf_common_cmd.h:860
uint16_t commandNo
The command ID number 0x0403.
Definition: rf_common_cmd.h:765
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override.
Definition: rf_common_cmd.h:777
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:350
Type definition for a data queue.
Definition: rf_mailbox.h:62
uint16_t txPower
Transmit power.
Definition: rf_common_cmd.h:729
uint16_t commandNo
The command ID number.
Definition: rf_common_cmd.h:680
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:494
uint16_t frequency
The frequency in MHz to tune to.
Definition: rf_common_cmd.h:256
uint16_t commandNo
The command ID number 0x0807.
Definition: rf_common_cmd.h:304
uint8_t ratCh
The radio timer channel number.
Definition: rf_common_cmd.h:988
uint32_t syncWord
Sync word to use for transmitter.
Definition: rf_common_cmd.h:388
uint8_t * pValue
Pointer to read from, or offset from last RX entry if patternOpt.bRxVal == 1.
Definition: rf_common_cmd.h:669
Respond with Command ACK Only.
Definition: rf_common_cmd.h:821
uint16_t commandNo
The command ID number 0x0810.
Definition: rf_common_cmd.h:574
uint16_t commandNo
The command ID number 0x0816.
Definition: rf_common_cmd.h:459
Set New Synthesizer Frequency without Recalibration.
Definition: rf_common_cmd.h:1060
uint16_t commandNo
The command ID number 0x080D.
Definition: rf_common_cmd.h:547
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used...
Definition: rf_common_cmd.h:227
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:605
uint32_t cmdrVal
Value as would be written to CMDR.
Definition: rf_common_cmd.h:593
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:354
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:685
uint16_t commandNo
The command ID number 0x0608.
Definition: rf_common_cmd.h:1034
Synchronize and Stop Radio Timer Command.
Definition: rf_common_cmd.h:398
int16_t freqOffset
Relative frequency offset, signed, scaled by 2-22
Definition: rf_common_cmd.h:1035
uint16_t commandNo
The command ID number 0x0406.
Definition: rf_common_cmd.h:822
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:464
ratmr_t rat0
The desired RAT timer value corresponding to the value the RAT would have had when the RTC was zero...
Definition: rf_common_cmd.h:478
uint16_t txWord
Value to send to the modem before whitening.
Definition: rf_common_cmd.h:378
Definition: rf_common_cmd.h:122
uint16_t fractFreq
Fractional part of the frequency to tune to.
Definition: rf_common_cmd.h:1063
Update Radio Settings Command.
Definition: rf_common_cmd.h:774
uint16_t commandNo
The command ID number 0x0812.
Definition: rf_common_cmd.h:604
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_common_cmd.h:430
Receiver Test Command.
Definition: rf_common_cmd.h:303
uint16_t commandNo
The command ID number 0x0009.
Definition: rf_common_cmd.h:895
uint16_t commandNo
The command ID number 0x0404.
Definition: rf_common_cmd.h:787
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:639
uint16_t commandNo
The command ID number 0x080A.
Definition: rf_common_cmd.h:429
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:128
uint8_t __dummy0
Reserved, always write 0
Definition: rf_common_cmd.h:264
uint16_t commandNo
The command ID number 0x0604.
Definition: rf_common_cmd.h:954
Flush Data Queue.
Definition: rf_common_cmd.h:869
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:282
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_common_cmd.h:552
Set TX power with possibility to switch between PAs.
Definition: rf_common_cmd.h:1020