简体   繁体   English

如何使用java代码和AT命令从sim加密狗读取短信?

[英]how to read sms from sim dongle using java code and AT commands?

我想通过使用java代码的加密狗(USB连接器)连接到我的笔记本电脑的SIM读取短信,我知道我必须使用AT命令,但我不知道哪些命令和如何???

If you are using Windows 7 and a reasonably new modem, you don't have to use AT commands. 如果您使用的是Windows 7和一个合理的新调制解调器,则不必使用AT命令。 You can use the Windows Mobile Broadband API (it is available from Win 7 onwards). 您可以使用Windows Mobile Broadband API(从Win 7开始提供)。

It includes interface functions for SMS. 它包括SMS的接口功能。

You need to enable a serial data connection via the USB connector to your GSM device/phone. 您需要通过USB连接器启用到GSM设备/电话的串行数据连接。

You will also need some type of terminal emulation software to connect and communicate to your phone. 您还需要某种类型的终端仿真软件来连接并与手机通信。

You did not say what Operating system/Hardware you were trying to do this from, or what model of phone, this can affect the AT command set you need to use to access the SMS info, so I can't be more specific. 您没有说明您尝试使用的操作系统/硬件,或者手机的型号,这可能会影响您需要用来访问SMS信息的AT命令集,所以我不能更具体。

I have done this a few years ago using a bluetooth connection to a Motorola Razor from a mac Laptop, using a small Realbasic program to send and recieve SMS messages as a proof of concept for sending server monitoring messages to IT staff via sms. 我几年前使用蓝牙连接到Mac笔记本电脑的摩托罗拉Razor,使用一个小的Realbasic程序发送和接收短信作为通过短信向IT员工发送服务器监控消息的概念证明。 You can google the AT for GSM command set. 您可以谷歌AT for GSM命令集。

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

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