com.dalsemi.onewire.adapter
Interface NetAdapterConstants

All Known Implementing Classes:
NetAdapterHost, NetAdapter

public interface NetAdapterConstants

Interface for holding all constants related to Network Adapter communications. This interface is used by both NetAdapterHost and the NetAdapter. In addition, the common utility class Connection is defined here.

Version:
1.00
Author:
SH

Inner Class Summary
static class NetAdapterConstants.Connection
          An inner utility class for coupling Socket with I/O streams
 
Field Summary
static boolean BUFFERED_OUTPUT
          Indicates whether or not to buffer the output (probably always true!)
static byte CMD_BEGINEXCLUSIVE
           
static byte CMD_CANBREAK
           
static byte CMD_CANDELIVERPOWER
           
static byte CMD_CANDELIVERSMARTPOWER
           
static byte CMD_CANFLEX
           
static byte CMD_CANHYPERDRIVE
           
static byte CMD_CANOVERDRIVE
           
static byte CMD_CANPROGRAM
           
static byte CMD_CLOSECONNECTION
           
static byte CMD_DATABLOCK
           
static byte CMD_ENDEXCLUSIVE
           
static byte CMD_EXCLUDEFAMILY
           
static byte CMD_FINDFIRSTDEVICE
           
static byte CMD_FINDNEXTDEVICE
           
static byte CMD_GETADDRESS
           
static byte CMD_GETBIT
           
static byte CMD_GETBLOCK
           
static byte CMD_GETBYTE
           
static byte CMD_GETSPEED
           
static byte CMD_PINGCONNECTION
           
static byte CMD_PUTBIT
           
static byte CMD_PUTBYTE
           
static byte CMD_RESET
           
static byte CMD_SETNORESETSEARCH
           
static byte CMD_SETPOWERDURATION
           
static byte CMD_SETPOWERNORMAL
           
static byte CMD_SETPROGRAMPULSEDURATION
           
static byte CMD_SETSEARCHALLDEVICES
           
static byte CMD_SETSEARCHONLYALARMINGDEVICES
           
static byte CMD_SETSPEED
           
static byte CMD_STARTBREAK
           
static byte CMD_STARTPOWERDELIVERY
           
static byte CMD_STARTPROGRAMPULSE
           
static byte CMD_TARGETALLFAMILIES
           
static byte CMD_TARGETFAMILY
           
static boolean DEBUG
          Debug message flag
static String DEFAULT_MULTICAST_GROUP
          Address for Multicast group for NetAdapter Datagram packets
static int DEFAULT_MULTICAST_PORT
          Default port for NetAdapter Datagram packets
static int DEFAULT_PORT
          Default port for NetAdapter TCP/IP connection
static String DEFAULT_SECRET
          default secret for authentication with the server
static NetAdapterConstants.Connection EMPTY_CONNECTION
          instance for an empty connection, basically it's a NULL object that's safe to synchronize on.
static byte RET_FAILURE
           
static byte RET_SUCCESS
           
static int versionUID
          version UID, used to detect incompatible host
 

Field Detail

DEBUG

public static final boolean DEBUG
Debug message flag

versionUID

public static final int versionUID
version UID, used to detect incompatible host

BUFFERED_OUTPUT

public static final boolean BUFFERED_OUTPUT
Indicates whether or not to buffer the output (probably always true!)

DEFAULT_PORT

public static final int DEFAULT_PORT
Default port for NetAdapter TCP/IP connection

DEFAULT_SECRET

public static final String DEFAULT_SECRET
default secret for authentication with the server

DEFAULT_MULTICAST_GROUP

public static final String DEFAULT_MULTICAST_GROUP
Address for Multicast group for NetAdapter Datagram packets

DEFAULT_MULTICAST_PORT

public static final int DEFAULT_MULTICAST_PORT
Default port for NetAdapter Datagram packets

RET_SUCCESS

public static final byte RET_SUCCESS

RET_FAILURE

public static final byte RET_FAILURE

CMD_CLOSECONNECTION

public static final byte CMD_CLOSECONNECTION

CMD_PINGCONNECTION

public static final byte CMD_PINGCONNECTION

CMD_RESET

public static final byte CMD_RESET

CMD_PUTBIT

public static final byte CMD_PUTBIT

CMD_PUTBYTE

public static final byte CMD_PUTBYTE

CMD_GETBIT

public static final byte CMD_GETBIT

CMD_GETBYTE

public static final byte CMD_GETBYTE

CMD_GETBLOCK

public static final byte CMD_GETBLOCK

CMD_DATABLOCK

public static final byte CMD_DATABLOCK

CMD_SETPOWERDURATION

public static final byte CMD_SETPOWERDURATION

CMD_STARTPOWERDELIVERY

public static final byte CMD_STARTPOWERDELIVERY

CMD_SETPROGRAMPULSEDURATION

public static final byte CMD_SETPROGRAMPULSEDURATION

CMD_STARTPROGRAMPULSE

public static final byte CMD_STARTPROGRAMPULSE

CMD_STARTBREAK

public static final byte CMD_STARTBREAK

CMD_SETPOWERNORMAL

public static final byte CMD_SETPOWERNORMAL

CMD_SETSPEED

public static final byte CMD_SETSPEED

CMD_GETSPEED

public static final byte CMD_GETSPEED

CMD_BEGINEXCLUSIVE

public static final byte CMD_BEGINEXCLUSIVE

CMD_ENDEXCLUSIVE

public static final byte CMD_ENDEXCLUSIVE

CMD_FINDFIRSTDEVICE

public static final byte CMD_FINDFIRSTDEVICE

CMD_FINDNEXTDEVICE

public static final byte CMD_FINDNEXTDEVICE

CMD_GETADDRESS

public static final byte CMD_GETADDRESS

CMD_SETSEARCHONLYALARMINGDEVICES

public static final byte CMD_SETSEARCHONLYALARMINGDEVICES

CMD_SETNORESETSEARCH

public static final byte CMD_SETNORESETSEARCH

CMD_SETSEARCHALLDEVICES

public static final byte CMD_SETSEARCHALLDEVICES

CMD_TARGETALLFAMILIES

public static final byte CMD_TARGETALLFAMILIES

CMD_TARGETFAMILY

public static final byte CMD_TARGETFAMILY

CMD_EXCLUDEFAMILY

public static final byte CMD_EXCLUDEFAMILY

CMD_CANBREAK

public static final byte CMD_CANBREAK

CMD_CANDELIVERPOWER

public static final byte CMD_CANDELIVERPOWER

CMD_CANDELIVERSMARTPOWER

public static final byte CMD_CANDELIVERSMARTPOWER

CMD_CANFLEX

public static final byte CMD_CANFLEX

CMD_CANHYPERDRIVE

public static final byte CMD_CANHYPERDRIVE

CMD_CANOVERDRIVE

public static final byte CMD_CANOVERDRIVE

CMD_CANPROGRAM

public static final byte CMD_CANPROGRAM

EMPTY_CONNECTION

public static final NetAdapterConstants.Connection EMPTY_CONNECTION
instance for an empty connection, basically it's a NULL object that's safe to synchronize on.


Copyright © 1999-2005 Dallas Semiconductor. All Rights Reserved.