-
Notifications
You must be signed in to change notification settings - Fork 451
Expand file tree
/
Copy pathnps405-codec.yaml
More file actions
52 lines (49 loc) · 1.29 KB
/
nps405-codec.yaml
File metadata and controls
52 lines (49 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
uplinkDecoder:
fileName: 'nps405.js'
examples:
- description: Parking Status
input:
fPort: 1
bytes: [0x95]
output:
data:
type: parking_status
occupied: true
previous_state_duration: 74
previous_state_duration_error: 0
previous_state_duration_overflow: false
- description: User Registration
input:
fPort: 10
bytes: [0xD1, 0x20, 0x1F, 0x34, 0x56, 0x78]
output:
data:
type: user_registration
occupied: true
previous_state_duration: 160
previous_state_duration_error: 4
previous_state_duration_overflow: false
tag_battery_voltage: 3.2
tag_id: '1F345678'
- description: Heartbeat
input:
fPort: 2
bytes: [0x00, 0xD3, 0xD8, 0x00, 0x59, 0x0B]
output:
data:
type: heartbeat
occupied: false
battery_voltage: 3.344
temperature: -10
battery_health: normal
hw_health_status: 0
- description: Startup
input:
fPort: 3
bytes: [0x02, 0x04, 0x09, 0x02, 0x00]
output:
data:
type: startup
firmware_version: '2.4.9'
reset_cause: power_on
occupied: false