Open zhou88mang opened 8 months ago
As I understand, that the mac address is not correct on the disconnect event. Give us time to fix this (will reproduce this on master and give you a fix on master)
As I understand, that the mac address is not correct on the disconnect event. Give us time to fix this (will reproduce this on master and give you a fix on master)
ok, thanks!
Is there any progress ??
As I understand, that the mac address is not correct on the disconnect event. Give us time to fix this (will reproduce this on master and give you a fix on master)
any progress ??
Hello @zhou88mang ,
We were off track on this. I will check today and let you know..
Hello @zhou88mang ,
I tried myself with the ESP softAP.
ym2@rpi2:~/h6/esp_hosted_fg/host/linux/host_control/c_support $ sudo ./test.out softap_start
Enable heartbeat with duration 20
Heartbeat operation successful
esp32 softAP started
ethap0 interface down
MAC address 10:97:bd:f0:e1:d5 set to ethap0 interface
ethap0 interface up
Requested operation complete
Sleeping for some time just to showcase heartbeat
2023-12-18 17:43:26 > App EVENT: SoftAP mode: Disconnect MAC[be:bd:5d:41:8d:48]
2023-12-18 17:43:34 > App EVENT: Heartbeat event [0]
2023-12-18 17:43:50 > App EVENT: SoftAP mode: Disconnect MAC[be:bd:5d:41:8d:48]
2023-12-18 17:43:51 > App EVENT: SoftAP mode: Disconnect MAC[be:bd:5d:41:8d:48]
2023-12-18 17:43:54 > App EVENT: Heartbeat event [1]
2023-12-18 17:43:55 > App EVENT: SoftAP mode: Disconnect MAC[be:bd:5d:41:8d:48]
2023-12-18 17:44:03 > App EVENT: SoftAP mode: Disconnect MAC[be:bd:5d:41:8d:48]
Disable Heartbeat
Heartbeat operation successful
ym2@rpi2:~/h6/esp_hosted_fg/host/linux/host_control/c_support $
have you tested on master? I do not see this issue on master..
There might be some race condition in the code. Give me some time..
Over base current master, https://github.com/espressif/esp-hosted/commit/301e94a179c3a9a33d2cb90f90213b34e5e9dd4a , Can you please apply patch GH_278.patch and re-flash ESP?
when i start softap ,and use my phone to connect to esp32, the log as follow wlan ap_start dbbz 12345678 [1062.498237] esp32 softAP started [1062.498362] SoftAp : dbbz start success [1153.280249] ap3 new lease, IP: 192.168.100.100, MAC: 42:6F:C1:66:95:DC [1153.280520] station has connected, IP:192.168.100.100, MAC: 42:6F:C1:66:95:DC the mac adress of my phone is 42:6F:C1:66:95:DC
when i closed wifi of my phone , the log as follow [1166.941242] 1970-01-01 00:19:26 > App EVENT: SoftAP mode: Disconnect MAC[bc:a7:40:3f:00:00] [1166.941567] ap mode : a station: bc:a7:40:3f:00:00 has disc
i do not konow whereMAC[bc:a7:40:3f:00:00] comes from. And the sourcecode i used is esp-hosted-release-fg-v0.0.5