This Micropython library is included as frozen scripts in the Pymesh firmware release.
The code is open-sourced in pycom-libraries repository.
It is easily customisable and contributions are welcome using Github PRs.
pymesh_config.py defaults for exact values).PyGo <LoRa MAC>The LED color represents the state of the node in the Mesh network.
Blinking - Send/Receive packet
Magenta - LEADER
Green - ROUTER
White - CHILD,
Red - Searching / Detached from any Pymesh
Cyan - SINGLE LEADER (no other Router in the same Pymesh)
A simple example of usage can be found here.
It can be easily customised, by modifying any file from /lib folder and flashing it to the board. The uploaded file will automatically be executed instead of the frozen one, which is already embedded into the binary firmware.
pymesh.pymain.pycli.pyble_rpc.pyble_services.pypymesh-debug.pypymesh-config.pygps.pyPytrack GPS can be usedmesh-interface.pymesh-internal.py and loramesh.py