| What | Detail |
|---|
| Command | AT+SCHC=TPL,GETID |
| Parameter | — |
| Result codes | The template ID and then OK, or an error (see below) |
| | AT_ERROR,1,<status> |
AT_ERROR,1,<status> reports a management layer error with the following possible values:
| Numeric value | Error code | Comment |
|---|
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |
| What | Detail |
|---|
| Command | AT+SCHC=TPLPARAMS,NB |
| Parameters | — |
| Result codes | The number of template parameters and then OK |
| | AT_ERROR,1,<status> |
AT_ERROR,1,<status> reports a management layer error with the following possible values:
| Numeric value | Error code | Comment |
|---|
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |
| What | Detail |
|---|
| Command | AT+SCHC=TPLPARAMS,SET,<index_i>,<value_i>[,...] |
| Parameters | One or more pair(s) of parameter index and parameter values |
| Result codes | OK |
| | AT_PARAM_ERROR |
| | AT_ERROR,1,<status> |
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).
AT_ERROR,1,<status> reports a management layer error with the following possible values:
| Numeric value | Error code | Comment |
|---|
| 1 | MGT_ERROR | Inconsistent parameter length |
| 3 | MGT_MEM_ERR | The memory area provided at provisioning is full |
| 4 | MGT_OPERATION_NOT_SUPPORTED_ERR | The operation is not supported |
| 5 | MGT_L2A_ERR | Not joined yet |
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |
| 16 | MGT_TPL_INVALID_PARAM_ID | The index used is invalid |
| 17 | MGT_TPL_INVALID_PARAM | The size of the provided value is incorrect |
| What | Detail |
|---|
| Command | AT+SCHC=TPLPARAMS,GET,<index_i>[,...] |
| Parameters | One or more index(es) of template parameter(s) |
| Result codes | One or more pair(s) of a parameter index and the associated parameter value, and then OK, or an error (see below) |
| | AT_PARAM_ERROR |
| | AT_ERROR,1,<status> |
AT_ERROR,1,<status> reports a management layer error with the following possible values:
| Numeric value | Error code | Comment |
|---|
| 1 | MGT_ERROR | Inconsistent parameter length |
| 4 | MGT_OPERATION_NOT_SUPPORTED_ERR | The operation is not supported |
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |
| What | Detail |
|---|
| Command | AT+SCHC=TPLPARAMS,CLR |
| Parameter | — |
| Result codes | OK |
| | AT_ERROR,1,<status> |
AT_ERROR,1,<status> reports a management layer error with the following possible values:
| Numeric value | Error code | Comment |
|---|
| 11 | MGT_NOT_INIT_ERR | Acklio FullSDK has not been yet initialized |
| 12 | MGT_TPL_NOT_INIT_ERR | The template has not been yet initialized |