Author: AnjanaM_61 Version: **
CYW20706 consists of a fully integrated Power Amplifier (PA) that supports Class 1 or Class 2 operation. The maximum possible Tx power is +12 dBm for BR/EDR applications and +9dBm for BLE applications. In WICED® 5.2 and later, the wiced_bt_cfg_settings_t structure consists of a maximum power value, where you can specify the maximum transmit power in dBm necessary for your application.
The max Tx power can also be configured using the following API functions. Note that the API definitions are not included in WICED SDK. Nevertheless, these APIs can be used to modify the Tx power.
- wiced_result_t wiced_bt_dev_set_adv_tx_power( int power ); - This API function can be used to change the max Tx power for BLE advertisement. It changes the power to be used on the advertisement channels. Power should be a multiple of 4 from +8 dBm to -16 dBm; i.e., power can be +8, +4, 0, -4, -8, -12, or -16 dBm. Example: wiced_bt_dev_set_adv_tx_power(-8);
- wiced_result_t wiced_bt_dev_set_tx_power( wiced_bt_device_address_t bd_addr , int power ); - This API function can be used to change the max Tx power for a BLE or BR/EDR connection. It changes the power to be used for the data channels for a specific connection. The first parameter should be the device address of the peer device. Power should be a multiple of 4 from +12 dBm to -16 dBm; i.e., power can be +12, +8, +4, 0, -4, -8, -12, or -16 dBm. Example: wiced_bt_dev_set_tx_power(bd_addr,0);