-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for direct APRS messages over WiFi #43
Comments
@kareiva this feature is on my loooong list for "features which i want to habe in the future" 😂 my idea was that the esp is providing an AP with a web service to manage the configuration and to get access to send messages and other stuff. i would like to use my web-configuration implementation as this is perfectly working with the already used json. there is still some work to do in the lib as currently as an example no arrays are supported. |
Yes, the AP is nice, but BLE's complexity pays off with keeping the phone online. Connecting to no-internet AP has to be backed by background 4G/LTE connectivity which probably requires extra configuration on the phone. But let's go with AP first. I will have a look at the web configuration and return. At first glance, there should be no problem to leverage that library. |
@kareiva you are right! having still access to LTE/... is definitely better than having no connection at all. please let me know with a ticket if you want to do some changes 😉 not that we are working on the same 😊 |
If you're already working on your web configuration, it's fine, I'd like to see at least the framework of that first before I conclude to any action. A W-I-P pull request would be nice. Else, I'd be implementing something similar to this: |
Here's an example - @peterus, please have a look if I am on a correct path: |
@kareiva thanks for the first implementation. I do not habe something currently, so go ahead 👍 I was thinking a little bit and I was coming to the conclusion to first skip my ESP-Config Lib. I have to redesign some parts and for the first tests to send a message or to have some logs it is not important -> skip the ESP-Config lib and use the configuration class as you are already doing 😉 Currently I can see that you are using the ESP in the client mode to connect to a wifi. which is good, because on the mobile you should than have still internet and the ESP has internet to! From my side you can continue with your implementation after a quick cleanup 😉 |
Sure, this is just the simple piece of code demonstrating my intent. I will open up a PR with the below:
|
So few updates from my end, tested out the example web-configuration and the
|
@kareiva can you show me the code? i had this issue when i startet the webserver and the esp had no connection to a wifi. |
@peterus not much changed since the example. the webserver starts after the wifi connection: https://github.com/kareiva/LoRa_APRS_Tracker/compare/master...kareiva:wifi_ap?expand=1 |
Okay @peterus, I seem to have figured this out by moving the code around in the |
Now facing some issues when the webserver saves the JSON configuration under the parent element which equals the page name, example:
The |
please leave the configuration for the moment. I need to change here a lot of stuff, so the interface will be heavily changing in the future. You can start to develop the webinterface to show maybe the status or to send the messages. |
To send the messages, the APRS decoder library also needs tweaking. It should literally support both decoding and encoding. I'll start working on a fork. |
🙈 I am NOW redesigning the lib. |
Since the tracker is supposed to be off-grid, I'm considering reusing the WiFi AP (or even BLE) for a small web service to send APRS messages over RF
It would be something similar to the below (and hopefully the iGate will be able to pick it up):
https://github.com/TheNico14/LoRaMessenger
Is anyone interested?
The text was updated successfully, but these errors were encountered: