serialPort
Class Utils
java.lang.Object
   serialPort.Utils
serialPort.Utils
- public final class Utils 
- extends java.lang.Object
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
printLightStatus
public void printLightStatus()
- 
 
getSerialPortUtils
public static Utils getSerialPortUtils(SerialPortBean spb)
- 
 
dial
public void dial(java.lang.String number,
                 DialBean db)
- 
 
startPrintThread
public void startPrintThread()
                      throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
setUp
public void setUp()
- 
 
loud
public void loud()
- 
 
resetModem
public void resetModem()
- 
 
setLocalEchoOn
public void setLocalEchoOn()
- 
 
setDtmfSpeed
public void setDtmfSpeed(int s11)
- The s11 register should be between
 65 and 255 ms. It is the rate of dial.
 Default is 95 ms.
 
- 
- Parameters:
- s11-
 
echoResult
public void echoResult()
- 
 
englishResultCodes
public void englishResultCodes()
- 
 
setNumberOfRingsBeforeAnswer
public void setNumberOfRingsBeforeAnswer(int nor)
- 
 
numericResultCodes
public void numericResultCodes()
- 
 
sendString
public void sendString(java.lang.String s)
                throws java.io.IOException
- 
- Throws:
- java.io.IOException
 
listPorts
public void listPorts()
- 
 
close
public void close()
- 
 
main
public static void main(java.lang.String[] args)
- 
 
getCommPortOwnershipAdapter
public CommPortOwnershipBean getCommPortOwnershipAdapter()
-