开发者

GSM module with Android on BeagleBoard

I'm using http://www.sparkfun.com/products/9427 as GSM module. I've built for FTDI and generic usb-serial driver. Everytime I try to pppd call GPRS I'll g开发者_如何学JAVAet pppd: connect script failed.

The commands executed were:

1. pppd /dev/ttyUSB0

2. netcfg ppp0 up

3. pppd call gprs

gprs script:

/dev/ttyUSB0

460800

crtscts

modem

noauth

debug

nodetach

usepeerdns

noipdefault

defaultroute

user ""

0.0.0.0:0.0.0.0

connect '/system/bin/chat -s -v -f /system/etc/ppp/gprs-connect-chat' `

gprs-connect-chat script:

TIMEOUT 15

ABORT "DELAYED"

ABORT "BUSY"

ABORT "ERROR"

ABORT "NO DIALTONE"

ABORT "NO CARRIER"

TIMEOUT 40

'' \rAT

OK ATZ

OK "ATQ0 V1 E0 S0=0 &C1 &D2 +FCLASS=0"

OK AT+CGDCONT=1,"IP","Singtel"

OK ATDT*99# CONNECT

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