-
Notifications
You must be signed in to change notification settings - Fork 28
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
some thoughts and ideas/enhancements #17
Comments
I can check off a couple of the things on this list. I would love to hear from the creator thou about some of these changes. On the ESP32 branch that I've been working on, I have the BEACON sketch sending JSON strings, and the PAGER Sketch decoding the strings. I am able to phase that string and display it nicely. Using JSON it also easy to change the data that is being sent. I would also like to propose a change from using BEACON to maybe SENS for SENSOR data being passed, and reserve BEACON to announce that there is a LoRaHam network in the area. I would also suggest adding a general location to the protocol, that would help to keep packages that need to stay local - local. It wouldn't need to be precise maybe just the grid square like for me EM79 would work, even thou I do travel and sometime leave me "home" grid. |
I think it would be a good idea to keep the message format as human-readable as possible. What do you think about separating the parameters from the message with a vertical bar? Something like:
I was thinking about using a colon, but it can cause problems if you attach it to the previous word without spaces (as it's very likely a desired character for parameters, i.e. MAC addresses). About the RT count I don't only like the idea, it seems fundamental to me. If you have a loop of automatic repeaters in your network, without a TTL it would keep going from repeater to repeater forever. The TTL can be a parameter which, if/when omitted, would mean that it shouldn't be relayed automatically (a human operator can decide to manually send it again). |
Oh, and about the addition of more dummy destinations, it makes a lot of sense. |
Sorry for my late reply, I didn't get notified that someone responded. I may come back to this idea thou, I'm thinking of how to interface into the APRS system, and be able to send messages easily. |
Couple of thoughts I had while converting the pager.ino for use with a ESP32 board
Tokenize (sp) the sending string - making it easier to manipulate on the rx side.
IE:
BEACON KD8BXP-10 VCC=3.742 Count=123 200mAh ESP32
would become something like thisBEACON;KD8BXP-10;VCC=3.742 Count=123 200mAh ESP32
And for RT it would become something like this:
BEACON;KD8BXP-10;VCC=3.742 Count=123 200mAh ESP32;RT KK4VCZ rssi=-46
The next RT would just add to the end without another ";" IE:BEACON;KD8BXP-10;VCC=3.742 Count=123 200mAh ESP32;RT KK4VCZ-16 rssi=-46 RT AB3XL-10 rssi=-80
This could be easy split, for display on a small OLED or other small screen.
To: BEACON From: KD8BXP-10 MSG: VCC=3.742 Count=123 200mAh ESP32
and on another screenRT KK4VCZ-16 rssi=-46 RT AB3XL-10 rssi=-80
if there are RTsMy other thought would be to add some type of RT count, or the ability to know if "you" have already RT the packet. That being said, I have only looked at the code for BEACON and PAGER at this point. And if a filter is build into the gateway code then disregard this idea :-) (software could do this pretty easy)
You might considering adding something to the protocol that would tell a gateway to gate the message to the internet. And a way to track that it was gated, so it doesn't get gated a bunch of times. *I'm thinking maybe a semi-private MQTT server somewhere, the gateways could subscribe and publish to a "LoRaHam" topic for passing messages across the internet. I need to think about this idea a little more, and see how that fits into the plan. Using MQTT clients could be written that just use the internet to pass traffic. *
Some other ideas go into hardware design for the "pager" -
The board I have is a WIFI_LoRa_32 board, I found cheap on Aliexpress. It's is a ESP32, a 433Mhz SX1278 LoRa board, has a OLED (.96 I think), battery connector, and lots of GPIO. It's not without it's issues - Like radiohead library doesn't compile with it (hench, converting BEACON and PAGER to a different library), The Adafruit_SSD1306 doesn't work with it. (Someone converted that library for the ESP8266 and called it ESP_SSD1306 it's a drop in replacement for the Adafruit library) Unfortunately I couldn't get ESP_SSD1306 to work. And had to use a different SSD1306 library (link is in the sketch) But it was not a direct drop in replacement. Another issue with the board is some of the GPIO pins are covered by the OLED screen (IE: it would be hard to solder pins without damage to the screen - and something I need to look at closer)
Some of my ideas to add to the hardware/software:
Specific to the ESP32 hardware:
Lastly
The text was updated successfully, but these errors were encountered: