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

How to get nodes' address in Mesh ?

Hi community !
Imagine this configuration :

A -> B -> C

So A can't directly communicate with C. I send a message from A to C (And only C), so this one with be relayed by B. On the status event (in A software) if i put :

p_meta->p_core_metadata->params.scanner.adv_addr.addr[0],
p_meta->p_core_metadata->params.scanner.adv_addr.addr[1],
p_meta->p_core_metadata->params.scanner.adv_addr.addr[2],
p_meta->p_core_metadata->params.scanner.adv_addr.addr[3],
p_meta->p_core_metadata->params.scanner.adv_addr.addr[4],
p_meta->p_core_metadata->params.scanner.adv_addr.addr[5]);

i will get the address of C. Is there a way to get all address of nodes which has relayed this message ? In my example, i will get B and C's address

Thanks

Parents
  • Hi Paul, 

    It's not possible to get the address of all the nodes that have relayed the message to. This information is not included in mesh packet.

    In addition , this address you found is the BLE advertiser address, not the mesh address. It should comes from the neighbor node that relay the message. I 'm not sure why you receive the address of C, most likely you have direct range between A and C. 

Reply
  • Hi Paul, 

    It's not possible to get the address of all the nodes that have relayed the message to. This information is not included in mesh packet.

    In addition , this address you found is the BLE advertiser address, not the mesh address. It should comes from the neighbor node that relay the message. I 'm not sure why you receive the address of C, most likely you have direct range between A and C. 

Children
No Data
Related