当前位置:网站首页>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
边栏推荐
- HDFS centralized cache management
- [无线通信基础-13]:图解移动通信技术与应用发展-1-概述
- Braces on the left of latex braces in latex multiline formula
- Architecture of IM integrated messaging system sharing 100000 TPS
- Femas: cloud native multi runtime microservice framework
- What is the experience of pairing with AI? Pilot vs alphacode, Codex, gpt-3
- Two way data binding in wechat applet
- 【Android,Kotlin,TFLite】移动设备集成深度学习轻模型TFlite(物体检测篇)
- 电脑版微信文件存储在哪个文件夹可以找到
- Spark - understand partitioner in one article
猜你喜欢

Braces on the left of latex braces in latex multiline formula

10 airbags are equipped as standard, and Chery arizer 8 has no dead corner for safety protection

Classic case of multithreading
![[无线通信基础-13]:图解移动通信技术与应用发展-1-概述](/img/1d/62e55f1b5445d7349ec383879f4275.png)
[无线通信基础-13]:图解移动通信技术与应用发展-1-概述

Web APIs comprehensive case -tab column switching - dark horse programmer

Uniapp routing uni simple router

Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could

分享十万级TPS的IM即时通讯综合消息系统的架构

机器学习编译入门课程学习笔记第二讲 张量程序抽象

【BSP视频教程】BSP视频教程第19期:单片机BootLoader的AES加密实战,含上位机和下位机代码全开源(2022-06-26)
随机推荐
Where can I find the computer device manager
Classic case of multithreading
Anfulai embedded weekly report no. 271: June 20, 2022 to June 26, 2022
腾讯3年,功能测试进阶自动化测试,送给在手工测试中迷茫的你
Doker's container data volume
Yolo target detection
手机上怎么开股票账户?另外,手机开户安全么?
Anfulai embedded weekly report no. 270: June 13, 2022 to June 19, 2022
Summary of interesting websites
[micro service ~nacos] configuration center of Nacos
B_ QuRT_ User_ Guide(33)
总结的一些内存问题
【Android,Kotlin,TFLite】移动设备集成深度学习轻模型TFlite(物体检测篇)
在线客服聊天系统源码_美观强大golang内核开发_二进制运行傻瓜式安装_附搭建教程...
What are the contents and processes of software validation testing? How much does it cost to confirm the test report?
What if the taskbar is blank after win11 update? Solution to blank and stuck taskbar after win11 update
Starting from pg15 xid64 ticket skipping again
Wechat applet transmits parameters (data-) by clicking events
云游戏| 云计算推动游戏行业进入“新纪元”
Meet the StreamNative | 杨子棵:是什么让我放弃了大厂 Offer