-->
Page 3 of 27

Re: Source code changes and samples for new AT+ commands

PostPosted: Thu Oct 09, 2014 3:20 am
by Bert
Make sure you check out some existing implementations / specifications. In particular, the u-blox AT command set seems well-documented, including support for multiple links, multiple sockets, direct links and so on (though I see some problems with their direct link specification when the connection is closed by the remote host).

Re: Source code changes and samples for new AT+ commands

PostPosted: Thu Oct 09, 2014 4:06 am
by igrr
Thanks Bert, will check out ublox implementation.
I had some experience with SIMCOM command set for TCP/IP btw, and it was far from trivial to work with.

Re: Source code changes and samples for new AT+ commands

PostPosted: Thu Oct 09, 2014 4:33 am
by Squonk
AFAIK, there is no standard defining the AT commands for TCP/IP connections, but U-Blox implementation is very consistent. Please note the explicit DNS resolution step.

IMHO, it is much better than the awkward Espressif AT command set, with its absolutely non-standard "busy" mechanism, lack of notice when you get connected to an AP, etc.

Re: Source code changes and samples for new AT+ commands

PostPosted: Fri Oct 10, 2014 4:19 am
by igrr
Update: added CWMODE and CWLAP commands, and a GMEM command that prints output of system_get_free_heap_size and system_print_meminfo functions:
AT+GMEM
31976
data : 0x3ffe8000 ~ 0x3ffe8a84, len: 2692
rodata: 0x3ffe8a90 ~ 0x3ffe9a4c, len: 4028
bss : 0x3ffe9a50 ~ 0x3fff3d90, len: 433
OK