Git Product home page Git Product logo

hl76_rpi's Introduction

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

hl76_rpi's People

Contributors

johnofleek avatar

Stargazers

Henry Zheng avatar

Watchers

James Cloos avatar  avatar

hl76_rpi's Issues

ttyACM2 doesn't work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.