supla-espresif-esp restarty w wersji 2.8.20 - 2.8.21

Awatar użytkownika
lesny8
Posty: 2808
Rejestracja: pn gru 11, 2017 9:43 pm

Wireshranka odpalać, czy mogę odpuścić?
Czekam na kolejne Supla Offline Party 👍
Awatar użytkownika
lesny8
Posty: 2808
Rejestracja: pn gru 11, 2017 9:43 pm

Nie wiem czy widziałeś, że w issue @kriegste podkleił buga.
Jest on z maja tego roku, a SDK v3.0.5-dev z lutego 2020 więc jej nie zawiera.
Czekam na kolejne Supla Offline Party 👍
Awatar użytkownika
pzygmunt
Posty: 18282
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Możliwe, że to jest to. Potwierdzę tylko, że w ramkach od Was parser nie znajduje IP.
Awatar użytkownika
pzygmunt
Posty: 18282
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

OK dzięki Panowie za pomoc. Rzeczywiście ramki ACK z logów od Was nie zawierają adresu IP bramki i maski.
Oznacza to, że commit wskazany przez @kriegste prawdopodobnie rozwiązuje problem z DHCP.
Aby to finalnie potwierdzić przetestujcie proszę poniższy firmware.

https://drive.google.com/file/d/179aQC2 ... sp=sharing
Awatar użytkownika
lesny8
Posty: 2808
Rejestracja: pn gru 11, 2017 9:43 pm

Bramka jest na 0.0.0.0 po odnowieniu

Kod: Zaznacz cały

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 2408, room 16 
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0 
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0 
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 16Mbit(1024KB+1024KB)
jump to run user1 @ 1000

V2
Mo
␌�rf cal sector: 507
freq trace enable 0
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 3.0.5-dev(81bde69) compiled @ Jul 22 2021 09:45:04
phy ver: 1156_0, pp ver: 10.2

RST reason: 6
CFG READ SUCCESS!
STATE READ SUCCESS!
Starting 125435
WiFi - Connecting...
Disconnected
WiFi Status: 255
data  : 0x3ffe8000 ~ 0x3ffe9f9e, len: 8094
rodata: 0x3ffe9fa0 ~ 0x3ffec488, len: 9448
bss   : 0x3ffec488 ~ 0x3fff3578, len: 28912
heap  : 0x3fff3578 ~ 0x3fffc000, len: 35464
mode : sta(ec:fa:bc:39:46:0c)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 11
cnt 

connected with ssid, channel 2
dhcp client start...
WiFi Status: 1
ip:192.168.100.217,mask:255.255.255.0,gw:192.168.100.2
WiFi Status: 5
Resolv svr40.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18696
pm open,type:2 0
ip:192.168.100.217,mask:255.255.255.0,gw:0.0.0.0
ACTIVITY TIMEOUT
WiFi - Connecting...
Disconnected
state: 5 -> 0 (0)
rm 0
pm close 7
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 11
cnt 

connected with ssid, channel 2
dhcp client start...
WiFi Status: 1
Disconnected
WiFi - Connecting...
state: 5 -> 0 (0)
rm 0
Disconnected
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 11
cnt 

connected with ssid, channel 2
dhcp client start...
ip:192.168.100.217,mask:255.255.255.0,gw:192.168.100.2
WiFi Status: 5
Resolv svr40.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18440
pm open,type:2 0
Czekam na kolejne Supla Offline Party 👍
Awatar użytkownika
lukfud
Posty: 2091
Rejestracja: czw lis 23, 2017 11:33 pm
Lokalizacja: Warszawa

Kod: Zaznacz cały

