mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 13:52:14 +00:00
WIP: Exposed Interface mode for setting
This commit is contained in:
1 parent
9e0fb02581
commit
9f0e71bb81
3 files changed
+6
-3
No files matched your search
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user