Uplink command to get GSM parameters.
The corresponding downlink command: getGsmParameters.
getGsmParameters
Supported in MTX1 and MTX3 devices.
import * as getGsmParameters from 'jooby-codec/mtx1/commands/uplink/getGsmParameters.js';// response to getGsmParameters downlink commandconst bytes = [ 0, 218, 60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, 163];// decoded payloadconst parameters = getGsmParameters.fromBytes(bytes);console.log(parameters);// output:{ index: 0, data: [ 60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]} Copy
import * as getGsmParameters from 'jooby-codec/mtx1/commands/uplink/getGsmParameters.js';// response to getGsmParameters downlink commandconst bytes = [ 0, 218, 60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, 163];// decoded payloadconst parameters = getGsmParameters.fromBytes(bytes);console.log(parameters);// output:{ index: 0, data: [ 60, 174, 22, 0, 0, 0, 0, 2, 83, 84, 65, 84, 73, 67, 73, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]}
Command format documentation
Uplink command to get GSM parameters.
The corresponding downlink command:
getGsmParameters.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation