SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By ahref
#154871
Hello,

While i'm aware you are all probably fed up with SM5100B questions I was wandering if you could help me out with the SOCKSTATUS response.

When sending a
Code: Select all
AT+SDATASTATUS=1
I recieve
Code: Select all
+SOCKSTATUS:1,0,0100,0,0,0
I am keen to debug this myself but am able to post full code if required the question is,

Would anyone know of what the different codes in argument 3 of the response are.

I'm aware that 0104 means not connected yet and that 0102 means connected but what do the others mean?

EDIT: I've been seeing behaviour that seems to demonstrate that 0100 means the connection was not exactly ready. A stray OK occurs after I get the 0100. If this OK occurs before then the code is 0102.

Just got a 2130 in that field.

Seriously If there are 0-9999 codes possible here they must be listed somewhere :'(?