public class ModemCommand
extends java.lang.Object
Constructor and Description |
---|
ModemCommand(CnS cmd)
CnS command constructor
|
ModemCommand(java.lang.String cmd)
AT command constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAtCommand()
Reports AT command
|
CnS |
getCnsCommand()
Reports CnS command
|
int |
getType()
Reports command type.
|
public ModemCommand(java.lang.String cmd)
cmd
- - AT commandpublic ModemCommand(CnS cmd)
cmd
- - CnS commandpublic int getType()
public java.lang.String getAtCommand()
public CnS getCnsCommand()
Copyright © 2009 Eurotech Inc. All rights reserved.