LANSITEC Information Technology LSTR100 User Manual

C256U-PQ User Manual
Document Number: 990-01201
Rev. 1.09 06/2019
contact@lansitec.com
Catalog
1. General Introduction ................................................................................................................................................ 1
2. ON/OFF ............................................................................................................................................................... 2
3. Product Specifications ............................................................................................................................................. 2
4. Application Information .......................................................................................................................................... 2
4.3.1 Register ..................................................................................................................................................... 3
4.3.2 Heartbeat ................................................................................................................................................. 5
4.3.3 Beacon ...................................................................................................................................................... 6
4.3.4 Bracelet ..................................................................................................................................................... 8
4.3.5 Light perception ..................................................................................................................................... 9
4.3.6 G-Sensor ................................................................................................................................................ 10
4.3.7 Beacon List ............................................................................................................................................. 11
4.3.8 Alarm ....................................................................................................................................................... 11
4.3.9 Acknowledge ........................................................................................................................................ 12
4.4.1 Register acceptance............................................................................................................................ 12
4.4.2 Lora configuration ............................................................................................................................... 13
4.4.3 configuration ...................................................................................................................... 13
4.4.4 Command request .............................................................................................................................. 14
4.4.5 Acknowledge ........................................................................................................................................ 15
1. General Introduction
This LoRa & BLE Device is designed based on BLE and LoRa technology. With the advanced LoRa technology and build-in BLE module, the LoRa & BLE Device detects the BLE beacon signal, and report to the LoRa Device. The parameters setting, such as heartbeat period, LoRa work mode is adjustable per customers’ requirements. Highlights:
1 / 18 www.lansitec.com
LoRaWAN 1.02 compliant
C256U-PQ User Manual
2 On/Off
The tracker can be turned on/off by long period pressing the power button for 3 seconds. When
pushing the button to power off the tracker, the red light will last for three seconds then turn off,
when push the button to power on the tracker, the red light will flash for four times then turn off.
Press the button to check whether the tracker is working, if the green "S" status light blinks, it indicates
the tracker is working. The red battery light flashes during charging and sustains when charging
completed.
3. Product Specifications
Table 1: Product Specifications
Positioning Mode BLE4.0
Scan range 30m/50m Protocol LoRaWan
Sensitivity -142.5dBm
Operating Current
Operating Temperature
Storage Temperature
Operating Humidity Power Mode DC 5V Communication Distance >1.5km in urban area
Application Context Asset Management
6mAh@BLE receiving Max 140mA@19dBm
-40+70
-50+85 5%~95%
4. Application Information
4.1 Function
There’re two kinds of LoRa & BLE Device, one type is indoor Device powered by external power and no battery equipped, and another type is outdoor Device powered by solar panel equipped with Lithium battery or only battery equipped. The Device supports both OTAA and ABP mode, both work in class a mode, the data rate is limited to start from DR2 to transmit big payload. DevEUI, AppEUI and AppKey, or DevAddr, NwkSKey and AppSKey are stored in the Device and are necessary for joining a network. DevEUI or DevAddr is labeled at the
2 / 18
www.lansitec.com
Bytes
1 1 1 1 2 1 2
Item
TYPE
SMODE
POWER
CFG
POS
HB
CRC
Bit
Name
Value
Description
7~4
TYPE
0x1
Message type. CS can use it to identify different uplink messages. Bit7 is the significant bit.
C256U-PQ User Manual
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
TYPE field (the most significant byte)
3 / 18 www.lansitec.com
3
ADR
0: OFF 1: ON
ADR (Adaptive Date Rate) status. The default value is OFF.
2~0
MODE
0x01~0x07
Current working scheme which should be one of SMODE. 0x1: AU920 0x2: CLAA 0x3: CN470 0x4: AS923 0x5: EU433 0x6: EU868 0x7: US915
SMODE field
Bit
Name
Value
Description
7~0
SMODE
0x01: AU920 0x02: CLAA 0x04: CN470 0x08: AS923 0x10: EU433 0x20: EU868 0x40: US915
Bit
Name
Value
Description
7~3
POWER
0~31
2~0
Reserved
0x0
2: B mode 3: C mode 4: D mode 5: E mode 6: All frequency sweep
C256U-PQ User Manual
Data scheme supported by Device. This field is preserved by Lansitec and will be configured before shipping. For European market, the default value is EU868, for China market, the default value is CN470, for Southeast Asia market, the default value is AS923, for America market, the default value is US915. Currently only support one kind of mode.
POWER field
CFG field
4 / 18 www.lansitec.com
Configured transmit power. The default value depends on the Device working mode, it’s always the biggest one of the allowed power. For example, if the mode is EU868, the default value of POWER should be 14dbm. (Unit: dBm) Reserved for future use. If MODE is CLAA, it indicates the frequency sweep mode of the Device: 1: A mode
Bit
Name
Value
Description
7~4
DR
0~15
3~0
Reserved
0x0
Reserved for future use.
Bit
Name
Value
Description
15~0
POS
0~65535
The period of position report, unit 5s. 0 means OFF. (Big endian) The default value is 10s.
Bit
Name
Value
Description
7~0
HB
1~255
The period of Heartbeat message, unit 30s. Heartbeat can’t be disabled. The default value is
10.
Bit
Name
Value
Description
15~0
CRC
CRC16 of previous fields with TYPE bits set to 0, the polynomial is     . CS only need to compare this data field with the CS stored one to judge whether configuration changed.
Bytes
1 1 1 2 1 1 2
Item
TYPE
VOL
RSSI
SNR
RFU
CHGSTAT
CRC
Bit
Name
Value
Description
7~4
TYPE
0x2
Message type, CS can use it to identify different uplink messages.
3~0
Version
1
Version of the message type, current version is 1.
C256U-PQ User Manual
Data Rate(DR0~DR15). The default value is DR2. If ADR is disabled, the Device will work in this data rate.
POS field
The Device will start BLE scanning several seconds before the end of every scan period, the default value is 3 seconds, which is configurable. Besides, scan period and send period are different, the purpose is to reduce the send delay, that’s because in some situation the outdoor Device may be configured to detect every 30 minutes or one hour, if still only send the data at the end of scan period, it will take hours to send all the beacons once there’re tens of beacons. To solve this issue, the Device will check the scan period every time, if scan period is more than 5 minutes, after it sending the data at the end of scan period, it will go on checking the buffer, if still having beacons not sent it will launch another transmission 10 seconds later till all the beacons are sent.
HB field
CRC field
Default value of Device configuration depends on specific products.
4.3.2 Heartbeat
TYPE field
5 / 18 www.lansitec.com
Loading...
+ 11 hidden pages