LASS - data format
  • The LASS message format is hardcoded in the LASS software. It may evolve over time, but it should avoide modifications because any modifications may result in failures of the existing ba28C2DDDD4597ckend data presentation/analysis tools.

For any changes made in the message format, please modify the variable VER_FORMAT in the source codes. It is recommended to change it incrementally by one for each update. 

  • Once an update is made, please add descriptions of the changes in the below document (following the same description format).
 

Changes of LASS Message Formats 

  • Version 3
  • since LASS v0.7.3
  • Changes:
  • sensor naming rule changed, from data-type to s_type. type start naming from lower case with 2 characters in user defined sensors, 1 character for system sensors
  • Example
|ver_format=3|fmt_opt=0|app=PM25|ver_app=0.7.3|device_id=LJ_PM25_001|tick=26795810|date=2015-10-15|time=22:35:07|device=LinkItONE|s_0=2234.00|s_1=100.00|s_2=1.00|s_3=0.00|s_d0=39.00|s_t0=25.50|s_h0=65.80|gps_lat=25.025362|gps_lon=121.371038|gps_fix=1|gps_num=9|gps_alt=2
  • Version 2
  • since LASS v0.7.0
  • Changes:
  • remove "|values=xxx,xxx,xxx,xxx,xxxx,..."
  • remove "|gps=$GPGGA,..."
  • add "|data-X=xxx" for each sensing data, where X is the sensor type. The value of X is an integer in the range of 1 and 9 for default system sensors, an uppercase English character for COTS Grove sensors, and a lowercase English character for customized sensors
  • add "|gps-lat=xxx" for latitude informaiton
  • add "|gps-lon=xxx" for lontitude information
  • add "|gps-fix=x" for the quality of GPS fix informaiton
  • add "|gps-num=xx" for the informaiton about the number of satellites involved in the GPS fix
  • add "|gps-alt=xxx" for the altitude above the sea level 
  • Example
|ver_format=1|fmt_opt=0|app=APP_ID|ver_app=0.7.0|device_id=DEVICE_ID|tick=328957926|date=2015-10-09|time=05:14:34|device=LinkItONE|data-0=29028.00|data-1=100.00|data-2=1.00|data-3=0.00|data-B=1006.67|data-T=26.30|data-H=94.40|data-L=40.00|gps-lat=25.025304|gps-lon=121.367689|gps-fix=0|gps-num=0|gps-alt=1
  • Version 1
  • since LASS 0.6.4
  • Example:
  • |ver_format=1|fmt_opt=0|app=APP_ID|ver_app=0.6.6|device_id=DEVICE_ID|tick=6454691|date=9/10/15|time=5:13:59|device=LinkItONE|values=193.00,100.00,1.00,81.79,0.00,0.00,0.00,0.00,0.00,0.00,0.62,10830.19,59.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00|gps=$GPGGA,051359.000,2400.0634,N,12030.6813,E,1,14,0.73,17.8,M,16.2,M,,*56