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.
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.
Thanks for reply, I see all the models including dimming model they are working as expected.
But the main problem is I can send this value to a fixed configured node.
I need this dimming value to be send to any node, not to a fixed configured node.
In simple, write node ID and dimming value and send it. other node with this ID will receive and set value according to it.
Hi Brevy,
You can change the publication address of a node by using the configuration client (the provisioner).
You can have a look at this video : https://www.youtube.com/watch?v=XthbU9NP0Yg
If you have some thingys you can try the demo yourself on the github link : https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo
But you can do the same with the light switch example.
I know that by configuration client I can change publication address, and using till now.
But every time to change address I have to use mobile. And after some study , I found that we can change the address of publication inside the node by calling address_set() function. But it uses Flash to store data. I want to publish to any node without storing in flash.
Is it possible.
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.