Skip to content

Commit daa51bd

Browse files
committed
Correct iWave GPS documentation
1 parent af6c0ff commit daa51bd

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

docs/iwave-g26-tutorial/iwave-g26-tutorial.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,17 +242,17 @@ Setting up the 4G LTE modem inside the G26 TCU is dependent on your SIM card ser
242242
```bash
243243
#!/bin/sh
244244
echo 1 > /proc/sys/net/ipv4/ip_forward
245-
#12v register
245+
# 12v register
246246
echo 137 > /sys/class/gpio/export
247-
#Battery Status
247+
# Battery Status
248248
echo 118 > /sys/class/gpio/export
249249
#Battery Charge Enable
250250
echo 120 > /sys/class/gpio/export
251-
#LED
251+
# LED
252252
echo 73 > /sys/class/gpio/export
253-
#Battery Power Good
253+
# Battery Power Good
254254
echo 64 > /sys/class/gpio/export
255-
#Modem
255+
# Modem
256256
echo 90 > /sys/class/gpio/export
257257
echo 78 > /sys/class/gpio/export
258258
echo 88 > /sys/class/gpio/export
@@ -282,6 +282,9 @@ Setting up the 4G LTE modem inside the G26 TCU is dependent on your SIM card ser
282282
insmod /iwtest/kernel-module/ci_hdrc_imx.ko
283283
insmod /iwtest/kernel-module/u_serial.ko
284284
sleep 20
285+
# Enable the GPS:
286+
echo "AT+QGPS=1" > /dev/ttyUSB2
287+
# Connect to LTE:
285288
/usr/sbin/pppd call gprs_4g nodetach
286289
```
287290

docs/iwave-g26-tutorial/iwave-gps-setup.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
# IWave GPS setup
22

3-
Setup the iWave device like described in the [iwave-g26-tutorial](iwave-g26-tutorial.md) To enable
4-
the GPS output, open the file `/etc/ppp/chat/gprs` and add the following (for example above the
5-
AT+CPIN line):
6-
7-
```
8-
# Enable GPS
9-
AT+QGPS=1
10-
```
11-
12-
To apply the changes you can use `systemctl restart lte`. After that you should see NMEA formatted
13-
ASCII data if you do `cat < /dev/ttyUSB1`
3+
Setup the iWave device as described in the [iwave-g26-tutorial](iwave-g26-tutorial.md), then check
4+
that you can see NMEA formatted ASCII data when you run `cat < /dev/ttyUSB1`.
145

156
The required decoder manifest changes are explained in
167
[custom-data-source](../custom-data-source.md). If you are using the console to create the decoder

0 commit comments

Comments
 (0)