-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an additional test case for integrating Loriot (Nwave device)
- Loading branch information
1 parent
4c32451
commit 762462f
Showing
8 changed files
with
308 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"cmd": "gw", | ||
"seqno": 4, | ||
"EUI": "0102030405060708", | ||
"ts": 1690901260493, | ||
"fcnt": 3, | ||
"port": 2, | ||
"freq": 868300000, | ||
"toa": 1319, | ||
"dr": "SF12 BW125 4/5", | ||
"ack": false, | ||
"gws": [ | ||
{ | ||
"rssi": -38, | ||
"snr": 8.5, | ||
"ts": 1690901260493, | ||
"time": "2023-08-01T14:47:40.493Z", | ||
"gweui": "1020304080706050", | ||
"ant": 0 | ||
}, | ||
{ | ||
"rssi": -42, | ||
"snr": 8.8, | ||
"ts": 1690901260495, | ||
"time": "2023-08-01T14:47:40.495Z", | ||
"gweui": "1020304081716151", | ||
"ant": 0 | ||
} | ||
], | ||
"bat": 143, | ||
"data": "A86661" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[{ | ||
"deviceName": "G4 Car Counter FM 0102030405060708", | ||
"deviceType": "Parking sensor", | ||
"attributes": { | ||
"eui": "0102030405060708", | ||
"fPort": 2, | ||
"frequency": 868300000 | ||
}, | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"type": "heartbeat", | ||
"hw_health_status": 40, | ||
"battery_voltage": 2.908, | ||
"battery_voltage_mean_24h": 2.888 | ||
} | ||
}] | ||
}, { | ||
"deviceName": "Gateway 1020304080706050", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"rssi": -38, | ||
"snr": 8.5 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304080706050" | ||
} | ||
}, { | ||
"deviceName": "Gateway 1020304081716151", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260495, | ||
"values": { | ||
"rssi": -42, | ||
"snr": 8.8 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304081716151" | ||
} | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"cmd": "gw", | ||
"seqno": 4, | ||
"EUI": "0102030405060708", | ||
"ts": 1690901260493, | ||
"fcnt": 3, | ||
"port": 2, | ||
"freq": 868300000, | ||
"toa": 1319, | ||
"dr": "SF12 BW125 4/5", | ||
"ack": false, | ||
"gws": [ | ||
{ | ||
"rssi": -38, | ||
"snr": 8.5, | ||
"ts": 1690901260493, | ||
"time": "2023-08-01T14:47:40.493Z", | ||
"gweui": "1020304080706050", | ||
"ant": 0 | ||
}, | ||
{ | ||
"rssi": -42, | ||
"snr": 8.8, | ||
"ts": 1690901260495, | ||
"time": "2023-08-01T14:47:40.495Z", | ||
"gweui": "1020304081716151", | ||
"ant": 0 | ||
} | ||
], | ||
"bat": 143, | ||
"data": "A86661" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[{ | ||
"deviceName": "G4 Car Counter SM 0102030405060708", | ||
"deviceType": "Parking sensor", | ||
"attributes": { | ||
"eui": "0102030405060708", | ||
"fPort": 2, | ||
"frequency": 868300000 | ||
}, | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"type": "heartbeat", | ||
"hw_health_status": 40, | ||
"battery_voltage": 2.908, | ||
"battery_voltage_mean_24h": 2.888 | ||
} | ||
}] | ||
}, { | ||
"deviceName": "Gateway 1020304080706050", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"rssi": -38, | ||
"snr": 8.5 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304080706050" | ||
} | ||
}, { | ||
"deviceName": "Gateway 1020304081716151", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260495, | ||
"values": { | ||
"rssi": -42, | ||
"snr": 8.8 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304081716151" | ||
} | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"cmd": "gw", | ||
"seqno": 4, | ||
"EUI": "0102030405060708", | ||
"ts": 1690901260493, | ||
"fcnt": 3, | ||
"port": 2, | ||
"freq": 868300000, | ||
"toa": 1319, | ||
"dr": "SF12 BW125 4/5", | ||
"ack": false, | ||
"gws": [ | ||
{ | ||
"rssi": -38, | ||
"snr": 8.5, | ||
"ts": 1690901260493, | ||
"time": "2023-08-01T14:47:40.493Z", | ||
"gweui": "1020304080706050", | ||
"ant": 0 | ||
}, | ||
{ | ||
"rssi": -42, | ||
"snr": 8.8, | ||
"ts": 1690901260495, | ||
"time": "2023-08-01T14:47:40.495Z", | ||
"gweui": "1020304081716151", | ||
"ant": 0 | ||
} | ||
], | ||
"bat": 143, | ||
"data": "00d3d800590b" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[{ | ||
"deviceName": "G4 Parking sensor FM 0102030405060708", | ||
"deviceType": "Parking sensor", | ||
"attributes": { | ||
"eui": "0102030405060708", | ||
"fPort": 2, | ||
"frequency": 868300000 | ||
}, | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"type": "heartbeat", | ||
"occupied": false, | ||
"hw_health_status": 0, | ||
"temperature": -10, | ||
"battery_voltage": 2.32, | ||
"battery_health": "critical" | ||
} | ||
}] | ||
}, { | ||
"deviceName": "Gateway 1020304080706050", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"rssi": -38, | ||
"snr": 8.5 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304080706050" | ||
} | ||
}, { | ||
"deviceName": "Gateway 1020304081716151", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260495, | ||
"values": { | ||
"rssi": -42, | ||
"snr": 8.8 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304081716151" | ||
} | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"cmd": "gw", | ||
"seqno": 4, | ||
"EUI": "0102030405060708", | ||
"ts": 1690901260493, | ||
"fcnt": 3, | ||
"port": 2, | ||
"freq": 868300000, | ||
"toa": 1319, | ||
"dr": "SF12 BW125 4/5", | ||
"ack": false, | ||
"gws": [ | ||
{ | ||
"rssi": -38, | ||
"snr": 8.5, | ||
"ts": 1690901260493, | ||
"time": "2023-08-01T14:47:40.493Z", | ||
"gweui": "1020304080706050", | ||
"ant": 0 | ||
}, | ||
{ | ||
"rssi": -42, | ||
"snr": 8.8, | ||
"ts": 1690901260495, | ||
"time": "2023-08-01T14:47:40.495Z", | ||
"gweui": "1020304081716151", | ||
"ant": 0 | ||
} | ||
], | ||
"bat": 143, | ||
"data": "00d3d800590b" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[{ | ||
"deviceName": "G4 Parking sensor SM 0102030405060708", | ||
"deviceType": "Parking sensor", | ||
"attributes": { | ||
"eui": "0102030405060708", | ||
"fPort": 2, | ||
"frequency": 868300000 | ||
}, | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"type": "heartbeat", | ||
"occupied": false, | ||
"hw_health_status": 0, | ||
"temperature": -10, | ||
"battery_voltage": 2.32, | ||
"battery_health": "critical" | ||
} | ||
}] | ||
}, { | ||
"deviceName": "Gateway 1020304080706050", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260493, | ||
"values": { | ||
"rssi": -38, | ||
"snr": 8.5 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304080706050" | ||
} | ||
}, { | ||
"deviceName": "Gateway 1020304081716151", | ||
"deviceType": "Lora gateway", | ||
"telemetry": [{ | ||
"ts": 1690901260495, | ||
"values": { | ||
"rssi": -42, | ||
"snr": 8.8 | ||
} | ||
}], | ||
"attributes": { | ||
"eui": "1020304081716151" | ||
} | ||
}] |