3.5 b1 wireless connection reporting
-
I have my printer connected via a wireless connection to an AP which is Wireless G but the report (M122) is saying its "n" my wireless on the duet3 mini 5 is and wroom esp 32 , i tried to connect it to my AP whish is 802.11n , but the control board wont connect as expected.
Only looking at this as ive been getting a few of these in the consoe "HTTP request timed out"
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.5beta1 (2022-12-23 18:25:34) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: 3R9YY-6T9RL-D65J0-40KMN-2UW2Z-RHYT0
Used output buffers: 1 of 40 (31 max)
=== RTOS ===
Static ram: 102208
Dynamic ram: 117520 of which 140 recycled
Never used RAM 18916, free system stack 152 words
Tasks: NETWORK(notifyWait,14.3%,224) HEAT(notifyWait,0.0%,351) Move(notifyWait,0.0%,296) CanReceiv(notifyWait,0.0%,941) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,342) TMC(notifyWait,1.2%,114) MAIN(running,83.7%,413) IDLE(ready,0.0%,30) AIN(delaying,0.8%,263), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:09:42 ago, cause: power up
Last software reset at 2023-02-03 13:57, reason: User, GCodes spinning, available RAM 18564, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
MCU revision 3, ADC conversions started 583022, completed 583022, timed out 0, errs 0
Step timer max interval 1473
MCU temperature: min 33.1, current 33.8, max 34.4
Supply voltage: min 23.8, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/11, heap memory allocated/used/recyclable 2048/424/204, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 22799, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 22800, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 22800, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 22799, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 188, read errors 0, write errors 0, ifcnt 22, reads 22799, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 5: standstill, SG min 8, read errors 0, write errors 0, ifcnt 22, reads 22800, writes 0, timeouts 0, DMA errors 0, CC errors 0
Driver 6: standstill, SG min 138, read errors 0, write errors 0, ifcnt 21, reads 22800, writes 0, timeouts 0, DMA errors 0, CC errors 0
Date/time: 2023-02-03 14:10:25
Cache data hit count 1145125406
Slowest loop: 3.94ms; fastest: 0.14ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 0.6ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 3, maxWait 0ms, bed compensation in use: none, comp offset 0.000
no step interrupt scheduled
=== DDARing 0 ===
Scheduled moves 2, completed 2, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Movement locks held by null, null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 0, axes/extruders owned 0x0000803
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0 sensor: ok
=== CAN ===
Messages queued 2256, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 1253/0/0
Tx timeouts 0,0,1253,0,0,1003 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 101.20ms; fastest: 0.06ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 2
WiFi firmware version 1.27
WiFi MAC address f0:08:d1:02:a1:0b
WiFi Vcc 3.34, reset reason Power up
WiFi flash size 2097152, free heap 26456
WiFi IP address 192.168.0.19
WiFi signal strength -58dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0 -
@moth4017 802.11n could mean either 2.4GHz or 5GHz frequency bands. IIUC, the ESP only supports 2.4GHz networks, so make sure your AP is using 2.4GHz as well. If you have a dual band wifi router, you may need to give the 2.4GHz and the 5GHz network different names to get this sorted out.
-
@oliof I have 2 access points both 2.4g, one is 802.11b/g and the other 802.11n. Both using the same encryption , the esp wifi can only connect to the 802.11b/g , I have the Mac address mapped to an ip address , are there other setting required in the configuration file for 802.11n? ,
-
@moth4017 I wouldn't know, but it may be that since both APs use the same SSID, the b/g may have the better signal and is preferred.
-
@oliof what i was wondering originally when i print the diag log it reports wireless "n " when its on "g" see above
WiFi signal strength -58dBm, mode 802.11n, reconnections 0, sleep mode modem
-
@moth4017 you might want to try version 2.1beta3 of the WiFi firmware, which you can find at https://github.com/Duet3D/WiFiSocketServerRTOS/releases/tag/2.1beta3.
-
@dc42 do i need to install both?
DuetWiFiServer.bin
DuetWiFiServer_32S3.bincan these be installed Via DWC ..
-
@moth4017 said in 3.5 b1 wireless connection reporting:
DuetWiFiServer.bin
I just installed this one and yes via DWC.
-
Board: Duet 3 Mini 5+ (Mini5plus)
Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.5beta1 (2022-12-23)
Duet WiFi Server Version: 2.1beta3still reporting 802.11n
WiFi firmware version 2.1beta3
WiFi MAC address f0:08:d1:02:a1:0b
WiFi Vcc 3.34, reset reason Power up
WiFi flash size 2097152, free heap 43088
WiFi IP address 192.168.0.171
WiFi signal strength -54dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002001
Socket states: 0 0 0 0 0 0 0 0AP settings
Operating Mode: Access Point
SSID: gopronto
Channel: 1
Mode: 54Mbps (802.11g) -
@moth4017 said in 3.5 b1 wireless connection reporting:
Operating Mode: Access Point
SSID: gopronto
Channel: 1
Mode: 54Mbps (802.11g)so it's now working?
-
@oliof yes its working .. but i was wondering why the M122 was reporting 802.11n and not 802.11g?
-
@moth4017 I don't know why it does that. RRF just asks the ESP firmware what mode it is using, and if it reports multiple modes then RRF just reports the fastest one.