|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AEUnicastSettings
Field Summary | |
---|---|
static boolean |
ARC_TDS_4_BYTE_ADDR_AND_TIMESTAMPS
ARC TDS smarteye uses 2 byte address and timestamp data |
static boolean |
ARC_TDS_ADDRESS_BYTES_FIRST_ENABLED
ARC TDS smarteye sends address bytes first |
static boolean |
ARC_TDS_SEQUENCE_NUMBERS_ENABLED
ARC TDS smarteye does not use sequence numbers |
static int |
ARC_TDS_STREAM_PORT
default port for streaming AE Events from ARC smarteye TDS sensor |
static boolean |
ARC_TDS_SWAPBYTES_ENABLED
ARC TDS smarteye swaps byte order since it comes from a non-intel system |
static float |
ARC_TDS_TIMESTAMP_MULTIPLIER
timestamp multiplier for ARC TDS smart eye sensor streaming data |
static boolean |
DEFAULT_ADDRESS_FIRST
Default address first (versus timestamp first) setting |
static java.lang.String |
DEFAULT_HOST
|
static int |
DEFAULT_PORT
Default jAER UDP port |
static boolean |
DEFAULT_SWAPBYTES_ENABLED
Default swapping of bytes |
static float |
DEFAULT_TIMESTAMP_MULTIPLIER
Default timestamp multiplier |
static boolean |
DEFAULT_USE_4_BYTE_ADDR_AND_TIMESTAMP
jAER by default uses 4 byte raw addresses and timestamps |
static boolean |
DEFAULT_USE_SEQUENCE_NUMBER
Default is to use sequence numbers as first int32 (4 bytes) of each packet |
Method Summary | |
---|---|
java.lang.String |
getHost()
|
int |
getPort()
|
float |
getTimestampMultiplier()
|
boolean |
is4ByteAddrTimestampEnabled()
|
boolean |
isAddressFirstEnabled()
|
boolean |
isSequenceNumberEnabled()
|
boolean |
isSwapBytesEnabled()
|
void |
set4ByteAddrTimestampEnabled(boolean yes)
Sets whether to use 4 byte address and 4 byte timestamp or 2 byte address and 2 byte timestamp. |
void |
setAddressFirstEnabled(boolean addressFirstEnabled)
If set true, the first int32 of each AE is the address, and the second is the timestamp. |
void |
setHost(java.lang.String host)
You need to setHost to send unicast packets to a host. |
void |
setPort(int port)
|
void |
setSequenceNumberEnabled(boolean sequenceNumberEnabled)
If set true (default), then an int32 sequence number is the first word of the packet. |
void |
setSwapBytesEnabled(boolean yes)
To handle big endian event sources/sinks (e.g. |
void |
setTimestampMultiplier(float timestampMultiplier)
Sets the timestamp multiplier. |
Field Detail |
---|
static final boolean DEFAULT_ADDRESS_FIRST
static final boolean DEFAULT_USE_SEQUENCE_NUMBER
static final boolean DEFAULT_USE_4_BYTE_ADDR_AND_TIMESTAMP
static final java.lang.String DEFAULT_HOST
static final int DEFAULT_PORT
static final boolean DEFAULT_SWAPBYTES_ENABLED
static final float DEFAULT_TIMESTAMP_MULTIPLIER
static final int ARC_TDS_STREAM_PORT
static final float ARC_TDS_TIMESTAMP_MULTIPLIER
static final boolean ARC_TDS_SWAPBYTES_ENABLED
static final boolean ARC_TDS_SEQUENCE_NUMBERS_ENABLED
static final boolean ARC_TDS_ADDRESS_BYTES_FIRST_ENABLED
static final boolean ARC_TDS_4_BYTE_ADDR_AND_TIMESTAMPS
Method Detail |
---|
boolean isSequenceNumberEnabled()
void setSequenceNumberEnabled(boolean sequenceNumberEnabled)
sequenceNumberEnabled
- default trueboolean isAddressFirstEnabled()
setAddressFirstEnabled(boolean)
void setAddressFirstEnabled(boolean addressFirstEnabled)
addressFirstEnabled
- default true.void setHost(java.lang.String host)
host
- the hostnamejava.lang.String getHost()
int getPort()
void setPort(int port)
void setSwapBytesEnabled(boolean yes)
boolean isSwapBytesEnabled()
float getTimestampMultiplier()
setTimestampMultiplier(float)
void setTimestampMultiplier(float timestampMultiplier)
timestampMultiplier
- void set4ByteAddrTimestampEnabled(boolean yes)
yes
- boolean is4ByteAddrTimestampEnabled()
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |