请问 CC3200 中有可以直接设置STA模式下的tx power level 的api么? 我看radio tools 的source里面都是在sl_Send 的参数里面带上了这个参数,有没有api可以直接一次性设置的?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问 CC3200 中有可以直接设置STA模式下的tx power level 的api么? 我看radio tools 的source里面都是在sl_Send 的参数里面带上了这个参数,有没有api可以直接一次性设置的?
这是出现在 wlan_AP 例子中的代码:
// Set Tx power level for station mode
// Number between 0-15, as dB offset from max power - 0 will set max power
ucPower = 0;
lRetVal = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID,
WLAN_GENERAL_PARAM_OPT_STA_TX_POWER, 1, (unsigned char *)&ucPower);
ASSERT_ON_ERROR(lRetVal);