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

Help With some Mesh Related questions

Hi, 

I am using the light switch example with the mesh SDK version  3.10

the provisioning is done with NRF Mesh application (android phone)

1. is there easy way to get the number of online nodes within specific node and their details (RSSI , MAC Address ...)

2. Currently i have managed to to change the Radio Tx power by changing  p_broadcast->params.radio_config.tx_power in set_default_broadcast_configuration() function,

but this is only happens when restarting the node, is it possible to change the tx power in run time?

Thanks.

Parents
  • Hi.

    1.
    You have several options to acheive something like this. You just have to find something  that suits your needs.
    There is also several post about this topic on devzone. You might find a lot of useful information from a quick search.
    I suggest that you take a look at the Heartbeat message.
    Quote BT SIG;
    "Nodes can be configured to send a message known as a Heartbeat message, periodically. The purpose of the Heartbeat message is to indicate to other nodes that the node sending the Heartbeat message is still active and to allow its distance from the recipient to be determined, in terms of the number of hops needed to deliver the Heartbeat message."

    Also take a look at this previous post.
    https://devzone.nordicsemi.com/f/nordic-q-a/37007/rssi-value-of-the-client-from-server/162804

    2.
    Yes, it should be possible to change this on the fly.
    Where do you change the TX-power in your code?

    Best regards,
    Joakim Jakobsen

Reply
  • Hi.

    1.
    You have several options to acheive something like this. You just have to find something  that suits your needs.
    There is also several post about this topic on devzone. You might find a lot of useful information from a quick search.
    I suggest that you take a look at the Heartbeat message.
    Quote BT SIG;
    "Nodes can be configured to send a message known as a Heartbeat message, periodically. The purpose of the Heartbeat message is to indicate to other nodes that the node sending the Heartbeat message is still active and to allow its distance from the recipient to be determined, in terms of the number of hops needed to deliver the Heartbeat message."

    Also take a look at this previous post.
    https://devzone.nordicsemi.com/f/nordic-q-a/37007/rssi-value-of-the-client-from-server/162804

    2.
    Yes, it should be possible to change this on the fly.
    Where do you change the TX-power in your code?

    Best regards,
    Joakim Jakobsen

Children
No Data
Related