Fibocom调制解调器连接Internet AT命令序列

时间:2015-09-11 11:21:52

标签: command sequence connect at-command carrier

我尝试通过AT命令与FIBOCOM调制解调器连接互联网。顺序如下。我有不同的技术AT + COPS,例如运营商。但我想我不能再进一步了。

        _serialPort.Write("AT\r");
        Thread.Sleep(2000);

        _serialPort.Write("ATZ\r");
        Thread.Sleep(2000);

        _serialPort.Write("ATE0+CMEE=1;+CREG=2\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CPIN?\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CSQ\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CREG?\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CSQ\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CMGF=0\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CIMI\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CGSN\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CPMS?\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CGDCONT=1,\"IP\",\"infoteks\",\"0.0.0.0\",0,0\r");
        Thread.Sleep(2000);

        _serialPort.Write("AT+CGQMIN=1,1,0,0,4,31\r");
        Thread.Sleep(2000);

        _serialPort.Write("ATD*99***1#\r");
        Thread.Sleep(2000);

完成此序列后,我收到了这些报告

CONNECT
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....
~^Y}#A!}!}!} }8}....

NO CARRIER

我该怎么办?

1 个答案:

答案 0 :(得分:0)

命令是 AT + MIPCALL = 1, “APN”/ R

apn是访问点名称,如果您给出正确的名称,它将返回确定 经过一段时间20秒后,它将返回连接的IP地址