AT
AT+IPADDR
AT+CIPCLOSE=0
AT+CIPOPEN=0,"TCP","$IP",$PORT
