@p.kaczmarek2 Let me make a small correction to your project.
This will allow you to get an IP address via DHCP during the initial configuration of the device on more operating systems, including Windows 10.
Otherwise, the DHCP Server issues:
Option (3) default router 255.255.255.255
Option (6) DNS 255.255.255.255
What some OS don't like
Thanks.
--- hal_wifi_bk7231.c.orig 2022-10-30 08:24:59.000000000 +0300
+++ hal_wifi_bk7231.c 2022-10-30 12:14:00.186536100 +0300
@@ -308,6 +308,8 @@
wNetConfig.wifi_mode = SOFT_AP;
wNetConfig.dhcp_mode = DHCP_SERVER;
+ os_strncpy((char*)wNetConfig.gateway_ip_addr, (char*)APP_DRONE_DEF_NET_GW, sizeof(wNetConfig.gateway_ip_addr));
+ os_strncpy((char*)wNetConfig.dns_server_ip_addr, (char*)APP_DRONE_DEF_NET_GW, sizeof(wNetConfig.dns_server_ip_addr));
wNetConfig.wifi_retry_interval = 100;
if (1)
This will allow you to get an IP address via DHCP during the initial configuration of the device on more operating systems, including Windows 10.
Otherwise, the DHCP Server issues:
Option (3) default router 255.255.255.255
Option (6) DNS 255.255.255.255
What some OS don't like
Thanks.