v1

latestOpenAPI 3.0.12026-07-178146159.6 KB
LoRa WAN

Updates the specified device model.

put/api/lorawan/models

Request body

classType'A' | 'C'

The LoRa device class. Default is A.

preferredWindowinteger

Allows setting the device preferred receive window (RX1 or RX2). The default preferred receive window is 1.

deduplication'None' | 'Drop' | 'Mark'

Allows controlling the handling of duplicate messages received by multiple gateways. The default is Drop.

rX1DROffsetinteger nullable

Allows setting an offset between received Datarate and retransmit datarate as specified in the LoRa Specifiations. Valid for OTAA devices. If an invalid value is provided the network server will use default value 0.

rX2DataRateinteger nullable

Allows setting a custom Datarate for second receive windows. Valid for OTAA devices. If an invalid value is provided the network server will use default value 0 (DR0).

rxDelayinteger nullable

Allows setting a custom wait time between receiving and transmission as specified in the specification.

abpRelaxModeboolean nullable

Allows to disable the relax mode when using ABP. By default relaxed mode is enabled.

fCntUpStartinteger nullable

Allows to explicitly specify a frame counter up start value. If the device joins, this value will be used to validate the first frame and initialize the server state for the device. Default is 0.

fCntDownStartinteger nullable

Allows to explicitly specify a frame counter down start value. Default is 0.

fCntResetCounterinteger nullable

Allows to reset the frame counters to the FCntUpStart/FCntDownStart values respectively. Default is 0.

supports32BitFCntboolean nullable

Allow the usage of 32bit counters on your device.

keepAliveTimeoutinteger nullable

Allows defining a sliding expiration to the connection between the leaf device and IoT/Edge Hub. The default is none, which causes the connection to not be dropped.

sensorDecoderstring nullable

The sensor decoder API Url.

modelIdstring nullable

The device model identifier.

imageUrlstring uri nullable

The device model image Url.

namestring required

The device model name.

descriptionstring nullable

The device model description.

isBuiltinboolean

A value indicating whether this instance is builtin.

supportLoRaFeaturesboolean

A value indicating whether the LoRa features is supported on this model.

useOTAAboolean

A value indicating whether the device uses OTAA to authenticate to LoRaWAN network. Otherwise ABP. Default is true.

downlinkboolean nullable

Allows disabling the downstream (cloud to device) for a device. By default downstream messages are enabled.

Response

Success