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.py
main.py
cli.py
ble_rpc.py
ble_services.py
pymesh-debug.py
pymesh-config.py
gps.py
Pytrack
GPS can be usedmesh-interface.py
mesh-internal.py
and loramesh.py