...
Uplink messages are those sent from the sensor to the network.
...
You can also refer to our Java Script payload decoder shared on the Github.
...
The device has four (4) types of Uplink messages:
Parking status - port 1
Heartbeat - port 2
Startup - port 3
User Registration - port 10
The simplest method of getting occupancy status from 1 and 2 is shown in the following Java Script code example:
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The first example is for cases when the payload type is string (Nwave HTTP Calls for example):
The second example is for cases when the payload type is array of integers (TTN, TTI for example):
|
Info |
---|
You can also refer to our Java Script payload decoder shared on the Github. Examples of decoded messages are available on the TTN device page. |
Please refer to the sections below for detailed information on message payload structure.
4.2.1 Parking status
The parking status message uses port 1 and is confirmed by default. It may be configured as unconfirmed with or without repetitions (see downlink messages).
...