|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--nl.tbdev.IR.Options
Basic IR Options
| Field Summary | |
static byte |
B115200
|
static byte |
B19200
|
static byte |
B2400
|
static byte |
B38400
|
static byte |
B57600
|
static byte |
B9600
|
private byte |
baud
|
static byte |
BOF0
|
static byte |
BOF1
|
static byte |
BOF12
|
static byte |
BOF2
|
static byte |
BOF24
|
static byte |
BOF3
|
static byte |
BOF48
|
static byte |
BOF5
|
private byte |
bofs
|
private byte |
dataSize
|
static byte |
DS1024
|
static byte |
DS128
|
static byte |
DS2048
|
static byte |
DS256
|
static byte |
DS512
|
static byte |
DS64
|
static byte |
ITA0
|
static byte |
ITA1
|
static byte |
ITA10
|
static byte |
ITA100
|
static byte |
ITA1000
|
static byte |
ITA5
|
static byte |
ITA50
|
static byte |
ITA500
|
static byte |
LD12
|
static byte |
LD16
|
static byte |
LD20
|
static byte |
LD25
|
static byte |
LD3
|
static byte |
LD30
|
static byte |
LD40
|
static byte |
LD8
|
private byte |
linkDis
|
private byte |
maxTurn
|
private byte |
minTurn
|
static byte |
MTA100
|
static byte |
MTA250
|
static byte |
MTA50
|
static byte |
MTA500
|
static byte |
PI_ADDBOF
|
static byte |
PI_BAUD
|
static byte |
PI_DATASIZE
|
static byte |
PI_LINKDIS
|
static byte |
PI_MAXTURN
|
static byte |
PI_MINTURN
|
static byte |
PI_WINSIZE
|
private byte |
winSize
|
static byte |
WS1
|
static byte |
WS2
|
static byte |
WS3
|
static byte |
WS4
|
static byte |
WS5
|
static byte |
WS6
|
static byte |
WS7
|
| Constructor Summary | |
Options()
create Options instance set to our capabilities |
|
| Method Summary | |
byte |
getBaud()
get baudrate |
int |
getBaudValue()
Get negotiated speed for this connection |
byte |
getBofs()
get bofs |
int |
getBofValue()
get value of BOF parameter for this connection |
byte |
getDataSize()
get data size |
int |
getDataSizeValue()
get the size of the acceptable packets |
byte |
getLinkDis()
get link disconnect time |
int |
getLinkDiscValue()
Get negotiated disconnect time for this connection |
int |
getLinkWarnValue()
Get negotiated warning time for this connection |
byte |
getMaxTurn()
get maximum turn around time |
byte |
getMinTurn()
get minimal turn around time |
byte |
getWinSize()
get window size |
void |
matchOptions(Options remOptions)
Match options and adapt this object with negotiated parameters |
void |
saveOptions(byte[] frame,
int start,
int end)
get options from frame starting at start stopping before last |
void |
setDefault()
set object to default values for JIR |
java.lang.String |
stringOptions(byte[] frame,
int start,
int end)
Translate the options in a frame into readable text |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final byte B2400
public static final byte B9600
public static final byte B19200
public static final byte B38400
public static final byte B57600
public static final byte B115200
public static final byte MTA500
public static final byte MTA250
public static final byte MTA100
public static final byte MTA50
public static final byte DS64
public static final byte DS128
public static final byte DS256
public static final byte DS512
public static final byte DS1024
public static final byte DS2048
public static final byte WS1
public static final byte WS2
public static final byte WS3
public static final byte WS4
public static final byte WS5
public static final byte WS6
public static final byte WS7
public static final byte BOF48
public static final byte BOF24
public static final byte BOF12
public static final byte BOF5
public static final byte BOF3
public static final byte BOF2
public static final byte BOF1
public static final byte BOF0
public static final byte ITA1000
public static final byte ITA500
public static final byte ITA100
public static final byte ITA50
public static final byte ITA10
public static final byte ITA5
public static final byte ITA1
public static final byte ITA0
public static final byte LD3
public static final byte LD8
public static final byte LD12
public static final byte LD16
public static final byte LD20
public static final byte LD25
public static final byte LD30
public static final byte LD40
public static final byte PI_BAUD
public static final byte PI_MAXTURN
public static final byte PI_DATASIZE
public static final byte PI_WINSIZE
public static final byte PI_ADDBOF
public static final byte PI_MINTURN
public static final byte PI_LINKDIS
private byte baud
private byte maxTurn
private byte dataSize
private byte winSize
private byte bofs
private byte minTurn
private byte linkDis
| Constructor Detail |
public Options()
| Method Detail |
public void saveOptions(byte[] frame,
int start,
int end)
frame - array of bytes with IR frame in itstart - first byte to be processedend - stop before this offsetpublic void setDefault()
public void matchOptions(Options remOptions)
remOptions - Options object with remote parameterspublic byte getBaud()
public byte getMaxTurn()
public byte getDataSize()
public byte getWinSize()
public byte getBofs()
public byte getMinTurn()
public byte getLinkDis()
public int getLinkDiscValue()
public int getLinkWarnValue()
public int getBaudValue()
public int getBofValue()
public int getDataSizeValue()
public java.lang.String stringOptions(byte[] frame,
int start,
int end)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||