Raspberry Pi to Hologram Nova

Hi all,

I was hoping to use a PPP connection to my hologram Nova Sara-R410 modem, but for some reason my provider doesn’t seem to support it and the dial up attempt fails. This is what my dial up log looks like:

Blockquote
pi@raspberrypi:~ $ sudo pppd -d -detach
using channel 4
Using interface ppp0
Connect: ppp0 ↔ /dev/ttyUSB1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8793bb2e> ]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0xb3970700> ]
sent [LCP ConfNak id=0x0 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8793bb2e> ]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb3970700> ]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb3970700> ]
sent [LCP EchoReq id=0x0 magic=0x8793bb2e]
sent [PAP AuthReq id=0x1 user=“raspberrypi” password=]
rcvd [LCP DiscReq id=0x2 magic=0xb3970700]
rcvd [LCP EchoRep id=0x0 magic=0xb3970700 87 93 bb 2e]
rcvd [PAP AuthAck id=0x1 “”]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [LCP EchoReq id=0x1 magic=0x8793bb2e]
CCP: timeout sending Config-Requests
IPCP: timeout sending Config-Requests
sent [LCP TermReq id=0x2 “No network protocols running”]
sent [LC

How can I use the hologram SDK to communicate with the Nova from a C program over /dev/ttyUSB1?
I can successfully send AT commands over this interface using the screen command. But current attempts using standard write() and read(0 attemps from /dev/ttyUSB1 are failing.

Does anybody have an example of how to send raw AT commands from a C program for the rapsberry pi?

Eoin

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.