This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Communication range between 2 BLE mesh devices

Hi,

Greetings!

We are using following setup

nRF52832 DK

SDK16.0.0

Mesh SDK 4.0.0

Light Switch Server and Client

Here we would like to understand below things

1. Relation between transmission power and communication distance between 2 devices.

If we have to increase communication distance/range then how can we do that?

2. We have observed that on setting 0DBM and POS4DBM 'tx_power' in "set_default_broadcast_configuration()" there is no significant change in distance.

Can you please help us in the same?

3. What else can we do in software configuration to improve range/distance?

Thanks in advance.

Regards,

Dinesh

Parents
  • Hi Dinesh, 
    Do you have a reason why you used set_default_broadcast_configuration() ? It's a static function and you are not supposed to use that function. 

    Instead you should use this function: mesh_opt_core_tx_power_set(). Please refer to network_opt_set() function inside network.c . 
    You need to call mesh_opt_core_tx_power_set() for either CORE_TX_ROLE_ORIGINATOR role or CORE_TX_ROLE_RELAY role. 

    If you want to change the TX power for the GATT proxy role you need to call sd_ble_gap_tx_power_set()

Reply
  • Hi Dinesh, 
    Do you have a reason why you used set_default_broadcast_configuration() ? It's a static function and you are not supposed to use that function. 

    Instead you should use this function: mesh_opt_core_tx_power_set(). Please refer to network_opt_set() function inside network.c . 
    You need to call mesh_opt_core_tx_power_set() for either CORE_TX_ROLE_ORIGINATOR role or CORE_TX_ROLE_RELAY role. 

    If you want to change the TX power for the GATT proxy role you need to call sd_ble_gap_tx_power_set()

Children
Related