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

How To Configure And Using Virtual Address For MESH 3.10

Hi

In MESH 3.10 SDK,i want to configure and use virtual address, but i can't  add the virtual address in both pulication address/subscription address when i use NRF Mesh App. 

Could you please give some samples about how to configure and use the virtual address to send/receive the messages?

I cannot find the Sensor/Linghting models in Mesh 3.10 SDK but there are in the SIG  Bluetooth Specification. could you please tell me where it is or you can send me if you have.

  • Hi,

    Unfortunately, virtual addresses are not supported yet in nRF Mesh. 

    A virtual address is a set of elements associated with a specific label UUID. There are 16384 hash values, which each codifies a set of virtual addresses. There are more possible virtual addresses than 16384 because each hash can represent millions of possible label UUIDs. 

    I think it should be quite similar to defining a group address. See this code below:

    const uint8_t LABEL_UUID[16] = { … };

    dsm_handle_t handle;

    uint32_t err_code = dsm_address_publish_virtual_add(LABEL_UUID, &handle);

    You can read more about the virtual address in section 2.3.5, page 23 of the Mesh Profile Specification.

    Those models aren't implemented in the SDK, which is why you can't find them.

Related