广和通调制解调器连接互联网 AT 命令序列
Fibocom Modem Connect Internet AT Command Sequence
我尝试使用 FIBOCOM 调制解调器通过 AT 命令连接互联网。顺序如下。例如,对于运营商,我有不同的技术 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
我该怎么办?
命令是
AT+MIPCALL=1,"APN"/r
apn 是接入点名称,如果您提供正确的名称,它将 return 确定
最多 20 秒后,它将 return 连接 ip 地址
我尝试使用 FIBOCOM 调制解调器通过 AT 命令连接互联网。顺序如下。例如,对于运营商,我有不同的技术 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
我该怎么办?
命令是 AT+MIPCALL=1,"APN"/r
apn 是接入点名称,如果您提供正确的名称,它将 return 确定 最多 20 秒后,它将 return 连接 ip 地址