thesolarnomad / lora-serialization

LoraWAN serialization/deserialization library for The Things Network
MIT License
165 stars 27 forks source link

Is this library still active and relevant? #43

Closed hpssjellis closed 2 years ago

hpssjellis commented 2 years ago

@joscha Is this library still active and relevant?

Hi Joscha. Great library. I noticed that not much has happened on this repo for a few years, is that because it was just so well written it doesn't need any improvements or has it faded from use?

I am trying to understand serialization and wanting to write a tutorial to use encoding and decoding on the Helium Network . This repo seems the best that I have found so far, easy enough to understand and looks useful. Any opinions?

joscha commented 2 years ago

@hpssjellis it's true there is not much momentum on the code itself, however I believe it's still being used in various places. You can see so by looking at the network graph and mentions of it in presentations, etc. Whether it is the best, I have no idea and it'd be quite presuming on my behalf to make that claim. I do think the data type set is fairly complete, e.g. most standard sensor data out there can be sent with it out of the box and for more elaborate messages my assumption is that people use something more custom like protobuf. I would.

hpssjellis commented 2 years ago

@joscha Thanks so much for the reply. I might use your library as it is so easy to understand, however Protobuf.js looks amazing for the javascript side, wondering about the arduino implimentation. Found https://github.com/eric-wieser/nanopb-arduino and will have to research it a bit.

I will close this issue.

joscha commented 2 years ago

Look at the other projects in this org, IIRC correctly one of them uses nano for the Arduino side. It worked like a charm, the only overhead you have is the padding.

hpssjellis commented 2 years ago

Yes, this looks like it @joscha thanks again

https://github.com/thesolarnomad/ttn-proto-utils/blob/ff40fe4cdf9d43600eba6223f037e8409eeb8581/example/arduino/src/main.cpp