Open shihui2014 opened 1 year ago
Does wpa_supplicant or iw be supported?
You can use ESP-Hosted-NG flavour for that.
okey,thanks a lot!
Can you tell me how to connect wifi using c demo?the cmd is?c_demo.md It's not clear!
I already know!
How can a client obtain an ip address in AP mode? I used the command./test.out softap_start, but the client couldn't get the ip from wifi.
I used the command./test.out softap_start, but the client couldn't get the ip from wifi
Dhcp software remains out of scope as every linux may have diff software. Anyway example of dnsmasq is provided as example
Please check docs.
okey, like this , $ sudo dnsmasq --no-daemon --no-resolv --no-poll \ --dhcp-script=/system/bin/dhcp_announce \ --dhcp-range=192.168.4.1,192.168.4.20,1h
$ sudo ifconfig ethap0 192.168.4.5
i find by dnsmasq
hello @mantriyogesh We are ready for mass production, But found a problem, can not enter the esp download mode, Does it have anything to do with the external pull-up resistance?
Download mode selection depends on GPIO0 pin, EN pin. Please check some details and known ways to handle this behaviour. https://docs.espressif.com/projects/esptool/en/latest/esp32/advanced-topics/boot-mode-selection.html
Also please have a look at 'strapping pins' in esp32 datasheet.
Hello @shihui2014 is the problem solved?
Strapping pins if need to be used, need to pull them up. Check specific Technical Reference manual for more info of pin. Also make sure that you use pin correctly, for using boot mode and download mode.
These limitations will not happen if strapping pins are avoided.
insmod esp32_sdio.ko,can not run esp_probe function i have update dtsi &usdhc2 {
address-cells = <1>;
// no-1-8-v; / force 3.3V VIO / non-removable; pm-ignore-notify; cap-power-off-card; // /delete-property/ wakeup-source; status = "okay";
esp32: esp32@1 { reg = <1>; compatible = "esp32_sdio"; gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; }; }; pinctrl_wifi: wifigrp { fsl,pins = < MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x1b0b0
pinctrl_usdhc2_alt: usdhc2grp_alt { fsl,pins = < MX6UL_PAD_LCD_DATA18USDHC2_CMD 0x17051 MX6UL_PAD_LCD_DATA19USDHC2_CLK 0x17051 MX6UL_PAD_LCD_DATA20USDHC2_DATA0 0x17051 MX6UL_PAD_LCD_DATA21USDHC2_DATA1 0x17051 MX6UL_PAD_LCD_DATA22USDHC2_DATA2 0x17051 MX6UL_PAD_LCD_DATA23USDHC2_DATA3 0x17051
insmod esp32_sio.ko can restart esp32 ,because i have config static int resetpin = 68; the esp32 log is I (647) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (757) phy: phy_version: 4390, 6b3c1f2, Sep 10 2020, 15:09:07, 0, 0 I (1227) SDIO_SLAVE: Using SDIO interface I (1247) wifi:wifi driver task: 3ffde798, prio:23, stack:6656, core=0 I (1247) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (1247) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (1257) wifi:wifi firmware version: 6e1f9e4 I (1257) wifi:config NVS flash: disabled I (1267) wifi:config nano formating: disabled I (1267) wifi:Init data frame dynamic rx buffer num: 32 I (1277) wifi:Init management frame dynamic rx buffer num: 32 I (1277) wifi:Init management short buffer num: 32 I (1287) wifi:Init dynamic tx buffer num: 32 I (1287) wifi:Init static rx buffer size: 1600 I (1287) wifi:Init static rx buffer num: 10 I (1297) wifi:Init dynamic rx buffer num: 32 I (1307) wifi:mode : null I (1307) NETWORK_ADAPTER: Initial set up done kernel log dmesg |grep usdh [2.313463] mmcl: SDHCI ontroller on 2194000.usdhc [2194000.usdhc] using ADMA and /sys/bus/sdio/devices nothing