简体   繁体   中英

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. You can use the Windows Mobile Broadband API (it is available from Win 7 onwards).

It includes interface functions for SMS.

You need to enable a serial data connection via the USB connector to your GSM device/phone.

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.

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. You can google the AT for GSM command set.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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