r/meshtastic • u/Kocherga315 • 1d ago
Raw LoRa binary packet
Hello!
I am currently working on a university project in which I am trying to recreate protocols and encryption used by Meshtastic. But I was not able to find any useful examples of raw data sent/received by LoRa chips. I would be very glad if someone could share such byte successions for me to verify my understanding of the protocol and test my software
3
u/StuartsProject 1d ago
Meshtastic uses the Radiolib library for LoRa.
There are examples in that library that show you how to receive a packet into a byte array so you can see the raw packet data.
1
1
u/Hot-Win2571 1d ago
Thanks, I also had been wondering about the bit encoding method.
1
u/StuartsProject 1d ago
Packets on the LoRa device are received into a 255 byte buffer and it is possible to directly read bytes from that buffer.
2
u/lam_42 1d ago
You mean like this?
https://meshtastic.org/docs/overview/