public interface GsmExtention extends Extention
Modifier and Type | Method and Description |
---|---|
String |
getNetworkProvider() |
String |
getSignalQuality(boolean raw) |
String |
getSimPin() |
boolean |
isSimPin() |
void |
sendPdu(int pduLength,
String pdu) |
void |
sendSms(String phonenumber,
String text) |
void |
setSimPin(String simPin) |
void sendSms(String phonenumber, String text)
phonenumber
- text
- the text to send.
Try to send 7-Bit ASCII, if its impossible 16 bit will be used.
If the Message is too long the message will be split and multiple medssages will be sent.
The multiple messages will be concatentiated by the receiver.void sendPdu(int pduLength, String pdu) throws IOException, InterruptedException
IOException
InterruptedException
boolean isSimPin() throws IOException, InterruptedException
IOException
InterruptedException
String getSimPin() throws IOException, InterruptedException
IOException
InterruptedException
void setSimPin(String simPin) throws IOException, InterruptedException
IOException
InterruptedException
String getNetworkProvider() throws IOException, InterruptedException
IOException
InterruptedException
String getSignalQuality(boolean raw) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2009–2015 atmodem4j. All rights reserved.