Skip to main content
Version: 4.0

Running Commands

Start the Synchronization Procedure

WhatDetail
CommandAT+SCHC=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 codesOK
 AT_PARAM_ERROR
 AT_ERROR,1,<status>

Error Messages

AT_ERROR,1,<status> reports a management layer error with the following possible values:

Numeric valueError codeComment
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
5MGT_L2A_ERRNot joined yet
6MGT_FRM_ERRError returned by the FRM layer
8MGT_SYNC_ERRError returned by the Sync layer
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized

Get the IP Address of the Device

WhatDetail
CommandAT+SCHC=IP
Parameter
Result codesThe device IP address and then OK, or an error (see below)
 AT_ERROR,1,<status>

Error Messages

AT_ERROR,1,<status> reports a management layer error with the following possible values:

Numeric valueError codeComment
3MGT_MEM_ERRThe size of the input buffer is too small
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized
13MGT_NETWORK_PROTOCOL_ERRInvalid network protocol
17MGT_TPL_INVALID_PARAMSome template parameters are not configured

Configure Class A Polling

WhatDetail
CommandAT+SCHC=CONF_POLL,<enable>,<suspend>
Parameter<enable>
1: enables pooling
0: disables polling
 <suspend>
Suspends uplinks during the polling phase
Result codesOK
 AT_L2_ERROR - Class not available
 AT_ERROR,1,<status>

Error Messages

AT_ERROR,1,<status> reports a management layer error with the following possible values:

Numeric valueError codeComment
5MGT_L2A_ERRNot joined yet or L2 layer is not in class A

Trigger the Polling Mechanism, Send an Empty Frame

WhatDetail
CommandAT+SCHC=TRG_POLL
Parameter 
Result codesOK
 AT_ERROR,1,<status>

Error Messages

AT_ERROR,1,<status> reports a management layer error with the following possible values:

Numeric valueError codeComment
1MGT_ERRORError
5MGT_L2A_ERRNot joined yet or there is a transmission error
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized

Select the API to Use

Select either the Network or the Datagram API.

WhatDetail
CommandAT+SCHC=API,<api>
Parameter<api>
N: Network API
D: Datagram API
Result codesOK
 AT_PARAM_ERROR
 AT_ERROR - SDK already initialized