bt_mesh_model_send relayable?

Hello, 

I am looking into relay nodes and my nodes do not seem to relay,

All nodes are provisioned with the same provisioner and have the same keys 

The following configs are enabled - 

CONFIG_BT_MESH_RELAY=y
CONFIG_BT_MESH_RELAY_ENABLED=y
CONFIG_BT_MESH_RELAY_RETRANSMIT_COUNT=5


The messages that are sent are vendor model messages using:
bt_mesh_model_send sent to BT_MESH_ADDR_ALL_NODES. 

bt_mesh_model_send does not have any acknowledgement, am I correct in saying bt_mesh_model_send cannot be relayed? and if not any pointers what to look for in this issue
  •  

    1 - Acknowledged.

    2 - BT_MESH_ADDR_ALL_NODES is not required, This has only been done to see if the message is relayed to all. For the application, there is only one master and several nodes. This will be changed to the node address. 

    3 - TTL is definitely higher than 1. 


    Could you elaborate some more regarding how you are able to observe if a message has been relayed or not?

    The setup was, on/off example, tested until the on/off stopped working with distance. Then moved back within range and another node was added and moved the same distance from the first node. This means the second node not reach the provisioner on its own.

    These distance points become the benchmark for my project. 

    Where you able to confirm if I can set any logs for relays?

  • bt_mesh_send_cb -> end - > err

    returns err code if transmission fails.


  •   All sorted, The nrf custom board has significantly less range than the dev kit, which skewed my results. Relay is working. Next issue is to identify ways to increase range without re-spinning the board. Will have a look at

    CONFIG_BT_CTLR_TX_PWR_PLUS_4
Related