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

How to get GAP address from unicast address of mesh node

Hi teams,

I want to find GAP address of sending node after received message.

In client model callback, there is access_message_rx_meta_t argument, and I can get unicast address of sender node by src.value member.

Now I need to know the GAP address of sender node. How I can get this value?

I already tried nrf_mesh_rx_metadata_t, but it has the GAP address of the relay node, not the original sender.

Parents
  • Hi,

    There isn't a way for you to get the GAP address of the sender node. An alternative is to create a model that ask the nodes what their GAP address is.

  • I see. I expected it would be the same case with ethernet address in TCP/IP network.

    I will try to make my vendor model query GAP address of each node.

    Thank you.

Reply
  • I see. I expected it would be the same case with ethernet address in TCP/IP network.

    I will try to make my vendor model query GAP address of each node.

    Thank you.

Children
No Data