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

Server(internet) controlled light on/off in Mesh Network for nrf52832

How a device in mesh of ble controlled by internet.

I tested light on/off of mesh and it works fine.

but how can I control it from internet.

like with wifi or ethernet modules connected with one of the device.

Parents Reply
  • Yes it's possible. But it's not supported out of the box, you would need to modify the code to update the publication address without storing the dsm. 

    I think the easiest way to do this is that you access the transport layer directly and send the message in raw instead of using the access layer and model. You can have a look at packet_tx() function inside access.c . Inside that function we use nrf_mesh_packet_send() to send the message. You can do the same and modify the tx_params.dst as you wish. 

Children
Related