开发者

How to use AT Commands instead of Java Wireless Messaging API (WMA), for SMS to PORT

开发者 https://www.devze.com 2023-02-21 01:24 出处:网络
I need to know Ho开发者_StackOverflow社区w to use AT Commands instead of Java Wireless Messaging API (WMA) to send SMS to specific port.

I need to know Ho开发者_StackOverflow社区w to use AT Commands instead of Java Wireless Messaging API (WMA) to send SMS to specific port.

Anyone have one good example?

Regards,

Pedro


GSM 07.05 might be what you’re after. From the first chapter, “Scope:”

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.

The rest is just communication with a serial port (or TCP connection in case of larger GSM modem farms that are connected via terminal servers) in which case you also want to take a look at the Java Communications API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号