java - 如何使用 AT 命令代替 Java Wireless Messaging API (WMA),将 SMS 发送到 PORT

标签 java sms sms-gateway at-command

我需要知道如何使用 AT 命令而不是 Java Wireless Messaging API (WMA) 将 SMS 发送到特定端口。

谁有一个好的例子吗?

问候,
佩德罗

最佳答案

GSM 07.05可能就是你所追求的。从第一章开始,“范围:”

This Global System for Mobile communications Technical Specification (GTS) defines three interface protocols for control of SMS functions within a GSM mobile telephone from a remote terminal via an asynchronous interface.

[…]

Clause 3 defines a character-based interfaced based on “AT” commands (“Text Mode”). This mode is suitable for unintelligent terminals or terminal emulators, and for application software built on command structures like those defined in V.25ter. Some of the commands defined in clause 3 will also be useful for implementations of clause 2 and/or clause 4, for example enabling an indication of incoming SMS messages.

剩下的只是与串行端口(或 TCP 连接,如果是通过终端服务器连接的较大 GSM 调制解调器群)进行通信,在这种情况下,您还想看看 Java Communications API .

关于java - 如何使用 AT 命令代替 Java Wireless Messaging API (WMA),将 SMS 发送到 PORT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5512000/

相关文章:

从文件发送短信的Android应用程序?

android - 手机应用程序中的短信注册 : whatsapp

java - 如何从java程序向手机发送短信-使用免费的API或WebServices

java - 禁用并替换默认 DataSourceHealthIndicator

Java 默认图标集

java - 原始包装器和静态 "TYPE"类对象

java - Spring Webflow 最佳实践

android - 字符串不会在条件下触发但日志输出表明它应该

c - 发送短信 AT 命令

sms - 如何在 opensmppbox 中使用 SAR TLV 进行消息串联?还可以做到吗?