Uplink command for receiving depassivation configuration from the device.
import * as getDepassivationConfig from 'jooby-codec/analog-ultrasound/commands/uplink/getDepassivationConfig.js';const bytes = [0xc0, 0x5d, 0x20, 0x4e];// decoded payloadconst parameters = getDepassivationConfig.fromBytes(bytes);console.log(parameters);// output:{ resistanceStartThreshold: 24000, resistanceStopThreshold: 20000} Copy
import * as getDepassivationConfig from 'jooby-codec/analog-ultrasound/commands/uplink/getDepassivationConfig.js';const bytes = [0xc0, 0x5d, 0x20, 0x4e];// decoded payloadconst parameters = getDepassivationConfig.fromBytes(bytes);console.log(parameters);// output:{ resistanceStartThreshold: 24000, resistanceStopThreshold: 20000}
Command format documentation
Uplink command for receiving depassivation configuration from the device.
Example: create command instance from command body hex dump
Command format documentation