©2017 Sensing-labs
6
Sensing Labs SenlabM PUL-LAB-
xx
NS
–
User guide
Standard mode (1 log per transmission)
This chapter describes the SenlabM 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
SenlabM: 0x4D 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 4B)
0x02
0xBB
Confidential (
Length is variable
)
0xVVVVVVVV MSB first
✓
0xBB:
the battery level expressed in 1/254 %
✓
0xVVVVVVVV: pulse number as a 4 bytes unsigned int
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
0x01
0x00 OK
0x01 KO
0x0700
Downlink request RESET RAW INDEX
–
FPort 2
This operation (request/response) will reset to 0 the current index of SenlabM.
Request
ID
(1B)
RESET RAW INDEX
(5B)
Response
ID
(1B)
RESET CONFIRMATION
(1B)
0x02
0x0400000000
0x02
0x84