Skip to main content
Version: 5.0

Memory Commands

Set a Template in the Volatile Memory

WhatDetail
CommandAT#SETTPL=<template>
Parameter<template>
See below
Result codesOK
 #SETTPL: <error>
 ERROR

Recommendations

The template parameter value must be an ASCII string containing the hexadecimal value of the rules to be used.

This string can be found in the CBOR package of the SCHC template used by the device, available on Acklio IPCore.
The string is in the 'compression_rules_debug.txt' file.

Error Messages

Numeric valueError codeComment
1MGT_ERRORError
3MGT_MEM_ERRThe size of Memory_ptr is not large enough
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
14MGT_TPL_CRC_ERRFailure to validate the data cyclic redundancy check (CRC).
15MGT_TPL_PARSER_ERRError while reading data
18MGT_TPL_UNSUPPORTED_STACK_ERRThe template stack is not supported

Load Payload Compression Rules in the Memory

WhatDetail
CommandAT#SETTPLPAYLOAD=<template>
Parameter<template>
See below
Result codesOK
 #SETTPLPAYLOAD: <error>
 ERROR

Recommendations

The template parameter value must be an ASCII string containing the hexadecimal value of the rules to be used.

This string can be found in the CBOR package of the SCHC template for the device profile, available on Acklio IPCore.

The string is in the 'payload_pattern_debug.txt' file.

Error Messages

Numeric valueError codeComment
1MGT_ERRORError
3MGT_MEM_ERRThe size of Memory_ptr is not large enough
4MGT_OPERATION_NOT_SUPPORTED_ERRThe operation is not supported
11MGT_NOT_INIT_ERRAcklio FullSDK has not been yet initialized
14MGT_TPL_CRC_ERRFailure to validate the data cyclic redundancy check (CRC).
15MGT_TPL_PARSER_ERRError while reading data
18MGT_TPL_UNSUPPORTED_STACK_ERRThe template stack is not supported