gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 15:53:36 25 4
gpt4 key购买 nike

我需要知道如何使用 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com