00:43:24.392 -> SDK ver: 3.0.5-dev(81bde69) compiled @ Jul 22 2021 09:45:04
00:43:24.392 -> phy ver: 1156_0, pp ver: 10.2
00:43:24.392 -> 
00:43:24.392 -> RST reason: 4
00:43:24.392 -> CFG READ SUCCESS!
00:43:24.392 -> STATE READ SUCCESS!
00:43:24.392 -> Starting 132124
00:43:24.392 -> WiFi - Connecting...
00:43:24.392 -> Disconnected
00:43:24.539 -> WiFi Status: 255
00:43:24.539 -> data  : 0x3ffe8000 ~ 0x3ffe9f9e, len: 8094
00:43:24.539 -> rodata: 0x3ffe9fa0 ~ 0x3ffec488, len: 9448
00:43:24.592 -> bss   : 0x3ffec488 ~ 0x3fff3578, len: 28912
00:43:24.592 -> heap  : 0x3fff3578 ~ 0x3fffc000, len: 35464
00:43:24.592 -> mode : sta(f4:cf:a2:d1:07:72)
00:43:24.592 -> add if0
00:43:24.739 -> WiFi Status: 1
00:43:25.596 -> scandone
00:43:26.544 -> state: 0 -> 2 (b0)
00:43:26.544 -> state: 2 -> 3 (0)
00:43:26.544 -> state: 3 -> 5 (10)
00:43:26.544 -> add 0
00:43:26.544 -> aid 12
00:43:26.544 -> cnt 
00:43:26.597 -> 
00:43:26.597 -> connected with supla_dev, channel 7
00:43:26.697 -> dhcp client start...
00:43:27.499 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:43:27.546 -> WiFi Status: 5
00:43:27.546 -> Resolv svr30.supla.org
00:43:27.546 -> please start sntp first !
00:43:27.599 -> client handshake start.
00:43:27.700 -> client handshake ok!
00:43:27.847 -> Registered and ready.
00:43:27.847 -> Free heap size: 18680
00:43:36.558 -> pm open,type:2 0
00:48:26.202 -> ip:10.0.4.150,mask:255.0.0.0,gw:0.0.0.0
00:48:42.523 -> ACTIVITY TIMEOUT
00:48:42.523 -> WiFi - Connecting...
00:48:42.570 -> Disconnected
00:48:42.570 -> state: 5 -> 0 (0)
00:48:42.570 -> rm 0
00:48:42.570 -> pm close 7
00:48:42.671 -> scandone
00:48:42.671 -> state: 0 -> 2 (b0)
00:48:42.671 -> state: 2 -> 3 (0)
00:48:42.671 -> state: 3 -> 5 (10)
00:48:42.671 -> add 0
00:48:42.671 -> aid 12
00:48:42.724 -> cnt 
00:48:42.724 -> 
00:48:42.724 -> connected with supla_dev, channel 7
00:48:42.724 -> dhcp client start...
00:48:42.771 -> WiFi Status: 1
00:48:42.771 -> Disconnected
00:48:43.272 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:43.325 -> WiFi Status: 5
00:48:43.325 -> Resolv svr30.supla.org
00:48:43.372 -> please start sntp first !
00:48:43.372 -> client handshake start.
00:48:43.472 -> client handshake ok!
00:48:43.626 -> Registered and ready.
00:48:43.626 -> Free heap size: 18552
00:48:44.528 -> WiFi - Connecting...
00:48:44.528 -> state: 5 -> 0 (0)
00:48:44.575 -> rm 0
00:48:44.575 -> Disconnected
00:48:44.675 -> scandone
00:48:44.675 -> state: 0 -> 2 (b0)
00:48:44.675 -> state: 2 -> 3 (0)
00:48:44.675 -> state: 3 -> 5 (10)
00:48:44.675 -> add 0
00:48:44.675 -> aid 12
00:48:44.675 -> cnt 
00:48:44.675 -> 
00:48:44.675 -> connected with supla_dev, channel 7
00:48:44.728 -> dhcp client start...
00:48:44.775 -> WiFi Status: 1
00:48:44.775 -> Disconnected
00:48:45.329 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:45.329 -> WiFi Status: 5
00:48:45.329 -> Resolv svr30.supla.org
00:48:45.377 -> please start sntp first !
00:48:45.377 -> client handshake start.
00:48:45.477 -> client handshake ok!
00:48:45.630 -> Registered and ready.
00:48:45.630 -> Free heap size: 18680
00:48:46.531 -> WiFi - Connecting...
00:48:46.531 -> state: 5 -> 0 (0)
00:48:46.578 -> rm 0
00:48:46.578 -> Disconnected
00:48:46.678 -> scandone
00:48:46.678 -> state: 0 -> 2 (b0)
00:48:46.678 -> state: 2 -> 3 (0)
00:48:46.678 -> state: 3 -> 5 (10)
00:48:46.678 -> add 0
00:48:46.678 -> aid 12
00:48:46.678 -> cnt 
00:48:46.732 -> 
00:48:46.732 -> connected with supla_dev, channel 7
00:48:46.732 -> dhcp client start...
00:48:46.779 -> WiFi Status: 1
00:48:46.779 -> Disconnected
00:48:47.380 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:47.580 -> WiFi Status: 5
00:48:47.580 -> Resolv svr30.supla.org
00:48:47.580 -> please start sntp first !
00:48:47.580 -> client handshake start.
00:48:47.680 -> client handshake ok!
00:48:47.833 -> Registered and ready.
00:48:47.833 -> Free heap size: 18680
00:48:48.580 -> WiFi - Connecting...
00:48:48.580 -> state: 5 -> 0 (0)
00:48:48.580 -> rm 0
00:48:48.580 -> Disconnected
00:48:48.680 -> scandone
00:48:48.680 -> state: 0 -> 2 (b0)
00:48:48.680 -> state: 2 -> 3 (0)
00:48:48.680 -> state: 3 -> 5 (10)
00:48:48.680 -> add 0
00:48:48.680 -> aid 12
00:48:48.680 -> cnt 
00:48:48.680 -> 
00:48:48.680 -> connected with supla_dev, channel 7
00:48:48.733 -> dhcp client start...
00:48:48.780 -> WiFi Status: 1
00:48:48.780 -> Disconnected
00:48:49.480 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:49.580 -> WiFi Status: 5
00:48:49.580 -> Resolv svr30.supla.org
00:48:49.580 -> please start sntp first !
00:48:49.580 -> client handshake start.
00:48:49.733 -> client handshake ok!
00:48:49.833 -> Registered and ready.
00:48:49.833 -> Free heap size: 18688
00:48:50.568 -> WiFi - Connecting...
00:48:50.568 -> state: 5 -> 0 (0)
00:48:50.568 -> rm 0
00:48:50.568 -> Disconnected
00:48:50.697 -> scandone
00:48:50.697 -> state: 0 -> 2 (b0)
00:48:50.697 -> state: 2 -> 3 (0)
00:48:50.697 -> state: 3 -> 5 (10)
00:48:50.697 -> add 0
00:48:50.697 -> aid 12
00:48:50.697 -> cnt 
00:48:50.697 -> 
00:48:50.697 -> connected with supla_dev, channel 7
00:48:50.697 -> dhcp client start...
00:48:50.782 -> WiFi Status: 1
00:48:50.782 -> Disconnected
00:48:51.536 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:51.583 -> WiFi Status: 5
00:48:51.583 -> Resolv svr30.supla.org
00:48:51.583 -> please start sntp first !
00:48:51.583 -> client handshake start.
00:48:51.683 -> client handshake ok!
00:48:51.836 -> Registered and ready.
00:48:51.836 -> Free heap size: 18680
00:48:52.584 -> WiFi - Connecting...
00:48:52.584 -> state: 5 -> 0 (0)
00:48:52.584 -> rm 0
00:48:52.584 -> Disconnected
00:48:52.685 -> scandone
00:48:52.685 -> state: 0 -> 2 (b0)
00:48:52.685 -> state: 2 -> 3 (0)
00:48:52.685 -> state: 3 -> 5 (10)
00:48:52.685 -> add 0
00:48:52.685 -> aid 12
00:48:52.685 -> cnt 
00:48:52.738 -> 
00:48:52.738 -> connected with supla_dev, channel 7
00:48:52.738 -> dhcp client start...
00:48:52.785 -> WiFi Status: 1
00:48:52.785 -> Disconnected
00:48:53.588 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:53.788 -> WiFi Status: 5
00:48:53.788 -> Resolv svr30.supla.org
00:48:53.788 -> please start sntp first !
00:48:53.788 -> client handshake start.
00:48:53.888 -> client handshake ok!
00:48:54.042 -> Registered and ready.
00:48:54.042 -> Free heap size: 18680
00:48:54.589 -> WiFi - Connecting...
00:48:54.589 -> state: 5 -> 0 (0)
00:48:54.589 -> rm 0
00:48:54.589 -> Disconnected
00:48:54.690 -> scandone
00:48:54.690 -> state: 0 -> 2 (b0)
00:48:54.690 -> state: 2 -> 3 (0)
00:48:54.690 -> state: 3 -> 5 (10)
00:48:54.690 -> add 0
00:48:54.690 -> aid 12
00:48:54.690 -> cnt 
00:48:54.743 -> 
00:48:54.743 -> connected with supla_dev, channel 7
00:48:54.743 -> dhcp client start...
00:48:54.790 -> WiFi Status: 1
00:48:54.790 -> Disconnected
00:48:55.644 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:55.791 -> WiFi Status: 5
00:48:55.791 -> Resolv svr30.supla.org
00:48:55.791 -> please start sntp first !
00:48:55.791 -> client handshake start.
00:48:55.892 -> client handshake ok!
00:48:56.045 -> Registered and ready.
00:48:56.045 -> Free heap size: 18680
00:48:56.593 -> WiFi - Connecting...
00:48:56.593 -> state: 5 -> 0 (0)
00:48:56.593 -> rm 0
00:48:56.593 -> Disconnected
00:48:56.693 -> scandone
00:48:56.693 -> state: 0 -> 2 (b0)
00:48:56.693 -> state: 2 -> 3 (0)
00:48:56.693 -> state: 3 -> 5 (10)
00:48:56.693 -> add 0
00:48:56.693 -> aid 12
00:48:56.693 -> cnt 
00:48:56.746 -> 
00:48:56.746 -> connected with supla_dev, channel 7
00:48:56.746 -> dhcp client start...
00:48:56.793 -> WiFi Status: 1
00:48:56.793 -> Disconnected
00:48:57.695 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:57.795 -> WiFi Status: 5
00:48:57.795 -> Resolv svr30.supla.org
00:48:57.795 -> please start sntp first !
00:48:57.795 -> client handshake start.
00:48:57.911 -> client handshake ok!
00:48:58.048 -> Registered and ready.
00:48:58.048 -> Free heap size: 18688
00:48:58.595 -> WiFi - Connecting...
00:48:58.595 -> state: 5 -> 0 (0)
00:48:58.595 -> rm 0
00:48:58.595 -> Disconnected
00:48:58.695 -> scandone
00:48:58.695 -> state: 0 -> 2 (b0)
00:48:58.695 -> state: 2 -> 3 (0)
00:48:58.695 -> state: 3 -> 5 (10)
00:48:58.695 -> add 0
00:48:58.695 -> aid 12
00:48:58.695 -> cnt 
00:48:58.749 -> 
00:48:58.749 -> connected with supla_dev, channel 7
00:48:58.749 -> dhcp client start...
00:48:58.795 -> WiFi Status: 1
00:48:58.795 -> Disconnected
00:48:59.695 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:48:59.795 -> WiFi Status: 5
00:48:59.795 -> Resolv svr30.supla.org
00:48:59.795 -> please start sntp first !
00:48:59.795 -> client handshake start.
00:48:59.896 -> client handshake ok!
00:49:00.049 -> Registered and ready.
00:49:00.049 -> Free heap size: 18552
00:49:00.584 -> WiFi - Connecting...
00:49:00.584 -> state: 5 -> 0 (0)
00:49:00.584 -> rm 0
00:49:00.584 -> Disconnected
00:49:00.731 -> scandone
00:49:00.731 -> state: 0 -> 2 (b0)
00:49:00.731 -> state: 2 -> 3 (0)
00:49:00.731 -> state: 3 -> 5 (10)
00:49:00.731 -> add 0
00:49:00.731 -> aid 12
00:49:00.731 -> cnt 
00:49:00.731 -> 
00:49:00.731 -> connected with supla_dev, channel 7
00:49:00.731 -> dhcp client start...
00:49:00.778 -> WiFi Status: 1
00:49:00.778 -> Disconnected
00:49:01.278 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:01.378 -> WiFi Status: 5
00:49:01.378 -> Resolv svr30.supla.org
00:49:01.378 -> please start sntp first !
00:49:01.431 -> client handshake start.
00:49:01.531 -> client handshake ok!
00:49:01.631 -> Registered and ready.
00:49:01.631 -> Free heap size: 18688
00:49:02.578 -> WiFi - Connecting...
00:49:02.578 -> state: 5 -> 0 (0)
00:49:02.578 -> rm 0
00:49:02.578 -> Disconnected
00:49:02.731 -> scandone
00:49:02.731 -> state: 0 -> 2 (b0)
00:49:02.731 -> state: 2 -> 3 (0)
00:49:02.731 -> state: 3 -> 5 (10)
00:49:02.731 -> add 0
00:49:02.731 -> aid 12
00:49:02.731 -> cnt 
00:49:02.731 -> 
00:49:02.731 -> connected with supla_dev, channel 7
00:49:02.731 -> dhcp client start...
00:49:02.778 -> WiFi Status: 1
00:49:02.778 -> Disconnected
00:49:03.378 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:03.378 -> WiFi Status: 5
00:49:03.378 -> Resolv svr30.supla.org
00:49:03.378 -> please start sntp first !
00:49:03.431 -> client handshake start.
00:49:03.531 -> client handshake ok!
00:49:03.631 -> Registered and ready.
00:49:03.631 -> Free heap size: 18552
00:49:04.578 -> WiFi - Connecting...
00:49:04.578 -> state: 5 -> 0 (0)
00:49:04.631 -> rm 0
00:49:04.631 -> Disconnected
00:49:04.731 -> scandone
00:49:04.731 -> state: 0 -> 2 (b0)
00:49:04.731 -> state: 2 -> 3 (0)
00:49:04.731 -> state: 3 -> 5 (10)
00:49:04.731 -> add 0
00:49:04.731 -> aid 12
00:49:04.731 -> cnt 
00:49:04.731 -> 
00:49:04.731 -> connected with supla_dev, channel 7
00:49:04.731 -> dhcp client start...
00:49:04.831 -> WiFi Status: 1
00:49:04.831 -> Disconnected
00:49:05.378 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:05.378 -> WiFi Status: 5
00:49:05.378 -> Resolv svr30.supla.org
00:49:05.431 -> please start sntp first !
00:49:05.431 -> client handshake start.
00:49:05.531 -> client handshake ok!
00:49:05.678 -> Registered and ready.
00:49:05.678 -> Free heap size: 18680
00:49:06.632 -> WiFi - Connecting...
00:49:06.632 -> state: 5 -> 0 (0)
00:49:06.632 -> rm 0
00:49:06.632 -> Disconnected
00:49:06.732 -> scandone
00:49:06.732 -> state: 0 -> 2 (b0)
00:49:06.732 -> state: 2 -> 3 (0)
00:49:06.732 -> state: 3 -> 5 (10)
00:49:06.732 -> add 0
00:49:06.732 -> aid 12
00:49:06.732 -> cnt 
00:49:06.732 -> 
00:49:06.732 -> connected with supla_dev, channel 7
00:49:06.732 -> dhcp client start...
00:49:06.832 -> WiFi Status: 1
00:49:06.832 -> Disconnected
00:49:07.432 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:07.632 -> WiFi Status: 5
00:49:07.632 -> Resolv svr30.supla.org
00:49:07.632 -> please start sntp first !
00:49:07.632 -> client handshake start.
00:49:07.732 -> client handshake ok!
00:49:07.832 -> Registered and ready.
00:49:07.832 -> Free heap size: 18680
00:49:08.632 -> WiFi - Connecting...
00:49:08.632 -> state: 5 -> 0 (0)
00:49:08.632 -> rm 0
00:49:08.632 -> Disconnected
00:49:08.732 -> scandone
00:49:08.732 -> state: 0 -> 2 (b0)
00:49:08.732 -> state: 2 -> 3 (0)
00:49:08.732 -> state: 3 -> 5 (10)
00:49:08.732 -> add 0
00:49:08.732 -> aid 12
00:49:08.732 -> cnt 
00:49:08.779 -> 
00:49:08.779 -> connected with supla_dev, channel 7
00:49:08.779 -> dhcp client start...
00:49:08.832 -> WiFi Status: 1
00:49:08.832 -> Disconnected
00:49:09.532 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:09.632 -> WiFi Status: 5
00:49:09.632 -> Resolv svr30.supla.org
00:49:09.632 -> please start sntp first !
00:49:09.632 -> client handshake start.
00:49:09.732 -> client handshake ok!
00:49:09.880 -> Registered and ready.
00:49:09.880 -> Free heap size: 18424
00:49:10.634 -> WiFi - Connecting...
00:49:10.634 -> state: 5 -> 0 (0)
00:49:10.634 -> rm 0
00:49:10.634 -> Disconnected
00:49:10.734 -> scandone
00:49:10.734 -> state: 0 -> 2 (b0)
00:49:10.734 -> state: 2 -> 3 (0)
00:49:10.734 -> state: 3 -> 5 (10)
00:49:10.734 -> add 0
00:49:10.734 -> aid 12
00:49:10.734 -> cnt 
00:49:10.734 -> 
00:49:10.734 -> connected with supla_dev, channel 7
00:49:10.781 -> dhcp client start...
00:49:10.835 -> WiFi Status: 1
00:49:10.835 -> Disconnected
00:49:11.636 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:11.636 -> WiFi Status: 5
00:49:11.636 -> Resolv svr30.supla.org
00:49:11.636 -> please start sntp first !
00:49:11.636 -> client handshake start.
00:49:11.736 -> client handshake ok!
00:49:11.883 -> Registered and ready.
00:49:11.883 -> Free heap size: 18688
00:49:12.638 -> WiFi - Connecting...
00:49:12.638 -> state: 5 -> 0 (0)
00:49:12.638 -> rm 0
00:49:12.638 -> Disconnected
00:49:12.738 -> scandone
00:49:12.738 -> state: 0 -> 2 (b0)
00:49:12.738 -> state: 2 -> 3 (0)
00:49:12.738 -> state: 3 -> 5 (10)
00:49:12.738 -> add 0
00:49:12.738 -> aid 12
00:49:12.738 -> cnt 
00:49:12.785 -> 
00:49:12.785 -> connected with supla_dev, channel 7
00:49:12.785 -> dhcp client start...
00:49:12.839 -> WiFi Status: 1
00:49:12.839 -> Disconnected
00:49:13.640 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:13.840 -> WiFi Status: 5
00:49:13.840 -> Resolv svr30.supla.org
00:49:13.840 -> please start sntp first !
00:49:13.840 -> client handshake start.
00:49:13.940 -> client handshake ok!
00:49:14.087 -> Registered and ready.
00:49:14.087 -> Free heap size: 18680
00:49:14.641 -> WiFi - Connecting...
00:49:14.641 -> state: 5 -> 0 (0)
00:49:14.641 -> rm 0
00:49:14.641 -> Disconnected
00:49:14.842 -> WiFi Status: 1
00:49:14.842 -> Disconnected
00:49:15.944 -> scandone
00:49:15.944 -> state: 0 -> 2 (b0)
00:49:15.944 -> state: 2 -> 3 (0)
00:49:15.990 -> state: 3 -> 5 (10)
00:49:15.990 -> add 0
00:49:15.990 -> aid 6
00:49:15.990 -> cnt 
00:49:15.990 -> 
00:49:15.990 -> connected with supla_dev, channel 9
00:49:16.091 -> dhcp client start...
00:49:16.645 -> WiFi - Connecting...
00:49:16.645 -> state: 5 -> 0 (0)
00:49:16.645 -> rm 0
00:49:16.645 -> Disconnected
00:49:16.745 -> scandone
00:49:16.745 -> state: 0 -> 2 (b0)
00:49:16.745 -> state: 2 -> 3 (0)
00:49:16.745 -> state: 3 -> 5 (10)
00:49:16.745 -> add 0
00:49:16.745 -> aid 6
00:49:16.745 -> cnt 
00:49:16.792 -> 
00:49:16.792 -> connected with supla_dev, channel 9
00:49:16.792 -> dhcp client start...
00:49:17.293 -> ip:10.0.4.150,mask:255.255.255.0,gw:10.0.4.1
00:49:17.446 -> WiFi Status: 5
00:49:17.446 -> Resolv svr30.supla.org
00:49:17.446 -> please start sntp first !
00:49:17.446 -> client handshake start.
00:49:17.546 -> client handshake ok!
00:49:17.693 -> Registered and ready.
00:49:17.693 -> Free heap size: 18680
00:49:26.754 -> pm open,type:2 0
https://www.facebook.com/groups/supladiy/
Awatar użytkownika
pzygmunt
Posty: 18282
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Czyli ta poprawka z https://github.com/lwip-tcpip jest średnio OK. Spróbuje to poprawić po swojemu.
Awatar użytkownika
pzygmunt
Posty: 18282
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Awatar użytkownika
lesny8
Posty: 2808
Rejestracja: pn gru 11, 2017 9:43 pm

