-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,143 additions
and
165 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
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
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
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,5 @@ | ||
# Event json examples | ||
|
||
This directory contains a selection of example json files for events. | ||
|
||
Json events can be received through webhook and MQTT, if the json content type is selected. |
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,29 @@ | ||
{ | ||
"modemMessageBodyParsed": { | ||
"organization": "your-organization", | ||
"modemNumber": "AAAA AAAA", | ||
"modemExternalDeviceId": "AABBCCDDEEFFGGHH", | ||
"messageId": "123123", | ||
"sentAt": { | ||
"timestamp": "2020-06-01T05:15:25.355Z", | ||
"textual": "2020-06-01T05:15:25.355Z" | ||
}, | ||
"parserIdentifier": "hiber:20-AABBCC", | ||
"parserName": "text", | ||
"parsedMessage": { | ||
"text": "example" | ||
}, | ||
"tags": [{ | ||
"id": "1", | ||
"label": { | ||
"name": "example-tag" | ||
} | ||
}], | ||
"title": "A message from modem AAAA AAAA was parsed by body parser hiber:20-AABBCC.", | ||
"description": "Message 123123 from modem AAAA AAAA was parsed by body parser hiber:20-AABBCC:\n\n{\"text\":\"example\"}\n", | ||
"time": { | ||
"timestamp": "2020-06-01T09:19:29.299Z", | ||
"textual": "2020-06-01T09:19:29.299Z" | ||
} | ||
} | ||
} |
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,28 @@ | ||
{ | ||
"modemMessageBodyReceived": { | ||
"organization": "your-organization", | ||
"modemNumber": "AAAA AAAA", | ||
"modemExternalDeviceId": "AABBCCDDEEFFGGHH", | ||
"messageId": "123123", | ||
"sentAt": { | ||
"timestamp": "2020-06-01T05:15:25.355Z", | ||
"textual": "2020-06-01T05:15:25.355Z" | ||
}, | ||
"body": { | ||
"bytes": "ZXhhbXBsZQ==", | ||
"hex": "6578616D706C65" | ||
}, | ||
"tags": [{ | ||
"id": "1", | ||
"label": { | ||
"name": "example-tag" | ||
} | ||
}], | ||
"title": "New message from modem AAAA AAAA was received. It was sent at 2020-06-01T05:15:25.355Z.", | ||
"description": "A new message from modem AAAA AAAA was sent at 2020-06-01T05:15:25.355Z\n:\nIt contained the following body (hex):\n6578616D706C65\n", | ||
"time": { | ||
"timestamp": "2020-06-01T09:19:29.299Z", | ||
"textual": "2020-06-01T09:19:29.299Z" | ||
} | ||
} | ||
} |
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,49 @@ | ||
{ | ||
"modemMessageReceived": { | ||
"organization": "your-organization", | ||
"modemNumber": "AAAA AAAA", | ||
"message": { | ||
"modemNumber": "AAAA AAAA", | ||
"sentAt": { | ||
"timestamp": "2020-06-01T05:15:25.355Z", | ||
"textual": "2020-06-01T05:15:25.355Z" | ||
}, | ||
"location": { | ||
"latitude": 20.222, | ||
"longitude": 30.33299 | ||
}, | ||
"body": "ZXhhbXBsZQ==", | ||
"receivedAt": { | ||
"timestamp": "2020-06-01T09:19:29.299Z", | ||
"textual": "2020-06-01T09:19:29.299Z" | ||
}, | ||
"messageId": "123123", | ||
"bodyBytes": { | ||
"bytes": "ZXhhbXBsZQ==", | ||
"hex": "6578616D706C65" | ||
}, | ||
"bodyParsed": [{ | ||
"parserId": 123, | ||
"parserName": "text", | ||
"result": { | ||
"text": "example" | ||
}, | ||
"parserIdentifier": "hiber:20-AABBCC" | ||
}], | ||
"bodyParsedSuccessfully": true | ||
}, | ||
"tags": [{ | ||
"id": "1", | ||
"label": { | ||
"name": "example-tag" | ||
} | ||
}], | ||
"title": "New test message from modem AAAA AAAA was received. It was sent at 2020-06-01 05:15:25Z.", | ||
"description": "A new test message from modem AAAA AAAA was received and decrypted at 2020-06-01 09:19:29.299Z:\nThe message was sent at 2020-04-14 04:22:00Z with location (20.222,30.33299).\nIt contained the following body (hex): \n 6578616D706C65\n\nIts body was parsed by:\n - text: {\"text\":\"example\"}\n", | ||
"time": { | ||
"timestamp": "2020-06-01T09:19:29.299Z", | ||
"textual": "2020-06-01T09:19:29.299Z" | ||
}, | ||
"modemExternalDeviceId": "AABBCCDDEEFFGGHH" | ||
} | ||
} |
Oops, something went wrong.