SMSLib 3.5.3

org.smslib.modem
Class CNMIDetector

java.lang.Object
  extended by org.smslib.modem.CNMIDetector

public class CNMIDetector
extends java.lang.Object

Small detector for a CNMI-AT-Command. This class is constructed with a given AT+CNMI=?
and searches the best values for mode, mt, bm, ds and bfr for SMSlib.

Author:
Sebastian Just

Constructor Summary
CNMIDetector(java.lang.String cnmi)
          Simple constructor which initializes all fields.
 
Method Summary
 java.lang.String getATCommand()
          toString() with "\r" at the end
 java.lang.String toString()
          Returns the best AT+CNMI=-Command for this GSM-device
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CNMIDetector

public CNMIDetector(java.lang.String cnmi)
Simple constructor which initializes all fields.

Parameters:
cnmi - The AT+CNMI=? response of a GSM device
Method Detail

toString

public java.lang.String toString()
Returns the best AT+CNMI=-Command for this GSM-device

Overrides:
toString in class java.lang.Object

getATCommand

public java.lang.String getATCommand()
toString() with "\r" at the end


SMSLib 3.5.3

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