Chat freely about anything...

User avatar
By Yaro
#36398 Hi all,

I've a problem with sending packets and reciving packets using AT commands.

I've setup ESP as access point with this commands via Serial Monitor:

AT+RST
AT+CWMODE=3
AT+CWSAP="ESP","1234567890",1,0

After this I've connected my phone to ESP AP.
Now I've send this commands:

AT+CWLIF
-> 192.168.4.100
AT+CIPSTART="UDP","192.168.4.100",55005,55000,0
-> OK

Now when I send a packed I use this command:
AT+CIPSEND=10
> 1234567890
And I have as response:
-> wrong syntax
-> ERROR
-> SEND OK
but I've ERROR and SEND OK in same response. The packet seems arrives(just pair of numbers for each number I send) correctly. Why this error?

Now I want to recive a packet, but every command I send to recive packets is not working:

+IPD,10
-> wrong syntax
-> ERROR

+IPD,10:
-> wrong syntax
-> ERROR

+IPD
-> wrong syntax
-> ERROR

AT+IPD,1
-> ERROR

AT+IPD,1:
-> ERROR

AT+IPD,1:1
-> ERROR

Why this? since I've had problems to recive packets to my phone using 1000 as port, maybe can be a port error? Or maybe I need to send packets before use +IPD?

Thank you!