org.smslib.modem.athandler
Class ATHandler_Siemens_HC25
java.lang.Object
org.smslib.modem.athandler.AATHandler
org.smslib.modem.athandler.ATHandler
org.smslib.modem.athandler.ATHandler_Siemens_HC25
public class ATHandler_Siemens_HC25
- extends ATHandler
A custom AT handler for the Siemens/Cinterion HC25 circumventing the problem
of the modem losing its SMSC address after issuing 'ATZ' or 'AT&F' by
reloading the address from the SIM card.
Methods inherited from class org.smslib.modem.athandler.ATHandler |
deleteMessage, done, echoOff, enterPin, formatUSSDResponse, getBatteryLevel, getGprsStatus, getImsi, getIndications, getManufacturer, getMessageByIndex, getModel, getModemDriver, getNetworkOperator, getNetworkRegistration, getSerialNo, getSignalLevel, getSimStatus, getSwVersion, init, isAlive, keepLinkOpen, listMessages, processUnsolicitedEvents, readPhonebook, readPhonebookLocations, readStorageLocations, send, sendCustomATCommand, sendMessage, sendUSSDCommand, sendUSSDCommand, sendUSSDRequest, setIndications, setPduProtocol, setTextProtocol, setVerboseErrors, switchStorageLocation, switchToCmdMode |
Methods inherited from class org.smslib.modem.athandler.AATHandler |
addStorageLocation, findMatchingTerminator, getDescription, getGateway, getStorageLocations, getTerminators, getUnsolicitedResponse, getUnsolicitedResponses, isUnsolicitedResponse, isUnsolicitedResponse, load, matchesTerminator, setStorageLocations |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATHandler_Siemens_HC25
public ATHandler_Siemens_HC25(ModemGateway myGateway)
- Construct a HC25 handler
- Parameters:
myGateway
- the gateway to use
sync
public void sync()
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
sync
in class ATHandler
- Throws:
java.io.IOException
java.lang.InterruptedException
reset
public void reset()
throws TimeoutException,
GatewayException,
java.io.IOException,
java.lang.InterruptedException
- Overrides:
reset
in class ATHandler
- Throws:
TimeoutException
GatewayException
java.io.IOException
java.lang.InterruptedException
(c) 2002-2011, http://smslib.org