Downlink command to set depassivation configuration for the device.
import * as setDepassivationConfig from 'jooby-codec/analog-ultrasound/commands/downlink/setDepassivationConfig.js';const parameters = { resistanceStartThreshold: 24000, resistanceStopThreshold: 20000};const bytes = setDepassivationConfig.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[7, 34, 25, 192, 93, 32, 78] Copy
import * as setDepassivationConfig from 'jooby-codec/analog-ultrasound/commands/downlink/setDepassivationConfig.js';const parameters = { resistanceStartThreshold: 24000, resistanceStopThreshold: 20000};const bytes = setDepassivationConfig.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[7, 34, 25, 192, 93, 32, 78]
Command format documentation
Downlink command to set depassivation configuration for the device.
Example
Command format documentation