HL7692 module IP connection with Vodafone Sim

Goodmorning,

Please forgive me, English is not my first language so I will keep things as simple as possible.

I am setting up the the Sierra Wireless HL7692 module on a pilot board (from https://linkwave.co.uk/pilot).
I am setting it up on a Raspberry Pi 3B+

I am based in the United Kingdom and I am using a vodafone sim card which I have activated and
topped up with £10 and set up a bundle.

I have been ok so far; until the point where I have to setup the sim and make an IP connection.
The Device is turning on and when I ring the number I can see the ‘RING’ and caller ID in: “sudo minicom -D /dev/ttyACM0”
but when the moment I attempt to make an IP connection it gives me the following :

root@raspbx:~# chat –v –f ./chatHLsetup > /dev/ttyACM0 < /dev/ttyACM0
root@raspbx:~# sudo pppd /dev/ttyACM0 115200 call pppPilot
pppd options in effect:
debug # (from /etc/ppp/peers/pppPilot)
nodetach # (from /etc/ppp/peers/pppPilot)
unit 1 # (from /etc/ppp/peers/pppPilot)
dump # (from /etc/ppp/peers/pppPilot)
noauth # (from /etc/ppp/peers/pppPilot)
/dev/ttyACM0 # (from command line)
115200 # (from command line)
nolock # (from /etc/ppp/peers/pppPilot)
connect /usr/sbin/chat -v -f /etc/chatscripts/chatUp # (from /etc/ppp/peers/pppPilot)
disconnect /usr/sbin/chat -v -f /etc/chatscripts/chatDown # (from /etc/ppp/peers/pppPilot)
crtscts # (from /etc/ppp/options)
modem # (from /etc/ppp/options)
noaccomp # (from /etc/ppp/peers/pppPilot)
asyncmap 0 # (from /etc/ppp/options)
nomagic # (from /etc/ppp/peers/pppPilot)
nopcomp # (from /etc/ppp/peers/pppPilot)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/peers/pppPilot)
novj # (from /etc/ppp/peers/pppPilot)
ipcp-accept-local # (from /etc/ppp/peers/pppPilot)
ipcp-accept-remote # (from /etc/ppp/peers/pppPilot)
noipdefault # (from /etc/ppp/peers/pppPilot)
defaultroute # (from /etc/ppp/peers/pppPilot)
replacedefaultroute # (from /etc/ppp/peers/pppPilot)
usepeerdns # (from /etc/ppp/peers/pppPilot)
: # (from /etc/ppp/peers/pppPilot)
noccp # (from /etc/ppp/peers/pppPilot)
noipx # (from /etc/ppp/options)
Script /usr/sbin/chat -v -f /etc/chatscripts/chatUp finished (pid 12703), status = 0x1
Connect script failed
root@raspbx:~#


I am assuming the error is linked to what I have done in: “sudo nano chatHLsetup” which is:

OK AT
OK AT+KSRAT=5
OK AT+CGDCONT=1,“IP”,“pp.vodafone.co.uk”,“wap”,“wap”,“PAP”

OK AT+WPPP=1,3,"",“wap” ------------------------------> (Look Into This Part At Some Point)
activate the context so the cellular carrier is up before pppd connects

@wheelerv76,

So from the script I would remove KSRAT and you just need to specify the APN, pp.vodafone.co.uk is fine, it does not require a username and password.

You do need to make sure that the unit is attaching first. I would power it on and manually check this wth the below commands

at+creg? ;If this comes back with 0,1 then you are attached to the home network.
at+cops? ;Assuming it is attached the last paramter will tell you the tech, 0= 2G, 7=LTE

Regards

Matt

THIS IS WHAT I CHANGED IT TO:

OK AT
OK AT+CGDCONT=1,“IP”,“pp.vodafone.co.uk”,“”,“”,

OK AT+WPPP=1,3,"",“c”
activate the context so the cellular carrier is up before pppd connects

AND THESE ARE THE RESULTS I AM GETTING:

at+creg?
+CREG: 2,1,“03C3”,“090C”,3

OK
at+cops?
+COPS: 0,0,“0076006F006400610066006F006E006500200055004B”,0

OK

AND IT KEEPS REPEATING:
+CIEV: 2,1
+CIEV: 2,2
+CREG: 0
+CGREG: 0
+CIEV: 3,1
+CREG: 1,“03C3”,“090C”,3,“01”

@wheelerv76,

If it keeps repeating then it sounds like the unit is power cycling for some reason, if it is just after the CREG comes through it probably means your power supply is not good enough and the unit is drawing too much current for it to handle, at a guess.

Regards

Matt