当前位置:网站首页>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
边栏推荐
- 了解加密行业的“下一个大趋势”——Ventures DAO
- C#引入WINAPI传递中文字符串参数字符集问题
- Today in history: the father of database passed away; Apple buys cups code; IBM chip Alliance
- LeetCode 热题 HOT 100 -> 2.两数相加
- LeetCode 热题 HOT 100 -> 3. 无重复字符的最长子串
- [hcip] BGP Foundation
- MySQL's way to solve deadlock - lock analysis of common SQL statements
- 程序里随处可见的interface,真的有用吗?真的用对了吗?
- Achievements in science and Technology (XXVIII)
- 【愚公系列】2022年07月 Go教学课程 019-循环结构之for
猜你喜欢

Lock mechanism in MySQL database InnoDB storage engine (glory Collection Edition)

Mysql Explain 详解(荣耀典藏版)

Emotional drama in the world Zhou Bingkun lost his job because he saw Tu Zhiqiang and was shot

11 Django basics database operation

一文读懂Plato&nbsp;Farm的ePLATO,以及其高溢价缘由

Use of Day6 functions and modules

Deep Residual Learning for Image Recognition浅读与实现

What is eplato cast by Plato farm on elephant swap?

Clear the cause of floating and six methods (solve the problem that floating affects the parent element and the global)

Leetcode hot topic Hot 100 - > 1. Sum of two numbers
随机推荐
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(3)后台功能
组原必备知识点
重要安排-DX12引擎开发课程后续直播将在B站进行
How is insert locked in MySQL? (glory Collection Edition)
Promise from introduction to mastery (Chapter 1 Introduction and basic use of promise)
作业7.27 IO进程
【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
Flex layout - fixed positioning + flow layout - main axis alignment - side axis alignment - expansion ratio
What is eplato cast by Plato farm on elephant swap?
网络必知题目
埃睿迪再度亮相数字中国峰会 持续深化用科技守护绿水青山
【软件测试】—— 自动化测试之unittest框架
Chapter 3 business function development (batch export of market activities, Apache POI)
[深入研究4G/5G/6G专题-42]: URLLC-14-《3GPP URLLC相关协议、规范、技术原理深度解读》-8-低延时技术-2-基于slot的调度与Slot内灵活的上下行符号配比
MySQL pymysql operation
Manual installation of Dlib Library
Get the difference data of two sets
Common SQL statement query
数字赋能 创新未来:海丝埃睿迪亮相第五届数字中国建设峰会
Smart contract security -- selfdestroy attack