Changes for page Add GPS Support in LG308N / LPS8v2
Last modified by Xiaoling on 2024/07/31 17:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -151,12 +151,11 @@ 151 151 exit 0 152 152 ))) 153 153 154 -(% style="color:red" %)**Note: **(%%) **After above settings, LPS8v2 will (% style="color:blue" %)enable GPS(%%) automatically on boot.** 155 155 155 +(% style="color:red" %)**Note: **(%%) **After above settings, the LPS8v2 automatically starts with echo "AT+QGPS=1> /dev/ttyUSB2 " to** (% style="color:blue" %)**enable GPS **(%%)** in this case, user can (% style="color:red" %)run "echo AT+QGPS=1 > /dev/ttyUSB2" (%%)to (% style="color:blue" %)enable GPS (%%) /usr/local/dragino/generate-config.sh, after configure this, in the web page, select any frequency band and save to make this take affect.** 156 156 157 -**The user can run (% style="color:red" %)"echo AT+QGPS=1 > /dev/ttyUSB2" (%%)to manually (% style="color:blue" %)enable GPS.(%%)** 158 158 159 - **/usr/local/dragino/generate-config.sh,after configuring this, on the web page, select any frequency band and save to make this take effect.**158 +/usr/local/dragino/generate-config.sh 160 160 161 161 (% class="box" %) 162 162 ((( ... ... @@ -177,7 +177,7 @@ 177 177 json_add_boolean "mac2file" 0 178 178 json_add_boolean "mac2db" 0 179 179 json_add_string "log_mask" "1111" 180 - 179 + (% style="color:red" %)**json_add_string "gps_tty_path" "/dev/ttyUSB1" ~-~-~-~--> Add this line so lora program knows to get the gps info from EC25**(%%) 181 181 json_add_double "ref_latitude" "$latitude" 182 182 json_add_double "ref_longitude" "$longitude" 183 183 json_add_double "ref_altitude" "$altitude"