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.
I tested light on/off of mesh and it works fine.
So you have the Mesh part working: You know what to do to turn the lights on & off - so all you need is to get your internet stuff to do that!
Yes Mesh is completed.
Want to create a model that took command from uart and send data to corresponding node.
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.
Thanks for suggestion. Is access layer also uses mesh?
Means if I send data via packet_tx() function directly, it will reached to desired node, in mesh, means if node is outside range of node,say gateway node, then is this message will be transmitted to particular mode.
Yes. I would suggest you to have a look at the mesh spec to get a better understanding of what under the hood.
Thanks for clarification. Have an example which uses directly access layer for communication in Mesh. and if you haven't can you guide me a little bit the way to build application directly with access layer.
Thanks for clarification. Have an example which uses directly access layer for communication in Mesh. and if you haven't can you guide me a little bit the way to build application directly with access layer.