// CMD_RADIO_SETUP
rfc_CMD_RADIO_SETUP_t RF_ble_cmdRadioSetup =
{
.commandNo = 0x0802,
.status = 0x0000,
.pNextOp = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx
.startTime = 0x00000000,
.startTrigger.triggerType = 0x0,
.startTrigger.bEnaCmd = 0x0,
.startTrigger.triggerNo = 0x0,
.startTrigger.pastTrig = 0x0,
.condition.rule = 0x1,
.condition.nSkip = 0x0,
.mode = 0x00,
.loDivider = 0x00,
.config.frontEndMode = 0x0,
.config.biasMode = 0x1,
.config.analogCfgMode = 0x0,
.config.bNoFsPowerUp = 0x0,
.txPower = 0x3D3F, ========================>这个对应的实际发射功率是多少?这个要怎么换算?
.pRegOverride = pBleOverrides,
};
Viki Shi:
这个值包含temp. coefficient, Gain Control,Current Bias (IB)以及Boost Bit这四个参数,具体的划分如下:
txPower[15:9]: temp coefficient
txPower[8]: TX BOOST bit
txPower[7:6]: Gain
txPower[5:0]: IB
这四个参数的详解请看:dev.ti.com/…/tx-power.html