©2018 Sensing-labs
6
Sensing Labs SenlabA 4MA-LAB-
xx
NS
–
User guide
–
Version 2
–
REV D
Standard mode (1 log per transmission)
This chapter describes the SenlabA application standard frame formats for decoding
device payload by yourself.
Uplink message RESTART - FPort 4 (for device configured in standard mode)
This frame is automatically sent after a successful network connection for informing the
application layer of its activation.
ID
(1B)
DEV_EUI
(8B)
APP_TYPE (1B)
Version
(3B)
Ext ID
(1B)
Log Period
(2B)
Tx Period
(2B)
Max batt. Level
(4B)
0x00
LSB first
SenlabA: 0x41
Major
Minor
Revision
0x00
0xLLLL
0xTTTT
0xBBBBBBBB
✓
0xLLLL:
the log period expressed in 2 seconds units
✓
0xTTTT:
the transmit period expressed in 2 seconds units
✓
0xBBBBBBBB: the maximum battery level used for battery life calculation expressed in mAs
Uplink message DATALOG - FPort 3 (format valid for one log per transmission only)
ID
(1B)
BATTERY_LEVEL
(1B)
Internal data
(n bytes)
Log value
(Last 2B)
0x00
0xBB
Confidential (
Length is variable
)
0xAAAA MSB first
✓
0xBB:
the battery level expressed in 1/254 %
✓
0xAAAA:
input current expressed in 1/200 mA as a 2 bytes unsigned int [0-25mA]
Downlink request STOP APPLICATION
–
FPort 2
This operation (request/response) will stop the Senlab application (stop of radio
transmission). After response confirmation, new activation of device will be necessary.
Request
ID
(1B)
STOP PARAM.
(2B)
Response
ID
(1B)
STATUS
(1B)
STOP PARAM.
(2B)
0x01
0x0700
0x81
0x00 OK
0x01 KO
0x0700
To use full power of Senlab datalog mode (up to 24 log per
transmission), you have to use SLcodecs tool.
• Refer to the “SLCodecs Application Note” or contact us to get more
information about SLcodecs integration and usage