Home > other >  The problem of ESP8266 passthrough mode
The problem of ESP8266 passthrough mode

Time:11-06

Now ESP8266 access to the cloud server through a router, in transparent transmission mode, I sent some data, then this is the response of the given, I set up ESP8266 for TCP client, transfer mode for TCP, this is the protocol for the TCP transmission, but as a web server application layer protocol is HTTP protocol, I doubt that the module response is what mean? Is that automatic packing makes an HTTP message, or to transfer the data into HTTP message first, then? Please answer!!!!! Thank you very much!

CodePudding user response:

This is a direct contract software?? His handwritten package??

CodePudding user response:

This is not a contract software, it is a serial debugging assistants, via a serial port to send the AT command to wifi module, wifi module support passthrough mode, there is no such as hand bag, because are wondering the passthrough mode is the data directly to the package into the HTTP protocol,

CodePudding user response:

Building Lord solved not ah, I also is the same problem, very irritated

CodePudding user response:

400 is a server connection failure, as if to packaging HTTP format

CodePudding user response:

Your information - & gt; According to the HTTP packaging - & gt; TCP package to ensure that transport - & gt; Mechanism of material layer, the underlying packaging -- -- -- -- -- & gt; Send - & gt; Receiving - & gt; The underlying unpack - & gt; TCP unpack - & gt; HTTP packet - & gt; The information you

CodePudding user response:

Part of the above things is the HTTP protocol automatically added in baotou, including Agent Language protocol version and the request (GET or POST) the information is, automatic packaging, belong to a part of the HTTP protocol, retrieve only the information you need

CodePudding user response:

TCP packets, can access the HTTP service,
To achieve the correct HTTP service access, you will need to build in accordance with the HTTP protocol TCP packets,
Find a caught software, open a browser to access a web page, you can see the complete TCP request data,

CodePudding user response:

So-called passthrough is that you can take esp8266 as a network cable, after entering passthrough mode, you can not consider the existence of 8266

CodePudding user response:

In simple terms, is not in accordance with the HTTP protocol to send packets to the web server; For a web server to open said, could you send a piece of data to it casually, it will restore 404, this feature can grab a TCP debugging tools to try to know,

CodePudding user response:

That is to say in passthrough mode, the application layer need to form a HTTP packets, sent via TCP to the web server

CodePudding user response:

The need to set package balance HTTP

CodePudding user response:

7th floor right, constructing a get request to line connection port 80
  • Related