www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual
32
/
38
3.2
Set Interrupt Mode
Feature, Set Interrupt mode for GPIO_EXIT.
AT Command: AT+INTMOD
Command Example
Function
Response
AT+INTMOD=?
Show current interrupt mode
0
OK
the mode is 0 = No interruption
AT+INTMOD=2
Set Transmit Interval
0-
(Disable Interrupt),
1-
(Trigger by rising and falling
edge),
2-
(Trigger by falling edge)
3-
(Trigger by rising edge)
OK
Downlink Command: 0x06
Format: Command Code (0x06) followed by 3 bytes.
This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge
trigger), and the type code is 06.
➢
Example 1: Downlink Payload: 06000000 // Turn off interrupt mode
➢
Example 2: Downlink Payload: 06000003 // Set the interrupt mode to rising edge trigger
3.3
Get Firmware Version Info
Feature: use downlink to get firmware version.
Downlink Command: 0x26
Downlink Control Type
FPort
Type Code
Downlink payload size(bytes)
Get Firmware Version Info
Any
26
2
➢
Reply to the confirmation package: 26 01
➢
Reply to non-confirmed packet: 26 00
Device will send an uplink after got this downlink command. With below payload:
Configures info payload:
Size
(bytes)
1
1
1
2
1
4
1
Value
Software
Type
Frequency
Band
Sub-band
Firmware
Version
Sensor
Type
Reserve
Always 0x02
Summary of Contents for LDDS04
Page 17: ...www dragino com LDDS04 LoRaWAN 4 Channels Distance Sensor User Manual 17 38 Add APP KEY...
Page 23: ...www dragino com LDDS04 LoRaWAN 4 Channels Distance Sensor User Manual 23 38...
Page 24: ...www dragino com LDDS04 LoRaWAN 4 Channels Distance Sensor User Manual 24 38...
Page 27: ...www dragino com LDDS04 LoRaWAN 4 Channels Distance Sensor User Manual 27 38...