Kod: Zaznacz cały

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2408, room 16 
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0 
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0 
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 16Mbit(1024KB+1024KB)
jump to run user1 @ 1000

V2
Mo
␌�rf cal sector: 507
freq trace enable 0
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 3.0.5-dev(81bde69) compiled @ Jul 22 2021 09:45:04
phy ver: 1156_0, pp ver: 10.2

RST reason: 6
CFG READ SUCCESS!
STATE READ SUCCESS!
Starting 124987
WiFi - Connecting...
Disconnected
WiFi Status: 255
data  : 0x3ffe8000 ~ 0x3ffe9f9e, len: 8094
rodata: 0x3ffe9fa0 ~ 0x3ffec488, len: 9448
bss   : 0x3ffec488 ~ 0x3fff3578, len: 28912
heap  : 0x3fff3578 ~ 0x3fffc000, len: 35464
mode : sta(ec:fa:bc:39:46:0c)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt 

connected with ssid, channel 2
dhcp client start...
WiFi Status: 1
ip:192.168.100.217,mask:255.255.255.0,gw:192.168.100.2
WiFi Status: 5
Resolv svr40.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18696
pm open,type:2 0
ip:192.168.100.217,mask:255.255.255.0,gw:0.0.0.0
ACTIVITY TIMEOUT
WiFi - Connecting...
Disconnected
state: 5 -> 0 (0)
rm 0
pm close 7
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 12
cnt 

