9.15.3 Examples

Example Command Sequence 2: Opening a TCP server socket
→ AT+SOCKO=2                                      //Open a TCP socket
← +SOCKO:5                                        //Socket ID 5 created
← OK
→ AT+SOCKBL=5,5678                                //Bind socket to local port 5678
← OK
← +SOCKIND:6,"1.2.3.4",5678,"11.22.33.44",12345   //New socket connection on port 5678