markqvist / RNode_Firmware

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
186 stars 65 forks source link

RNode for ESP32 using ESP-IDF #11

Closed HarlekinSimplex closed 3 years ago

HarlekinSimplex commented 3 years ago

Is there a way to port this code to ESP-IDF to run RNode on a TTGO T-Beam or like ESP32 based LoRa device? Cheers Stephan

markqvist commented 3 years ago

This is something I am working on, and will release more details about after the next release of NomadNet and Reticulum. Since this is not directly an issue with the RNode firware, I'm closing this. You're welcome to use this issue to ask any further questions on the subject though.

markqvist commented 3 years ago

Also, I would be curious to hear about your use-case for this. Would you mind detailing it?

HarlekinSimplex commented 3 years ago

Sure.

We try to build and deploy an emergency radio network at our community.

Initially we opted to use Meshtastic and LoRa as the primary means of communication.

After a while we found out that Mesht has issues with lots of channels and broad coverage of large areas. For that we need to interconnect with other communication technologies.

Now our tech team decided to switch to RNode and Reticulum.

However, our friends around already have purchased quit a lot ESP32 T-Beams for the Meshtastic approach that we don’t want to trash. Further we like to have the Wifi Options and other stuff that’s available on the ESP-IDF platform for the ESP32 as well to do other things with the T-Beams if we so choose.

So I started searching for a way to port the RNode code to ESP-IDF so that we can use the ESP32 via the USB or WiFi as LoRa Device for Reticulum.

Cheers

Stephan

Von: Mark Qvist @.> Gesendet: Dienstag, 5. Oktober 2021 15:58 An: markqvist/RNode_Firmware @.> Cc: Stephan Becker @.>; Author @.> Betreff: Re: [markqvist/RNode_Firmware] RNode for ESP32 using ESP-IDF (#11)

Also, I would be curious to hear about your use-case for this. Would you mind detailing it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/markqvist/RNode_Firmware/issues/11#issuecomment-934439615 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWGJMCC7HP6MECK7SJMHDDUFL747ANCNFSM5FLSQADA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ABWGJMFZLBOTI24QHOKZLX3UFL747A5CNFSM5FLSQADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG6ZGVPY.gif

tomasbrincil commented 3 years ago

Sorry for opening this. But if you check my “issue” with sx1262 it was basically because of tons of tbeams v1.1

markqvist commented 3 years ago

Ah, I understand. Thanks for indulging my curiosity. As hinted above, the current RNode firmware does not port directly to ESP32, since there's way too many low-level calls tied directly to the assumptions of the AVR platform. But there's nothing hindering an ESP32 firmware that is compatible with Reticulum.

The one I am working on now will have modular support for a range of transceivers, including both the SX1262, SX1268, SX1276 and friends in both LoRa and FSK, MSK and GMSK modes, WiFi and Bluetooth, and offer proper multiple access schemes. I should be able to squeeze in a software-defined modem for HF/VHF/UHF radios as well.

tomasbrincil commented 3 years ago

Great to hear! We are bending meshtastic software in our fork to be able work over our UHF repeaters since the coverage area is still much larger than meshtastic can handle. It works now but we are seeking for more features. Really looking forward to see with what you will came. If there will be device with sx1262, GPS (or at leas serial interface ready for NMEA msgs) able to work on repeaters we are buying all of them 🤪 We want some interface to text messagges from phone (at leas terminal app or telnet to esp32 AP WiFi) and computer (which you already have), share position and use it as serial interface aka modem (which you already have too). Cant wait :)))

markqvist commented 2 years ago

There is now initial support for T-Beam devices in the RNode firmware. You can install the RNode firmware automatically using "rnodeconf --autoinstall". Let me know if there's any questions :)