smslib_osgi

App Image

 Download Latest Version 
   October 27th, 2010   ·   1095 views  /  342 downloads

Admin Administrators: Bug Labs teamjconnolly

Category: Libraries    Maturity: Stable    API version: 2.0
Tags: sms  modem  library 

Application may depend on:

This library is intended for use with BUG2.0 configurations that do not require network access. There is no application logic here, no osgi-services. It is intended to support users who want to use smslib’s functionality in their own applications.

This is but one possibility among many for sending SMS messages using a BUG2.0. This library will open the appropriate TTY and issue AT commands. If NetworkManager and/or ModemManager is running, those processes will own the tty. The two are mutually exclusive.

If you want to use ModemManager’s SMS functionality, you’ll find more luck using java-dbus to communicate with the daemon. More info coming soon.

SMSLib is a Java library which allows you to send/receive SMS messages via a compatible GSM modem or GSM phone. SMSLib also supports some bulk sms operators (for outbound messaging only).

SMSLib has been converted to a .NET assembly using the IKVM Tools.
SMSLib is distributed under the terms of the Apache v2 license.
Features

SMSLib is currently on its 3rd version.

SMSLib v3 retains the old functionality:

  • Supports GSM phones and GSM modems connected via serial port interfaces or IP interfaces.
  • Works with PDU/TEXT protocols.
  • Supports Inbound & Outbound simple text messages.
  • Works with 7bit, 8bit and UCS2 (Unicode) message encodings.
  • Supports Inbound & Outbound big (multipart) messages.
  • Flash messaging.
  • Outbound messages with port information / addressing.
  • Outbound WAP PUSH SI messages.
  • Status (Delivery) Report messages.
  • Basic GSM information available: Modem, Manufacturer, S/W revision, Signal level, etc.
  • Supports a few bulk operators, using http/https protocols.
  • Support the SMPP protocol.

Furthermore, SMSLib v3 offers the following new functionality:
Multiple Gateways

SMSLib v3 has introduced the concept of the Gateway, which is an interface to a device or service that can send and/or receive SMS messages. A gateway could be a GSM modem or a supported bulk sms provider. SMSLib can handle multiple gateways at the same time.
Sending Priorities

SMSLib offers unlimited per-message priorities which can be used for sending messages. When possible, SMSLib priorities are mapped directly to the gateway(s) functionality, otherwise they get simulated.
Synchronous / Asynchronous Receiving

SMSLib gives you two options for receiving messages:

  • Synchronously: you take responsibility and periodically call the read() methods.
  • Asynchronously: wait for SMSLib to call you upon message receipt.

Synchronous / Asynchronous Sending

SMSLib gives you two options for sending messages:

  • Synchronously: when you call SMSLib to send a message, your thread blocks until the message gets sent or fails.
  • Asynchronously: when you call SMSLib to send a message, your thread does not block and SMSLib returns immediately. SMSLib queues your message(s) and sends them in the background. You may choose to get notified about the fate of your messages.

Callbacks

SMSLib gives you the option of defining callback methods which it will call when certain events occur:

  • Inbound voice calls: SMSLib can be set to call you upon reception of a voice call. Please note that the voice call will be automatically and unconditionally dropped and you will get notified about the number of the calling party.
  • Inbound messages: Each time a message is received, SMSLib can be set to call your specified method.
  • Outbound messages: When you asynchronously send messages, SMSLib can be set to call your specified method with the message sent (updated with status, etc).
  • Gateway status changes: SMSLib can notify you each time a gateway changes its status.
  • Queue sending operation: SMSLib can notify you everytime it’s ready to send a message via the background queues.

See this page for more information.
Custom Sender ID

SMSLib supports custom Sender ID. This feature is not supported on GSM modems – you have to use one of the supported bulk sms operators.
Encrypted Messages

SMSLib can send/receive encrypted messages. The current encryption engine uses the JDK AES strong key (128bit) implementation. Encrypted messages are send as binary messages. SMSLib provides an automatic way of assigning encryption keys to specific numbers, so the whole send/receive procedure is more or less automatic.

See this page more information.

 Read The How To 


Download Download Latest Version

Version Date Uploaded by Notes  
Version 2 October 28th, 2010 jconnolly  Update manifest to export more relevant packages. (more) Update manifest to export more relevant packages. (collapse) download
Version 1 October 27th, 2010 jconnolly  (more) (collapse) download

ASL2.0

SMSLib for Java v3
A Java API library for sending and receiving SMS via a GSM modem
or other supported gateways.
Web Site: http://www.smslib.org

Copyright© 2002-2010, Thanasis Delenikas, Athens/GREECE.
SMSLib is distributed under the terms of the Apache License version 2.0

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Viewing smslib_osgi   Link

2 Comments

Comment_icon Login to add comment

monster

monster said on May 21st, 2012 03:04:00 AM

Product Description: Monster beats pro detox inherited beats pro appearance features, metal body, the Monster wire, can be freely stretching, beats studio headphones dre DJ and music room work professional musicians, earmuffs flip convenient listening. Beats Monster introduced a high-quality headphones, the most prominent is that the headset is by Grammy award-winning artist Dr.Dre and magic sound of the audio team of experts to research and development. beats by dre studio At the same time, even in the face of the requirements of the Rock, a very hip, the Hot R & B, Beats can through its excellent structure, 110dB sensitivity, can be as much as possible the details shown in the speed of sound. beats by dr dre studio "Magic sound" in 2008 with the Grammy award-winning artist Dr.Dre and magic sound of the audio team of experts to research and development of the first headset Studio, and quickly popular throughout the United States, then the "magic sound" company to redouble their efforts to launch Tour and Turbine two headphones, a fashion high-quality headphones endorsement.

monster

monster said on May 21st, 2012 03:04:28 AM

Jenny smiled and leaned down to touch the girl's face: "Oh, teacher Wait a minute there are things to be running a small Mary behaved and play it!" "But why Nick never not we play?" Mary's little fingers on top of a stone bench. beats pro headphones Jenny looked down under the direction of the little girl, I saw not far from the stone bench, sitting on a 11-year-old little boy, the boy at the moment the hands are playing with the hands of a wooden box, and furans into the box The furans himself. beats pro headphones dre On this child, Jenny also know that since come here to work, often can be seen in the community, but as is well known, the child's intellectual development seems to be later than the average child, like a teenager age children, beats by dre pro has long been facing an object to himself, and he does not love to communicate with people, never into the children to play with.