File tree Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -242,17 +242,17 @@ Setting up the 4G LTE modem inside the G26 TCU is dependent on your SIM card ser
242
242
``` bash
243
243
#! /bin/sh
244
244
echo 1 > /proc/sys/net/ipv4/ip_forward
245
- # 12v register
245
+ # 12v register
246
246
echo 137 > /sys/class/gpio/export
247
- # Battery Status
247
+ # Battery Status
248
248
echo 118 > /sys/class/gpio/export
249
249
# Battery Charge Enable
250
250
echo 120 > /sys/class/gpio/export
251
- # LED
251
+ # LED
252
252
echo 73 > /sys/class/gpio/export
253
- # Battery Power Good
253
+ # Battery Power Good
254
254
echo 64 > /sys/class/gpio/export
255
- # Modem
255
+ # Modem
256
256
echo 90 > /sys/class/gpio/export
257
257
echo 78 > /sys/class/gpio/export
258
258
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
282
282
insmod /iwtest/kernel-module/ci_hdrc_imx.ko
283
283
insmod /iwtest/kernel-module/u_serial.ko
284
284
sleep 20
285
+ # Enable the GPS:
286
+ echo " AT+QGPS=1" > /dev/ttyUSB2
287
+ # Connect to LTE:
285
288
/usr/sbin/pppd call gprs_4g nodetach
286
289
```
287
290
Original file line number Diff line number Diff line change 1
1
# IWave GPS setup
2
2
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 ` .
14
5
15
6
The required decoder manifest changes are explained in
16
7
[ custom-data-source] ( ../custom-data-source.md ) . If you are using the console to create the decoder
You can’t perform that action at this time.
0 commit comments