26
2. Region people counter regular uplink
3. Line cross counter
6.2 Downlink Command
VS121 supports downlink commands to configure the device. Application port is 85 by default.
ff
01
(Protocol
Version)
01 (V1)
ff
08
(Device SN)
66 00 b0 94
09 76
Channel
Type
Value
Channel
Type
Value
ff
09
(Hardware
version)
0100 (V1.0)
ff
1f (Software
version)
1f 07 00 4b
(V31.7.0.75)
04c9030800a1 06cd05
Channel
Type
Value
04
c9 (Region People
Counter)
Byte 1: 03 => There are 3 people totally now
Byte 2: 08 => there are 8 mapped regions
Byte 3-Byte 4: 00 a1=>1010 0001
there are people detected in region 1, 6 and 8
Channel
Type
Value
06
cd (Max People
Counter)
05 => during the reporting interval, the maximum
number of people is 5
05cc02000100
Channel
Type
Value
05
Cc (Line Crossing Counter)
In: 02 00 => 00 02 = 2
Out: 01 00 => 00 01 =1
Channel
Type
Description
ff
10 (Reboot)
ff (Reserved)
04 (Confirmed Mode)
00: disable, 01: enable
05 (Change LoRaWAN
®
Channel
Mask)
Byte 1:
Channel index range
01: 0-15
02: 16-31
03: 32-47
04: 48-63