Skip to content

Commit

Permalink
Added an additional test case for integrating Loriot (Nwave device)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-barysh-dev committed Dec 24, 2024
1 parent 4c32451 commit 762462f
Show file tree
Hide file tree
Showing 8 changed files with 308 additions and 0 deletions.
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/payload_1.json
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"
}
44 changes: 44 additions & 0 deletions VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/result_1.json
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"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/payload_1.json
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"
}
44 changes: 44 additions & 0 deletions VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/result_1.json
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"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/payload_3.json
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"
}
46 changes: 46 additions & 0 deletions VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/result_3.json
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"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/payload_3.json
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"
}
46 changes: 46 additions & 0 deletions VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/result_3.json
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"
}
}]

0 comments on commit 762462f

Please sign in to comment.