| 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.siemens.mp.gsm.SMS
Allows to send an SMS to a given number. This is a common,
 user-readable SMS. See Connection
 for data transfer via SMS.
 
| Method Summary | |
| static int | send(String number,
     byte[] data)Sends a data sms to the specified number. | 
| static int | send(String number,
     String data)Sends an sms to the specified number. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static int send(String number,
                       String data)
                throws IOException,
                       NotAllowedException
For further information regarding the mapping of Unicode into standard GSM char (7 bit) see the ETSI mapping specifications.
number - phone number to send SMS todata - SMS text
IllegalArgumentException - the phone number or the text message is missing in method call,
  or format of the number is incorrect
NotAllowedException - if the transfer is not allowed.
IOException - if the network is not available
 
public static int send(String number,
                       byte[] data)
                throws IOException,
                       NotAllowedException
number - phone number to send SMS todata - SMS 8 bit data
IllegalArgumentException - the phone number or the data is missing in method call,
  or format of the number is incorrect
NotAllowedException - if the transfer is not allowed.
IOException - if the network is not available
 | 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Generated on 2003-10-17 | For further information and updates, please visit Siemens mobile Developer Portal |