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

1 Master Multi Slave Mesh Network

So I have implemented the UART BLE mesh code as mentioned in
devzone.nordicsemi.com/.../send-and-receive-a-string-via-access-layer .

Now I am able to take inputs from the UART port of the client  and send it to the UART port of the Server. But I am unable to do vice versa.

Interestingly, when I change the destination address in the send function from 0xCAFE to 0x0001 which is the provisioner address(in this case the client) the string I send from the server is printed on the debug terminal of the client.But I am unable to find the place where it is received in the client code.

I checked and it does not come into the handle_incoming() function as is the case with the => Client to Server communication.

Can you please help me figure this out?

Parents
  • Hi,

    I don't think the client address is 0x0001. As far as I understand the client node has 4 element, one (0x0001) is the provisioner and then 0x0002, 0x0003, 0x0004 are the address of the clients, respectively. 

    You can check this using dsm_local_unicast_addresses_get() function to get the local unicast address range of the node. 

    Note that on the client, the model only handle SIMPLE_ON_OFF_OPCODE_STATUS opcode .

     

Reply
  • Hi,

    I don't think the client address is 0x0001. As far as I understand the client node has 4 element, one (0x0001) is the provisioner and then 0x0002, 0x0003, 0x0004 are the address of the clients, respectively. 

    You can check this using dsm_local_unicast_addresses_get() function to get the local unicast address range of the node. 

    Note that on the client, the model only handle SIMPLE_ON_OFF_OPCODE_STATUS opcode .

     

Children
No Data
Related