Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By globalturist
#79986 After I learned how to use the ESP8266-01 with both AT commands and programming the module directly i came across an interesting finding: when programming the module directly if you connect multiple clients to a server you don't need to assign connection id's for each client (I assume they are auto assigned). However, if you use AT commands you must assign a connection id if you want to connect multiple clients to a server because multiple connections require you to call AT+CIPMUX=1 and in turn you than must call AT+CIPSTART with an id between 4 and 0 (in other words you manually assign connection id's for each client).

Also, when using AT commands I came across a bug. Let's say we started a server on one module and a client that connects to the server on another module. If we connect the client with connection id 3 for example and not 0 the server will replay with 0,CONNECT and not with 3,CONNECT. furthermore, if we try to communicate from client to server we will get a link error and if we send data from server on channel 0 we will still receive it on the client side.

These phenomena severely limit the user if he/she chooses to use AT commands. After making the discoveries I thought that there should exist an AT command that auto assigns a connection id to a client upon connection but I wasn't able to find such a command in any firmware version. And so I decided to turn to this forum with 2 simple questions: does such an AT command even exist ? and is it event possible with AT commands ?