connected with ssid, channel 2
dhcp client start...
WiFi Status: 1
Disconnected
ip:192.168.100.217,mask:255.255.255.0,gw:192.168.100.2
WiFi Status: 5
Resolv svr40.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18696
WiFi - Connecting...
state: 5 -> 0 (0)
rm 0
Disconnected
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 12
cnt 

connected with ssid, channel 2
dhcp client start...
WiFi Status: 1
Disconnected
WiFi - Connecting...
state: 5 -> 0 (0)
rm 0
Disconnected
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 12
cnt 

connected with ssid, channel 2
dhcp client start...
ip:192.168.100.217,mask:255.255.255.0,gw:192.168.100.2
WiFi Status: 5
Resolv svr40.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18448
pm open,type:2 0
Czekam na kolejne Supla Offline Party 👍
Awatar użytkownika
Lucas
Posty: 833
Rejestracja: pn lip 31, 2017 7:11 am
Lokalizacja: Chrzanów

Kod: Zaznacz cały


 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 2408, room 16 
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0 
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0 
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 16Mbit(1024KB+1024KB)
jump to run user1 @ 1000

V2
Mo
,ýrf cal sector: 507
freq trace enable 0
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 3.0.5-dev(81bde69) compiled @ Jul 22 2021 09:45:04
phy ver: 1156_0, pp ver: 10.2

RST reason: 6
CFG READ SUCCESS!
STATE READ SUCCESS!
Starting 133222
WiFi - Connecting...
Disconnected
WiFi Status: 255
data  : 0x3ffe8000 ~ 0x3ffe9f9e, len: 8094
rodata: 0x3ffe9fa0 ~ 0x3ffec488, len: 9448
bss   : 0x3ffec488 ~ 0x3fff3578, len: 28912
heap  : 0x3fff3578 ~ 0x3fffc000, len: 35464
mode : sta(dc:4f:22:11:73:f6)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 11
cnt 

connected with ssid, channel 9
dhcp client start...
WiFi Status: 1
ip:10.4.55.93,mask:255.255.255.0,gw:10.4.55.254
WiFi Status: 5
Resolv svr4.supla.org
please start sntp first !
client handshake start.
client handshake ok!
Registered and ready.
Free heap size: 18704
pm open,type:2 0
ip:10.4.55.93,mask:255.0.0.0,gw:10.4.55.254
ip:10.4.55.93,mask:255.0.0.0,gw:10.4.55.254
ODPOWIEDZ

Wróć do „supla-dev”