简体   繁体   English

美国的网络提供商可以使用SIM900或Ai thinker A9g GSM模块

[英]Network providers in USA that can work on SIM900 or Ai thinker A9g GSM modules

I am working on a sensing device that is installed remotely, I want to send the data to my mobile phone via SMS. 我正在远程安装的传感设备上工作,我想通过SMS将数据发送到手机。 The GSM module I am using inside my device is Ai thinker a9g. 我在设备内部使用的GSM模块是Ai思想者a9g。 I have tried a couple of sim cards but they are not supported. 我尝试了几张SIM卡,但不支持它们。 I wanted to know I there is a service provider that supports sms/ text message service on aforementioned gsm module? 我想知道我在上述gsm模块上是否有支持sms /文本消息服务的服务提供商?

I had tried and it works. 我已经尝试过了,而且行得通。 Make sure your sim card support GSM. 确保您的SIM卡支持GSM。 Also you have to change the code to make it work. 另外,您必须更改代码才能使其正常工作。

If you check the code you going to have something like this: 如果您检查代码,则将具有以下内容:

#define PDP_CONTEXT_APN       "cmnet"
#define PDP_CONTEXT_USERNAME  ""
#define PDP_CONTEXT_PASSWD    ""

Network_PDP_Context_t context = {
.apn        = PDP_CONTEXT_APN,
.userName   = PDP_CONTEXT_USERNAME,
.userPasswd = PDP_CONTEXT_PASSWD
};

You have to change the APN by the apn of your provider (with a quick google search you going to find it) 您必须通过提供商的APN更改APN(通过Google快速搜索即可找到它)

I am going to give you some: 我要给你一些:

  • MetroPCS: fast.metropcs.com MetroPCS:fast.metropcs.com

  • Ting: wholesale (This is the one I'm using) 婷:批发 (这是我正在使用的那个)

  • Sprint: cinet.spcs 冲刺:cinet.spcs

  • Tmobile: fast.t-mobile.com Tmobile:fast.t-mobile.com

Username and Password are empty. 用户名和密码为空。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM