“The documentation needs updating….
To use on a Pi 5 the python GPIO library is no longer supported. To replace the module with one that works:-
In a console window:-
sudo apt remove python3-rpi.gpio
sudo apt install python3-rpi.lgpio
It is also worth pointing out that in the small print of the documentation you state that the product is not supported for use with TTN. Given that this
Is the most popular LoraWan product its very poor and it should not claim LoraWan compatibility in the advertising.
Additionally it is reported that the product’s timing drifts and long messages fail. This prevents in being useful for meshtastic.
To use with Heltec lora modules I had to chnge the following in their example program.....
preambleLength = 8
payloadlength = 30
setSynchWord = 0x12
(The synchword is important as it needs to be the same across the network you are using.
Can only say I am very disappointed in my purchase of two of these modules.!”
“Sadly due to an oversight by waveshare the SX1262 on this board has issues with its clock when sending long messages, with the message limites enforced by many LoraWAN networks, but for things like meshtastic that may send long messages, it will cause issues with sending messages.”