是我的 SIM 卡有问题还是我的提供商惹恼了我?

发布于 2024-12-22 06:53:25 字数 852 浏览 5 评论 0原文

我正在尝试使用 pppd 和 AT 命令建立 PPP 连接。这通常适用于我当地提供商的 SIM 卡。然而,我收到了一位住在德国的朋友发来的卡片,我想从瑞士尝试一下,但我的行为很奇怪。

首先,我无法激活错误消息(AT+CMEE),尽管我之前激活了完整的详细信息(AT+CMEE=2),但我总是收到错误消息“ERROR”。此命令适用于我的本地提供商 SIM 卡...

然后,如果我检查网络状态:

AT+CGREG?
+CGREG: 1,3

相信“3”,这意味着 “注册被拒绝”

当我尝试连接或分离时,总是出现错误,没有更多解释(尽管 AT+CMEE=2):

AT+CGATT=0
ERROR
AT+CGATT=1
ERROR
AT+CGATT?
+CGATT: 0

OK

我可以使用 AT 命令发送短信!将SIM卡插入手机后,无法拨打电话!

那么是否可以在不需要注册网络的情况下发送短信呢?是否有可能在 SIM 卡上禁用了错误消息报告?我想知道这是否是配置问题、SIM 卡问题或提供商问题...

编辑

如果这可以帮助某人。当我使用可用的 SIM 卡与网络断开连接时,我尝试发送短信,成功了!相信这个网站我猜我的朋友没有付帐单或我的本地网络提供商拒绝我使用其网络...

I'm trying to establish a PPP connection using pppd and AT Commands. This usually works fine with a SIM card of my local provider. However, I received a card from a friend that is living in Germany and I wanted to give it a try from Switzerland but I have a very strange behavior.

First I cannot activate the error message (AT+CMEE), I always get the error message "ERROR" despite I activated the full verbose previously (AT+CMEE=2). This commands works with my local provider SIM card ...

Then if I check the network status:

AT+CGREG?
+CGREG: 1,3

Believing the "3", this means "Registration denied".

When I try to attach or detach, I always have an error without more explanation (Despite AT+CMEE=2):

AT+CGATT=0
ERROR
AT+CGATT=1
ERROR
AT+CGATT?
+CGATT: 0

OK

I can send SMS with AT commands! Putting the SIM card in a phone, I cannot establish any call!

So is it possible to send SMS without the need to register to the network? Is it possible that error message reporting is deactivated on the SIM card? I'm wondering if this is a problem of configuration, a problem of the SIM card or a problem of provider...

Edit

If this could help someone. I tried to send an SMS when I'm detached from the network with my working SIM card, it works! Believing this website I guess my friend didn't pay the bill or my local network provider refuses me to use its network ...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

水水月牙 2024-12-29 06:53:25

可能允许电路交换数据 (GSM) 漫游。并且不允许GPRS服务漫游。

AT+CGREG?返回 GPRS 注册状态。

AT+CREG?返回网络注册状态 (GSM/UMTS)。
尝试命令:

 AT+CREG?

它可能会返回5(已注册,漫游)。

SMS 消息发送之所以有效,是因为它不需要 GPRS。 Attach 和+CGREG 的东西都是针对GPRS 的。

Probably roaming of circuit switched data (GSM) is allowed. And roaming of GPRS service is not allowed.

AT+CGREG? returns status of GPRS registration.

AT+CREG? returns status of network registration (GSM/UMTS).
Try command:

 AT+CREG?

It probably will return 5 (Registered, roaming).

SMS message sending works because it does not need GPRS. Attach and +CGREG stuff are all for GPRS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文