![TENEO LoRaWAN CO2 stoplicht Manual Download Page 12](http://html1.mh-extra.com/html/teneo/lorawan-co2-stoplicht/lorawan-co2-stoplicht_manual_1086438012.webp)
Manual LoRaWAN CO
2
stoplicht
12
©
Copyright
2021
Teneo
Sales
BV.
All rights reserved.
All information in this manual Is subject to change without further notice.
+31 (0)543 535 535
5.3.1. Port:
The port is a number with a range of 1 to 223. The value of the port indicates the type of message.
5.3.2. Header byte:
Our software gives a header with each message as the last byte of the payload. The header consists of a
type and parameters:
Bit
Description
7..6
Header Type
5..0
Parameters
The following types are defined:
Value (bit 7..6)
Name
Description
00
Default
If there is nothing to report, this header type is used. This type has
no parameters.
01
MultiMessage
LoRa messages have a limited length. With MultiMessage, a full
message is distributed across multiple uplinks because it doesn't fit
in 1 uplink. The current version of the program will not go over that.
MultiMessage does not occur.
10
Status
Status messages are given when the node starts up or something
has gone wrong. These messages always go to port 223.
11
Power
When battery protection is used, these messages indicate the state
in which it is located. These messages always go to
port 223.
Default message:
Bit number
Name
Description
3..0
System voltage
Indicates the tension of the node. Calculation: System voltage
=
2 +
Batterydisplay/ 10.
The most commonly used header is a standard header with a battery display. This header will be used
unless otherwise described. For example, the default header looks like this: 0000 1100 or 0x0C.
The first two bits
(00
00 1100) indicate that it is a default message.
The second two bits (00
00
1100) have no meaning in this case.
The last four bits (0000
1100)
contain the battery display. These first four bits represent the number 12. This
means that the system voltage is: 2 + (12/10) = 3,2 Volts.
Other header types:
The MultiMessage is not explained because no large messages are sent.
Also, the Status messages are not explained further in this documentation.
5.3.3. Message (according to V1.10 and V1.20):
With firmware versions V1.10 and V1.20, the node can send the following uplink messages:
Port
Message type
Description
1
CO2 Measurement
This message displays the calibration option and CO2
measurement,
along with an optional temperature and humidity measurement.
223
Status
Port 223 sent status messages.