Skip to main content
Version: 5.0

Template Commands

Return the ID of the Current Template

WhatDetail
CommandAT#GETTPLID
Parameter
Result codes#GETTPLID: <id>
 OK
 #GETTPLID: -<status>
In case of error the status is returned as negative in order to differentiate between a succesful return and an error code
 ERROR

Error Messages

Numeric valueError codeComment
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized

Get the Number of Template Parameters

WhatDetail
CommandAT#GETPARAMCNT
Parameters
Result codes#GETPARAMCNT: <nb>
 OK
 #GETPARAMCNT: -<status>
In case of error the status is returned as negative in order to differentiate between a succesful return and an error code
 ERROR

Error Messages

Numeric valueError codeComment
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized

Set Template Parameter(s)

WhatDetail
CommandAT#SETPARAM=<index>,<value>
ParametersOne pair of parameter index and parameter value as ASCII HEX
Result codes#SETPARAM: <status>
 OK
 ERROR

Recommendations

Each parameter value must be an ASCII string containing the hexadecimal value of the parameter, of the same size as the parameter (e.g. 8 characters for a 32-bit value).

Error Messages

Numeric valueError codeComment
1MGT_ERRORInconsistent parameter length
3MGT_MEM_ERRThe memory area provided at provisioning is full
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
5MGT_L2A_ERRNot joined yet
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized
16MGT_TPL_INVALID_PARAM_IDThe index used is invalid
17MGT_TPL_INVALID_PARAMThe size of the provided value is incorrect

Get Template Parameter

WhatDetail
CommandAT#GETPARAM=<index>
ParametersOne of template parameter
Result codes#GETPARAM: <value>
 OK
 #GETPARAM: -<status>
In case of error the status is returned as negative in order to differentiate between a succesful return and an error code
 ERROR

Error Messages

Numeric valueError codeComment
1MGT_ERRORInconsistent parameter length
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized

Clear the Template Parameters

WhatDetail
CommandAT#CLRPARAMS
Parameter
Result codes#CLRPARAMS: <status>
 OK
 ERROR

Error Messages

Numeric valueError codeComment
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
12MGT_TPL_NOT_INIT_ERRThe template has not been yet initialized