Woot, done with BLE receiving. Added some new commands to control it all.
Still need to actually test the KISS output and support transmit.
But its been running all day and seems pretty stable.
Just needed one tweak to the KISS encoder to define our port usage and give myself a way to put BLE data out a different port than LoRa data when in KISS mode.
Planning to also support streaming GPS NMEA over KISS eventually as well as promiscuous mode WiF sniffing.... eventually.
So reserved some values for that stuff.
Here I was thinking the KISS protocol support was going to be hard ✨
Actually this flew together, mostly bc @meph already did all the hard stuff on KISS handling.
So just check which output mode we're in and yeet the data at the BLE data KISS port.
#amateurradio #wardriving #ble #embeded #esp32 #devlog #MeshTNC
First things first, I want to make it so that the ASCII CSV output format for BLE packets roughly matches LoRa packets.
Every packet gets an arrival timestamp, type, RSSI and SNR values. Followed by whatever payload.
In the case of BLE packets there's also a 6 byte MAC so I slap that infront of the payload.
There's no SNR data for BLE so that's always 0.0. But the RSSI is good.
Working on BLE packet sniffing and transmission for MeshTNC, bc who doesn't want to do APRS or meshcore over BLE advertisements 😉
My quick hack feels promising so I think I'll clean this up and PR it.
By the way lorapipe is now called MeshTNC!
We recently noticed we had a naming conflict with an older project so we renamed ours.
MeshTNC is the new name we settled on and both the old and the new project link below should get you to the right place 👇🏿
https://github.com/datapartyjs/MeshTNC
#MeshTNC #lorapipe #meshtastic #meshcore #amateurradio #offgrid #embedded #lora