当前位置:网站首页>Share an esp32 relay
Share an esp32 relay
2022-07-28 02:34:00 【Cocoa core Italy】
One 、 Open source address
This project Apply to esp32esp32-c3 , I haven't tried other models yet
https://github.com/martin-ger/esp32_nat_router
Two 、 Usage flow
- git clone esp-idf-4.4
- git clone https://github.com/martin-ger/esp32_nat_router
- Compile directly , Happy use
3、 ... and 、 Stick the LOG
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x1180
load:0x403ce000,len:0x750
load:0x403d0000,len:0x2aa8
entry 0x403ce000
[0;32mI (183) cpu_start: Pro cpu up.[0m
[0;32mI (193) cpu_start: Pro cpu start user code[0m
[0;32mI (193) cpu_start: cpu freq: 160000000[0m
[0;32mI (193) cpu_start: Application information:[0m
[0;32mI (196) cpu_start: Project name: esp32_nat_router[0m
[0;32mI (201) cpu_start: App version: 1[0m
[0;32mI (206) cpu_start: Compile time: Jul 10 2022 20:14:23[0m
[0;32mI (212) cpu_start: ELF file SHA256: ef0824a284d91945...[0m
[0;32mI (218) cpu_start: ESP-IDF: HEAD-HASH-NOTFOUND[0m
[0;32mI (224) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (231) heap_init: At 3FC98270 len 00027D90 (159 KiB): DRAM[0m
[0;32mI (237) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM[0m
[0;32mI (244) heap_init: At 50000028 len 00001FD8 (7 KiB): RTCRAM[0m
[0;32mI (251) spi_flash: detected chip: generic[0m
[0;32mI (255) spi_flash: flash io: dio[0m
[0;32mI (259) sleep: Configure to isolate all GPIO pins in sleep state[0m
[0;32mI (266) sleep: Enable automatic switching of GPIO sleep configuration[0m
[0;32mI (273) cpu_start: Starting scheduler.[0m
[0;32mI (286) ESP32 NAT router: Command history enabled[0m
[0;32mI (286) cmd_router: ssid xuanzihao-homerun[0m
[0;32mI (296) cmd_router: ent_username [0m
[0;32mI (296) cmd_router: ent_identity [0m
[0;32mI (296) cmd_router: passwd 123456789[0m
[0;32mI (306) pp: pp rom version: 9387209[0m
[0;32mI (306) net80211: net80211 rom version: 9387209[0m
I (326) wifi:wifi driver task: 3fca8820, prio:23, stack:6656, core=0
[0;32mI (326) system_api: Base MAC address is not set[0m
[0;32mI (326) system_api: read default base MAC address from EFUSE[0m
I (336) wifi:wifi firmware version: 7679c42
I (336) wifi:wifi certification version: v7.0
I (336) wifi:config NVS flash: enabled
I (346) wifi:config nano formating: disabled
I (346) wifi:Init data frame dynamic rx buffer num: 32
I (346) wifi:Init management frame dynamic rx buffer num: 32
I (356) wifi:Init management short buffer num: 32
I (356) wifi:Init dynamic tx buffer num: 32
I (366) wifi:Init static tx FG buffer num: 2
I (366) wifi:Init static rx buffer size: 1600
I (376) wifi:Init static rx buffer num: 10
I (376) wifi:Init dynamic rx buffer num: 32
[0;32mI (376) wifi_init: rx ba win: 6[0m
[0;32mI (386) wifi_init: tcpip mbox: 32[0m
[0;32mI (386) wifi_init: udp mbox: 6[0m
[0;32mI (396) wifi_init: tcp mbox: 6[0m
[0;32mI (396) wifi_init: tcp tx win: 5744[0m
[0;32mI (396) wifi_init: tcp rx win: 5744[0m
[0;32mI (406) wifi_init: tcp mss: 1440[0m
[0;32mI (406) wifi_init: WiFi IRAM OP enabled[0m
[0;32mI (416) wifi_init: WiFi RX IRAM OP enabled[0m
[0;32mI (416) ESP32 NAT router: STA regular connection[0m
[0;32mI (2426) ESP32 NAT router: esp_wifi_set_mac = 0[0m
[0;32mI (2426) phy_init: phy_version 907,3369105-dirty,Dec 3 2021,14:55:12[0m
I (2456) wifi:mode : sta (7c:df:a1:b1:2d:84) + softAP (10:22:33:44:55:66)
I (2466) wifi:enable tsf
I (2466) wifi:Total power save buffer number: 16
I (2466) wifi:Init max length of beacon: 752/752
chan:1,max_power:80
chan:2,max_power:80
chan:3,max_power:80
chan:4,max_power:80
chan:5,max_power:80
chan:6,max_power:80
chan:7,max_power:80
chan:8,max_power:80
chan:9,max_power:80
chan:10,max_power:80
chan:11,max_power:80
chan:12,max_power:80
chan:13,max_power:80
chan:14,max_power:80
I (2496) wifi:Init max length of beacon: 752/752
[0;32mI (2496) ESP32 NAT router: wifi_init_apsta finished.[0m
I (2506) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<1,0>, prof:1
I (2506) wifi:state: init -> auth (b0)
[0;32mI (2516) ESP32 NAT router: connect to ap SSID: xuanzihao-homerun [0m
I (2516) wifi:state: auth -> assoc (0)
[0;32mI (2526) gpio: GPIO[2]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
I (2536) wifi:state: assoc -> run (10)
[0;32mI (2536) ESP32 NAT router: NAT is enabled[0m
[0;32mI (2536) ESP32 NAT router: Starting config web server[0m
I (2546) wifi:connected with xuanzihao-homerun, aid = 4, channel 1, BW20, bssid = 58:d9:d5:72:5c:98
I (2556) wifi:security: WPA2-PSK, phy: bgn, rssi: -23
I (2556) wifi:pm start, type: 1
I (2566) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 0, mt_pti: 25000, mt_time: 10000
[0;32mI (2576) HTTPServer: Starting server on port: '80'[0m
W (2576) wifi:<ba-add>idx:0 (ifx:0, 58:d9:d5:72:5c:98), tid:0, ssn:2, winSize:64
[0;32mI (2586) HTTPServer: Registering URI handlers[0m
I (2596) wifi:B
ESP32 NAT ROUTER
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
[5n
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Putty instead.
esp32> [0;32mI (5306) esp_netif_handlers: sta ip: 192.168.2.104, mask: 255.255.255.0, gw: 192.168.2.1[0m
[0;32mI (5306) ESP32 NAT router: got ip:192.168.2.104[0m
[0;32mI (5316) ESP32 NAT router: set dns to:192.168.2.1[0m
边栏推荐
- When iPhone copies photos to the computer, the device connection often fails and the transmission is interrupted. Here's the way
- 【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
- Say yes, I will love you, and I will love you well
- Today in history: the father of database passed away; Apple buys cups code; IBM chip Alliance
- 借助Elephant&nbsp;Swap打造的ePLATO,背后的高溢价解析
- 【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动
- MySQL create stored procedure ------ [hy000][1418] this function has none of deterministic, no SQL
- Leetcode hot topic Hot 100 - > 2. Add two numbers
- Flume (5 demos easy to get started)
- Day6 函数和模块的使用
猜你喜欢

Learn this trick and never be afraid to let the code collapse by mistake

MYSQL解决死锁之路 - 常见 SQL 语句的加锁分析

Say yes, I will love you, and I will love you well

Plato Farm在Elephant Swap上铸造的ePLATO是什么?

Chapter 3 business function development (batch export of market activities, Apache POI)
![This operation may not be worth money, but it is worth learning | [batch cutting of pictures]](/img/e8/a34e471b0089f8085b140c74b5c01f.jpg)
This operation may not be worth money, but it is worth learning | [batch cutting of pictures]

Wechat campus bathroom reservation applet graduation design finished product (1) development outline

How MySQL uses indexes (glory Collection Edition)

作业7.27 IO进程

MySQL锁系列之锁算法详解(荣耀典藏版)
随机推荐
Flume (5 demos easy to get started)
MySQL锁系列之锁算法详解(荣耀典藏版)
Aike AI frontier promotion (7.14)
智能合约安全——selfdestruct攻击
Clear the cause of floating and six methods (solve the problem that floating affects the parent element and the global)
MySQL explain (glory Collection Edition)
探究flex-basis
LeetCode 热题 HOT 100 -> 3. 无重复字符的最长子串
正则表达式
Two ways for wechat applet to realize dynamic horizontal step bar
Necessary knowledge points of the original group
Deep Residual Learning for Image Recognition浅读与实现
Eredi reappeared at the digital China Summit and continued to deepen the protection of green waters and mountains with science and technology
作业7.27 IO进程
Alipay applet authorization / obtaining user information
Detailed explanation of the lock algorithm of MySQL lock series (glory Collection Edition)
MySQL pymysql operation
Mysql Explain 详解(荣耀典藏版)
【软件测试】—— 自动化测试之unittest框架
【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动