sudomesh / disaster-radio

A (paused) work-in-progress long-range, low-bandwidth wireless disaster recovery mesh network powered by the sun.
https://disaster.radio
1.06k stars 107 forks source link

Linux Client For BLE Connection To Node #71

Open pqhf5kd opened 4 years ago

pqhf5kd commented 4 years ago

Is anyone planning a Linux client to talk to a node over BLE like the Android app?

paidforby commented 4 years ago

@pqhf5kd That's a great idea! I, personally, do not have plans for a writing a Linux BLE application, but I encourage someone to give it a shot. I'm not sure what all would be involved, but I imagine it could connect to the same client code as the Android app, i.e. BleUartClient.cpp. That was written by @beegee-tokyo, who may have some insights about what would be needed in making a Linux application work with it.

beegee-tokyo commented 4 years ago

A Linux BLE app for DisasterRadio should be not to difficult. The communication is using standard BLE UART characteristic, so all needed there is to parse the messages. The protocol is similar to the one of the Web Socket interface. More challenging might be the UI.

I personally have zero experience with writing Linux apps.

paidforby commented 4 years ago

I may eventually look in to building a Linux app of some kind if I start working on supporting the LoStik, as I mentioned in #70. I feel that node.js/Electron could be a good route to pursue for a Linux app, but I don't have much experience with building Linux applications either.