Downlink command to set the Lorawan activation method OTAA or ABP.
import * as setLorawanActivationMethod from 'jooby-codec/obis-observer/commands/downlink/setLorawanActivationMethod.js';const parameters = { requestId: 3, activationMethod: 1};const bytes = setLorawanActivationMethod.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[36, 2, 3, 1] Copy
import * as setLorawanActivationMethod from 'jooby-codec/obis-observer/commands/downlink/setLorawanActivationMethod.js';const parameters = { requestId: 3, activationMethod: 1};const bytes = setLorawanActivationMethod.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[36, 2, 3, 1]
Command format documentation
Downlink command to set the Lorawan activation method OTAA or ABP.
Example
Command format documentation