Skip to content

Project to automate IP connections on the Raspberry Pi with the Sierra Wireless HL76

Notifications You must be signed in to change notification settings

johnofleek/HL76_rpi

Repository files navigation

HL76_rpi

Project to automate IP connections on the Raspberry Pi with the Sierra Wireless HL76

Assumptions

The scripts are installed in folder ~/pilot/

The scripts are executed from ~

Tested on (ATi9)

Pilot board 000-586-02A Module WP7692 BHL769x.2.11.154401.201611011730.x7120m_1 HL7692 HL769x.2.11 x7120m FUSED 2016-11-01 17:32:04 r6274

RHL769x.2.23.172400.201706231140.x7120m_1 HL7692 HL769x.2.23 x7120m FUSED 2017-06-23 11:44:41 r9909

Rasbian

uname -a Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

HW - Raspberry pi

Pi 2 model B v1.1

Settings

File commandPort.cfg contains the path to the tty to use for commands. Edit commandPort.cfg to change the port used.

Base scripts to run to control the pilot (HL76) board

Restart the HL76

. ./pilot/pilotRestart.sh

Start IP on the HL76

. ./pilot/pilotIp.sh

Power on the HL76 (if connected to a RPi via the header)

. ./pilot/pilotOn.sh

Issues

Note that ttyACM0 has been used in this example. This is because with if ttyACM2 is used the AT+CGDATA="M-RAW_IP",3 fails or crashes the HL device. All FW versions tested

There is no error handling

FW 2.23 - the restart script seems to break something AT+COPS doesn't respond after the pilotIp.sh. It looks like there are responses in the stream (OK or ) which are upsetting the pilotIp.sh sequence.

Note the . or source is needed because variables are globally shared by some of the scripts

About

Project to automate IP connections on the Raspberry Pi with the Sierra Wireless HL76

Resources

Stars

Watchers

Forks

Packages

No packages published