lora-aprs / LoRa_APRS_iGate

This is a LoRa APRS iGate/Digi based on an ESP32
https://www.lora-aprs.info
MIT License
357 stars 112 forks source link

TTGO WiFi #325

Open g7kse opened 1 year ago

g7kse commented 1 year ago

Connection to WiFi with TTGO TBeam V1.1 proved to be a bit unusual. Entered correct data for SSID & Password but connection was refused or dropped out. Looked at is-cfg.json again to double check and noticed that DHCP was set to true but the verbose output was showing error to static IP connection. Just thought I'd set DHCP to false and see if the error was repeated but WiFi connection seemed to work

Desktop

Board name:

Debug Log [DEBUG][TaskManager] call setup for RadiolibTask [DEBUG][RadiolibTask] [00:00:00] using SX1278 [DEBUG][TaskManager] call setup for RouterTask [DEBUG][TaskManager] call setup for BeaconTask [DEBUG][TaskManager] call setup for OTATask [DEBUG][TaskManager] call setup for NTPTask [DEBUG][TaskManager] call setup for AprsIsTask [INFO][Main] setup done... [ 7102][V][WiFiGeneric.cpp:383] _arduino_event_cb(): SCAN Done: ID: 128, Status: 0, Results: 3 [ 7103][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 1 - SCAN_DONE [ 7108][I][WiFiMulti.cpp:114] run(): [WIFI] scan done [ 7112][I][WiFiMulti.cpp:119] run(): [WIFI] 3 networks found [ 7118][D][WiFiMulti.cpp:149] run(): ---> 0: [1][10:D7:B0:48:4C:BE] PLUSNET-8KXS (-53) * [ 7126][D][WiFiMulti.cpp:151] run(): 1: [6][24:E1:24:F6:DE:13] Gateway_F6DE13 (-54) [ 7134][D][WiFiMulti.cpp:151] run(): 2: [1][D8:0D:17:B9:94:A8] PLUSNET-8KXS_EXT (-77) * [ 7143][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: 10:D7:B0:48:4C:BE SSID: PLUSNET-8KXS Channel: 1 (-53) [ 7154][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0 [ 7792][V][WiFiGeneric.cpp:355] _arduino_event_cb(): STA Connected: SSID: PLUSNET-8KXS, BSSID: 10:d7:b0:48:4c:be, Channel: 1, Auth: WPA2_PSK [ 7794][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 4 - STA_CONNECTED [INFO][WiFiEvent] WiFi Connected [ 12155][V][WiFiGeneric.cpp:369] _arduino_event_cb(): STA Got New IP:192.168.1.238 [ 12155][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 7 - STA_GOT_IP [ 12159][D][WiFiGeneric.cpp:1098] _eventCallback(): STA IP: 192.168.1.238, MASK: 255.255.255.0, GW: 192.168.1.254 [INFO][WiFiEvent] WiFi MAC: B0:B2:1C:4E:46:0C [INFO][WiFiEvent] WiFi IPv4: 192.168.1.238 [INFO][WiFiEvent] WiFi Gateway: 192.168.1.254 [INFO][WiFiEvent] WiFi DNS1: 192.168.1.254 [INFO][WiFiEvent] WiFi DNS2: 0.0.0.0 [INFO][WiFiEvent] WiFi Hostname: G7KSE-10 [ 12169][I][WiFiMulti.cpp:174] run(): [WIFI] Connecting done. [ 12203][D][WiFiMulti.cpp:175] run(): [WIFI] SSID: PLUSNET-8KXS [ 12208][D][WiFiMulti.cpp:176] run(): [WIFI] IP: 192.168.1.238 [ 12214][D][WiFiMulti.cpp:177] run(): [WIFI] MAC: 10:D7:B0:48:4C:BE [ 12220][D][WiFiMulti.cpp:178] run(): [WIFI] Channel: 1 [DEBUG][WifiTask] WiFi IP address: 192.168.1.238 [INFO][BeaconTask] [00:00:12] G7KSE-10>APLG01:=5429.29NL00335.28W&LoRa iGATE & Digi, Info: github.com/lora-aprs/LoRa_APRS_iGate [ 12382][I][ArduinoOTA.cpp:141] begin(): OTA server at: G7KSE-10.local:3232 [INFO][NTPTask] Current time: 21:01:20 [INFO][AprsIsTask] connecting to APRS-IS server: euro.aprs2.net on port: 14580, with filter: '' [INFO][AprsIsTask] Connected to APRS-IS server!