Polysense Technologies Co. Ltd. WXS8000 User Manual

Page of 36
 
 
User Guide 
Revision 0.1 
 
 
XXX-XXXX 
Polysense WxS8000 User Guide 
Rev 2.3, Mar 26, 2018 
 
Polysense, Inc. Confidential 
Page 23 
 
 
38 
UINT16 
2 bytes  1 mm 
Distance 
39 
UINT16 
2 bytes  0.1% 
CO2 concentration in % 
40 
UINT16 
2 bytes  1 ppm 
CO2 concentration in ppm 
41 
UINT16 
2 bytes  10mA 
Current 
42 
UINT16 
2 bytes  1 PSI 
Pressure in PSI (Pounds per Square Inch) 
43 
UNIT16[3] 
6 bytes  ug/m3 
Air quality/PM for PM1.0, PM2.5 and PM10 
4.2.2.  Sensor Data Report with Variable Data Length 
Table below defines the data report format with variable data length. Such data report usually is 
used to report a block of data with the same data type but variable data length, and such data 
block may have to be transmitted in multiple sequential LoRa frames. 
Such block of data is called as batch data sampled in dense data sampling in one scheduling cycle. 
One batch of data is identified by SEQUENCE_ID (bit14~0), it will be increased by one when the next 
batch of data (sampled in next scheduling cycle) is ready to be transmitted, and wrapround to 0 
after reaching the MAX value (0x7FFF). SEQUENCE_ID enables LoRa server to distinguish the date 
sampled in different scheduling cycle, so that server won’t put the data from different scheduling 
cycle together mistakenly.  
One batch of data consists of multiple pages (identified by PAGE_ID), one page corresponds to one 
LoRa frame, and one page can transmit up to 96 x 2 bytes of data. The PAGE_ID enables LoRa 
server to justify if there is page (LoRa frame) missed during the transmission. If there are pages 
missed, server should report the first missed page to WxS8000 immediately, then WxS8000 will 
give up current transmission, and start retransmission from the missed page to the end page of 
current batch. 
The most significant bit (bit15) of SEQUENCE_ID is the transmission end flag of current batch of 
data, in the last page (LoRa frame), bit15 should be set as 0, otherwise it should be set as 1 (means 
the transmission isn’t completed yet). 
Once the batch of data transmission is done, WxS8000 will send another frame (confirmation frame) 
in which the SEQUENCE_ID is same as the last page, but the PAGE_ID is zero, and there is no sensor 
data included. The purpose is to request server to confirm if it receives all pages correctly, server 
should respond with PlssDtRpResp message to inform WxS8000 if it receives all pages correctly or 
the first missed page (to request WxS8000 to retransmit). If WxS8000 doesn’t receive PlssDtRpResp 
message from server, then it will resend the confirmation frame, and give up after trying for 5 times, 
then move to next batch of data transmission. 
Field name 
Byte 
offset 
Length 
Value 
Comment 
PLSS_PAYLOAD_INDICATOR  0 
1 bytes 
0xD7 
Indicate this frame is using Polysense payload format 
PLSS_PAYLOAD_TYPE 
1 bytes 
 
0x7F - Indicate this frame reports 3-axis vibration data 
with variable data length 
0x81 - Indicate this frame reports 2-axis vibration data