can't set the tx power on the CYW20735 platform

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mawu_4270096
Level 5
Level 5
50 replies posted 25 replies posted 10 replies posted

Hi:

    the tx power  of  bt mesh modules which we  are  using   is  too  weak. so  I want to  use the API  wiced_bt_set_tx_power to enhance the  tx power.

   however there is no  improvement  in transmit power. so  I  use the  API wiced_bt_dev_read_adv_tx_power(wiced_bt_dev_cmpl_cback_t *p_cback) to read the tx power. the tx power is 0. so  I guess  the  tx  power  is  not  set  successfully

thanks!

mandy

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Mesh uses multi-adv. Please set the TX power by modifying variable wiced_bt_mesh_core_adv_tx_power in mesh_application.c. You can add some code in the mesh_app_init like following:

extern uint8_t wiced_bt_mesh_core_adv_tx_power;

wiced_bt_mesh_core_adv_tx_power = MULTI_ADV_TX_POWER_MAX;

valid values are between 0 and 4

#define MULTI_ADV_TX_POWER_MIN 0

#define MULTI_ADV_TX_POWER_MAX 4

View solution in original post

0 Likes
1 Reply
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Mesh uses multi-adv. Please set the TX power by modifying variable wiced_bt_mesh_core_adv_tx_power in mesh_application.c. You can add some code in the mesh_app_init like following:

extern uint8_t wiced_bt_mesh_core_adv_tx_power;

wiced_bt_mesh_core_adv_tx_power = MULTI_ADV_TX_POWER_MAX;

valid values are between 0 and 4

#define MULTI_ADV_TX_POWER_MIN 0

#define MULTI_ADV_TX_POWER_MAX 4

0 Likes