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

Periodical transmit over the mesh network

Hi guys,

I want to implement the periodical transmit over the mesh network. I have 3 nRF52832 DK, and I use the nRF OpenMesh example.

What would be the best way to implement this feature? I have tried the nRF Connect - Mesh PC tool but it doesn't support this option.

I have also tried with the interactive_console.py script from the repo, but there is no documentation how to use it... Even the simple LED toggling failed with this script.

  • Hi Matija,

    Does it have to be controlled by PC ? If it doesn't, yYou can add a timer in one of the node and then broadcast a packet using rbc_mesh_value_set() or rbc_mesh_value_enable() in the timer timeout. So there will be periodical message over the mesh.

    If you want to send the command from PC, you can use UART to send a command as the mesh note can have ACI interface on UART. Please have a look here. You can write a small program on PC to send data via UART to tell the mesh node to send the data.

  • Hi Hung,

    I have already implement the timer in one of the node just like you mentioned and that works. In case of using the PC to periodically transmit something, I tried to use the interactive_console.py script but without success. An example command how to use the script would be useful.

Related