SMSLib 3.5.3

org.smslib.modem.athandler
Class ATHandler_Siemens_HC25

java.lang.Object
  extended by org.smslib.modem.athandler.AATHandler
      extended by org.smslib.modem.athandler.ATHandler
          extended by 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.


Constructor Summary
ATHandler_Siemens_HC25(ModemGateway myGateway)
          Construct a HC25 handler
 
Method Summary
 void reset()
           
 void sync()
           
 
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
 

Constructor Detail

ATHandler_Siemens_HC25

public ATHandler_Siemens_HC25(ModemGateway myGateway)
Construct a HC25 handler

Parameters:
myGateway - the gateway to use
Method Detail

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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org