Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG
SDK syscfg power configuration not working , how i can change default TX power
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.
Hi,
Thank you for reaching out to us. We will look into your question and get back to you as soon as possible. In the meantime, can you provide us with the SDK version you are using as well as which example you are working on?
Best Regards,
Jan
Hi,
We are currently working to find a workaround for this issue but it seems that basic_ble does not take radio/power sysconfig setting yet.
You can change the power directly by calling the following HCI command: HCI_EXT_SetTxPowerDbmCmd()
The function is located in hci.h file.
regards,
Hi,
Where do you call the HCI command?
What is your test to evaluate the Txpower? Which tool are you using for the test?
Let's show me where the command is called.
{
const int8_t txPower = 4;
const uint8_t fraction = 0;
HCI_EXT_SetTxPowerDbmCmd(txPower, fraction);
}
regards,
Hi,
prefer to call it just after the advertisement initialization: in the function peripheral_start() located in app_peripheral.c file
status = BLEAppUtil_initAdvSet(&peripheralAdvHandle_1, &advSetInitParamsSet_1);
if(status != SUCCESS)
{
// Return status value
return(status);
}
status = HCI_EXT_SetTxPowerDbmCmd(txPower, fraction);
if(status != SUCCESS)
{
// Return status value
return(status);
}
Let me know if it works,
Thanks and regards,
Hi,
My apologies. we have also troubles with this command. Thanks for the report, the issue is now in good hands and our R&D is working on this to provide a workaround ASAP.
From my side I'm searching for a patch, from your side is this a production-stop level issue?
regards,