Show newer

After disabling logging, our App successfully joins the Network! 🎉 Now we transmit some Data Packets over LoRaWAN

Log: gist.github.com/lupyuen/0d3012

Show thread

For Random Number Generator, select the Entropy Pool ... To generate Strong Random Numbers for our Nonce

Show thread

We enable the Entropy Pool in OS ... To generate Strong Random Numbers for our Nonce

Show thread

Our App resends the same Nonce to the Gateway ... Which (silently) rejects the Join Request due to Duplicate Nonce ... Let's fix our Random Number Generator

gist.github.com/lupyuen/b38434

Show thread

SX1262 will trigger a GPIO Interrupt on OS when it receives a Packet ... We wait for the GPIO Interrupt to be Signalled in a Background Thread

github.com/lupyuen/lora-sx1262

Show thread

runs neater on Apache OS ... After implementing Timers and Multithreading with NimBLE Porting Layer ... No more polling and sleep()!

gist.github.com/lupyuen/cad581

Show thread

@lupyuen If you are used to Lora, you will get very disappointed with Zigbee. I used to use Zigbee, but it was a nightmare... no reach, and almost no actual interop between manufacturers, even though that was a requirement.

@lupyuen I can't really say quite why, but somehow, the more broken the Pinephone (Pro) is, the more I love it. I think it's the sense that this is something that WILL be great, and all the shortcomings now, are just low hanging opportunities to quickly improve, just waiting to happen. Improvements that even I, as a non coder, can help with. (Bug triage, reporting, testing, graphic design,documentation etc). 📱 💕

#Pinephone #PinePhonePro #Pine64 #MobileLinux

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.