Select either the Network or the Datagram API.
| What | Detail |
|---|
| Command | AT#API=<api> |
| Parameter | <api>
N: Network API
D: Datagram API |
| Result codes | OK |
| | ERROR |
When using the DTG interface the following command allows turning the sockets into secure ones, it must be run before opening the sockets
| What | Detail |
|---|
| Command | AT#SECURE=<enable> |
| Parameter | <enable> - Boolean (0 or 1) |
| Result codes | OK |
| | ERROR |
| What | Detail |
|---|
| Command | AT#INIT |
| Parameter | — |
| Result codes | #INIT: <status> |
| Numeric value | Error code | Comment |
|---|
| 3 | MGT_MEM_ERR | insufficient memory |
| 5 | MGT_L2A_ERR | Error returned by the L2A layer |
| 6 | MGT_FRM_ERR | Error returned by the FRM layer |
| 7 | MGT_MUX_ERR | Error returned by the Mux layer |
| 8 | MGT_SYNC_ERR | Error returned by the Sync layer |
| 9 | MGT_CD_ERR | Error returned by the CD layer |
| 21 | MGT_DTGS_ERR | Error returned by the DTGS layer |
| 22 | MGT_DTLS_ERR | Error returned by the DTLS layer |
| 23 | MGT_CERT_ERR | Error returned by the Cert layer |
| What | Detail |
|---|
| Command | AT#SYNC=<timeout>,<retry> |
| Parameters | <timeout> The wait period (in milliseconds) before retransmitting when no answer comes from IPCore |
| | <retry> The maximum number of retransmissions |
| Result codes | #SYNC: <status> |
| | OK |
| | ERROR |
| Numeric value | Error code | Comment |
|---|
| 4 | MGT_OPERATION_NOT_SUPPORTED_ERR | The operation is not supported |
| 5 | MGT_L2A_ERR | Not joined yet |
| 6 | MGT_FRM_ERR | Error returned by the FRM layer |
| 8 | MGT_SYNC_ERR | Error returned by the Sync layer |
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| What | Detail |
|---|
| Command | AT#GETIP |
| Parameter | — |
| Result codes | #GETIP: <ip> The IP is in HEX ASCII format |
| | OK |
| | #GETIP: -<status> In case of error the status is returned as negative in order to differentiate between a succesful return and an error code |
| | ERROR |
| Numeric value | Error code | Comment |
|---|
| 3 | MGT_MEM_ERR | The size of the input buffer is too small |
| 4 | MGT_OPERATION_NOT_SUPPORTED_ERR | The operation is not supported |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |
| 13 | MGT_NETWORK_PROTOCOL_ERR | Invalid network protocol |
| 17 | MGT_TPL_INVALID_PARAM | Some template parameters are not configured |