WIP: Exposed Interface mode for setting

This commit is contained in:
attermann committed 2023-12-02 10:14:08 -07:00
1 parent 9e0fb02581
commit 9f0e71bb81
3 files changed
+6 -3

No files matched your search

+3 -1
View File
@@ -259,15 +259,17 @@ void setup_reticulum() {
RNS::Transport::register_interface(ininterface);
RNS::Transport::register_interface(loopinterface);
#ifdef UDP_INTERFACE
udp_interface.mode(RNS::Type::Interface::MODE_GATEWAY);
RNS::Transport::register_interface(udp_interface);
#endif
#ifdef LORA_INTERFACE
lora_interface.mode(RNS::Type::Interface::MODE_GATEWAY);
RNS::Transport::register_interface(lora_interface);
#endif
#ifdef UDP_INTERFACE
RNS::head("Starting UDPInterface...", RNS::LOG_EXTREME);
udp_interface.start("some_ssid", "some_password");
udp_interface.start("some_ssid", "some_password", 2424);
#endif
#ifdef LORA_INTERFACE