- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in the code in ble_proximity_reporter, I see in the serial logs that tx_power is returned as 4:
WPRINT_BT_APP_INFO( ("Local TX power: %i\n", p_tx_power->tx_power) );
proximity_tx_power_level = p_tx_power->tx_power;
However, looking through the code I was unable to find where this gets set .. seems like its somewhere within the library:
Bluetooth_Low_Energy_Proximity_Reporter_Application
1. Can I change the power level ?
2. Where is the source code for Bluetooth_Low_Energy_Proximity_Reporter_Application ?
Sajid
Solved! Go to Solution.
- Tags:
- ble tx_power
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sajid,
We received additional information from our firmware team. The output power level for ble is fixed;
It is set to 4dBm for adv packets and 10dBm (max output) for LE connection mode.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Moving to the WICED Wi-Fi forums as this application is in the WICED Wi-Fi SDK, not the one for BLE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sajid,
1. Unfortunately, we do not provide an API to change the tx power level.
2. Are you looking for the source code for wiced_bt_dev_read_tx_power()? We can only provide libraries along with the header files for that in <SDK>\libraries\drivers\bluetooth\include\wiced_bt_dev.h.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was hoping to increase BLE Tx Power, but if you don't support a way to change it, there's not much I can do 🙂
Curious, why was this design decision made ?
Also regarding my second question : Where is the source code for Bluetooth_Low_Energy_Proximity_Reporter_Application
.. now that I am getting a bit more familiar with the WICED dev environment, the question doesn't make much sense.
Its really the name of the module I am building.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We checked with the developers previously on this issue and determined that we default to BT Class 1.5 on Tx, which equates to 10dBm.
As jaeyoung mentioned, we unfortunately, we do not provide an API to change the default output power.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how does 4 equate to 10db ?
I thought 4 would be 4db.
Sajid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sajid,
Sorry for the confusion. Which board are you using? We configure the tx power to the default maximum power for maximum range. That max value depends on each board, and the returned value 4 you got is equal to 4dBm which would be the max for the board you are using.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sajid,
We received additional information from our firmware team. The output power level for ble is fixed;
It is set to 4dBm for adv packets and 10dBm (max output) for LE connection mode.
Thanks,
Jaeyoung