目前使用Gemtek LoRa, 資料長度限制為 11 bytes !
現階段format
傳送項目 | App_ID | (Temperature value + 20) x 10 | Humidity value x 10 | PM2.5 | PM10 - PM2.5 | Lat + 90 | Lon + 180 | fix/num |
bits 數 | 4 bits | 10 bits | 10 bits | 11 bits | 8 bits | 20 bits | 21 bits | 4 bits |
可記錄range | 0~15 | -20 ~ 82.3 | 0 ~ 102.3 | 0 ~ 2047 | 0 ~ 255 | -90 ~ 90 | -180 ~ 180 | 0 ~ 14 |
傳送時數值 | 0~15 | 0 ~ 1023 | 0 ~ 1023 | 0 ~ 2047 | 0 ~ 255 | D: 0 ~ 180 (8 bits) , M: 0 ~ 59 (6 bits) , S: 0 ~ 59 (6 bits) |
D: 0 ~ 360 (9 bits) , M: 0 ~ 59 (6 bits) , S: 0 ~ 59 (6 bits) |
0 ~ 15 |
備註 | PM10 = PM2.5 + (PM10 - PM2.5) | DMS format | DMS format | 15: Fake GPS |
資料路徑
LoRa --- 11 bytes ---> Server --- MQTT ---> LASS