User's Manual

3 / 18 www.lansitec.com
back of the device. Lansitec will help to configure these parameters before shipping if necessary.
After power on and join the Lora network, Device will send registration message which include the
current parameters setting of the Device to Customer Server(CS). If CS doesn’t reply Device will
retry for 3 times before working in default mode.
Device starts to work after receiving acceptance response or no CS reply is received after 2 registration
trials. The Device reports the heart beat message to CS periodically. The duty cycle is configurable by
commands from CS. Coordinate acquisition and report period depends on the BLE scan results.
According to LoRaWAN specification, in Class A mode downlink response time is decided by uplink duty
cycle. To avoid relying the position message for downlink configure, Device uses heartbeat message to
control the downlink response time. The heartbeat period can be configured to be integral multiple of
30 seconds. The default period is 5 minutes. Heartbeat message also contains status information of the
Device. It can be used by CS to monitor the Device.
4.2 Application Scenarios
The Device is managed with the following general rules:
When registration request is received from the Device,
-
-
If CS only wants the Device to work with default parameters, CS ignores the registration
message and waits for the periodically coordinate report.
Or CS should record the first-time configuration, acknowledge the request. If CS contains
some history configuration of the Deviceand mismatch occurred, CS should send the
new configuration to Device. Then Device updates and starts to work with these new
parameters.
After registration, configuration of the Device may be changed by user. CS needs to save the
new parameters and CRC16 of the parameters. In case of receiving registration when Device
reset or periodical heartbeat message, CS need to check if any configuration mismatch
occurred. If necessary, CS should send the new configuration to Device in next downlink
window.
4.3 Uplink Message
4.3.1 Register
Bytes
1
1
1
1
2
1
2
Item
TYPE
SMODE
POWER
CFG
POS
HB
CRC
TYPE field (the most significant byte)
Name
Value
Description
TYPE
0x1
Message type. CS can use it to identify different uplink
messages.
Bit7 is the significant bit.
C256U-PQ User Manual