Hello,
What will happen if I try to change the device's TX power using the vendor-specific command SDC_HCI_OPCODE_CMD_VS_ZEPHYR_WRITE_TX_POWER while LE Power Control feature is active?
Regards,
Chang
Hello,
What will happen if I try to change the device's TX power using the vendor-specific command SDC_HCI_OPCODE_CMD_VS_ZEPHYR_WRITE_TX_POWER while LE Power Control feature is active?
Regards,
Chang
I am not verified this but I think your Vendor Specific command might succeed immediately changing the TX power to a specific value you set, but that is not changing the internal state machine or internal variables of the LEPC feature. So even after your vendor specific command succeeds, the LEPC value might be the final one that might overwrite your vendor specific TX value eventually as the LEPC values are saved internally and mapped to a role of that device. Does that make sense?
Hi Susheel,
Thanks. Is there a way to temporarily disable LEPC so that the VSC takes effect?
Regards,
Chang
No, there is no temporary way to disable it, it need to be disabled permanently if you want your VSC to have full control on the TX power
CONFIG_BT_CTLR_LE_POWER_CONTROL=n CONFIG_BT_POWER_CONTROL=n CONFIG_BT_TRANSMIT_POWER_CONTROL=y