当前位置:网站首页>Esp8266 becomes client and server
Esp8266 becomes client and server
2022-06-30 22:36:00 【Call me sherbus】
1、ESP8266 Become a client for data transparent transmission
Create hotspots with your phone ,ID:Eddie,Pwd:13194472899,PC Connect to this hotspot
testing Wifi modular AT Status and set to STA Pattern ( Pattern 1)

Connect to hotspot

View computer properties PC Of IP Address and through the network debugging assistant PC Configure as server , The port is set to 8081( at will )


Because you are connected to the same server ,Wifi modular AT Configuration lookup IP And port , The two devices can communicate with each other

Enter the passthrough and start the passthrough

Send messages to each other

+++ Quit touzhuan
2、ESP8266 Become the communication between the server and the network debugging assistant
- testing Wifi modular AT Status and set to AP Hot mode ( Pattern 2)

- Hotspot setting port number

- see Wifi IP Address

- The network debugging assistant is set as the client

frequently-used AT Instructions
AT+CWMODE=1 //STA Pattern , Connect to others' hot spots
AT+CWMODE=2 //AP Pattern , Become a hot spot
AT+CWMODE=3 //STA and AP Dual mode
AT+CIFSR // see Wifi The equipment IP Information
AT+CWJAP="ID","PWD" // Join in AP hotspot , account number ID, password PWD
AT+CWSAP="ID","PWD",6,4 // Set up AP hotspot ssid yes ID,password yes PWD,ch The channel is 6,ecn It's encrypted 4 WPA_WPA2_PSK
AT+CIPSTART="TCP","IP Address","PORT" // adopt TCP To connect to ip Address and Port Port server
AT+CIPMODE=0 // Transparence mode off
AT+CIPMODE=1 // Turn on transmission mode
AT+CIPSEND=1 // Start penetrating
AT+CIPMUX=1 // Set to multi connection mode
AT+CIPSERVER=mode,port // for example :AT+CIPSERVER=1,8082 1: Turn on server mode ,port: Set the port
边栏推荐
- Label Contrastive Coding based Graph Neural Network for Graph Classification
- Architecture of IM integrated messaging system sharing 100000 TPS
- The superficial understanding of the industrial Internet finally brought the development of the industrial Internet into the strange circle of the consumer Internet
- 将Nagios监控信息存入MySQL
- 交易所系统开发如何开发?数字货币交易所系统开发成熟技术案例
- leetcode:104. Maximum depth of binary tree
- Niubi | the tools I have treasured for many years have made me free to fish with pay
- B_ QuRT_ User_ Guide(31)
- Why does the computer speed slow down after vscode is used for a long time?
- Two way data binding in wechat applet
猜你喜欢

公有云市场迈入深水区,冷静的亚马逊云还坐得住吗?

远程办公期间,项目小组微信群打卡 | 社区征文

Win11如何优化服务?Win11优化服务的方法

在线客服聊天系统源码_美观强大golang内核开发_二进制运行傻瓜式安装_附搭建教程...

Where can I find the computer device manager

MIT博士论文 | 优化理论与机器学习实践

Redis的缓存穿透、缓存击穿和缓存雪崩

Fastjson V2 简单使用手册

2022-06-30: what does the following golang code output? A:0; B:2; C: Running error. package main import “fmt“ func main() { ints := make

10 airbags are equipped as standard, and Chery arizer 8 has no dead corner for safety protection
随机推荐
远程办公期间,项目小组微信群打卡 | 社区征文
Redis的事务和锁机制
Win11如何优化服务?Win11优化服务的方法
去中心化交易所系统开发技术原理丨数字货币去中心化交易所系统开发(说明案例)
What does the software test report contain? How to obtain high quality software test reports?
How does win11 optimize services? Win11 method of optimizing service
【Android,Kotlin,TFLite】移动设备集成深度学习轻模型TFlite(物体检测篇)
“飞桨+辨影相机”成为AI界的“预制菜”,工业AI质检落地更简单
Classic case of multithreading
In depth analysis of Apache bookkeeper series: Part 4 - back pressure
Deployment of microservices based on kubernetes platform
Alibaba Kube eventer MySQL sink simple usage record
AtCoder Beginner Contest 257
Is it difficult to get a certified equipment supervisor? What is the relationship with the supervising engineer?
机器学习编译入门课程学习笔记第二讲 张量程序抽象
分享十万级TPS的IM即时通讯综合消息系统的架构
[Android, kotlin, tflite] mobile device integration depth learning light model tflite (image classification)
Golang application ━ installation, configuration and use of Hugo blog system
后疫情时代,云计算如何为在线教育保驾护航
Ten of the most heart piercing tests / programmer jokes, read the vast crowd, how to find?