|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBUGBeeControl
| Method Summary | |
|---|---|
void |
allowBind(byte timeout)
|
void |
bindDeviceRequest(byte bindingRequest,
short commandId,
IEEEAddress destination)
|
void |
configurePA(boolean powerAmpOn,
byte powerLevel)
|
void |
findDeviceRequest(IEEEAddress device)
|
short |
getApsAckWaitDuration()
|
byte |
getApsFrameRetries()
|
short |
getBindingTime()
|
byte |
getBroadcastDeliveryTime()
|
byte |
getBroadcastRetries()
|
int |
getChannel()
|
int |
getChannelList()
|
java.lang.String |
getConfigPANID()
|
java.lang.String |
getExtendedPANID()
|
IEEEAddress |
getIEEEAddress()
|
byte |
getIndirectMessageTimeout()
|
byte |
getLogicalType()
|
short |
getPANID()
|
IEEEAddress |
getParentIEEEAddress()
|
short |
getParentShortAddress()
|
byte |
getPassiveAckTimeout()
|
byte |
getPollFailureRetries()
|
short |
getPollRate()
|
java.lang.String |
getPreCfgKey()
|
boolean |
getPreCfgKeyEnable()
|
short |
getQueuePollRate()
|
short |
getResponsePollRate()
|
byte |
getRouteExpiryTime()
|
boolean |
getSecurityMode()
|
short |
getShortAddress()
|
byte |
getStartUpOption()
|
int |
getState()
|
java.lang.String |
getUserDesc()
|
void |
permitJoining(short deviceId,
byte timeout)
|
int |
read(byte[] buf,
int len,
int flags)
|
void |
registerAppRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] appInClusterList,
short[] appOutClusterList)
|
void |
reset(byte resetType)
|
void |
sendZAccelCommand(short command,
byte[] data)
|
void |
setApsAckWaitDuration(short apsAckWaitDuration)
The amount of time to wait for ACK packet before retransmission. |
void |
setApsFrameRetries(byte apsFrameRetries)
Number of retransmissions of a data packet at the application layer. |
void |
setBindingTime(short bindingTime)
The amount of time (in ms) a device will wait for a response to a binding request. |
void |
setBroadcastDeliveryTime(byte broadcastDeliveryTime)
The maximum amount of time (in units of 100ms) that it can take for a broadcast packet to propagate through the entire network. |
void |
setBroadcastRetries(byte broadcastRetries)
Max number for broadcast packet retransmission. |
void |
setChannelList(int channelList)
Bit mask of the channels on which this network can operate. |
void |
setIndirectMessageTimeout(byte indirectMessageTimeout)
The amount of time (in sec) that a router or coordinator will buffer messages destined to their end-device child nodes. |
void |
setInterfaceState(boolean interfaceUp)
Brings up the interface (if interfaceUp is true). |
void |
setLogicalType(byte logicalType)
Set the ZigBee logical type of the device. |
void |
setPANID(short PANID)
ZigBee network ID. |
void |
setPassiveAckTimeout(byte passiveAckTimeout)
Duration to wait (in 100ms) before retransmitting a broadcast packet Default is 5. |
void |
setPollFailureRetries(byte pollFailureRetries)
The number of times to retry before invoking the rejoin mechanism. |
void |
setPollRate(short pollRate)
An End-device will wake up periodically with the non-zero duration to check for data with its parent device. |
void |
setPreCfgKey(java.lang.String preCfgKey)
Maximum length is 16. |
void |
setPreCfgKeyEnable(boolean preCfgKeyEnable)
|
void |
setQueuePollRate(short pollRate)
Duration to retry if the first poll fails. |
void |
setResponsePollRate(short pollRate)
Duration to poll for response after sending a data packet out. |
void |
setRouteExpiryTime(byte routeExpiryTime)
|
void |
setSecurityMode(boolean securityMode)
Enable or disable security mode. |
void |
setStartUpOption(byte option)
Controls the device startup options. |
void |
setUserDesc(java.lang.String userDesc)
Maximum length is 17. |
void |
startRequest()
|
| Field Detail |
|---|
static final byte DONT_RESET
static final byte HW_RESET
static final byte SW_RESET
static final int DEV_HOLD
static final int DEV_INIT
static final int DEV_NWK_DISC
static final int DEV_NWK_JOINING
static final int DEV_NWK_REJOIN
static final int DEV_END_DEVICE_UNAUTH
static final int DEV_END_DEVICE
static final int DEV_ROUTER
static final int DEV_COORD_STARTING
static final int DEV_ZB_COORD
static final int DEV_NWK_ORPHAN
static final short ALL_ROUTERS_AND_COORD_ADDRESS
static final byte JOINING_OFF_TIMEOUT
static final byte JOINING_ON_INDEFINITELY_TIMEOUT
static final byte BINDING_DISALLOWED_TIMEOUT
static final byte BINDING_ALLOWED_INDEFINITELY_TIMEOUT
static final byte CREATE_BINDING_REQUEST
static final byte REMOVE_BINDING_REQUEST
static final byte START_OP_CLEAR_STATE
static final byte START_OP_CLEAR_CONFIG
static final byte START_OP_CURRENT
static final byte LOGICAL_TYPE_COORDINATOR
static final byte LOGICAL_TYPE_ROUTER
static final byte LOGICAL_TYPE_END_DEVICE
static final int MSG_PEEK
static final int MSG_DONTWAIT
static final short ZB_APP_REGISTER_REQ
static final short ZB_START_REQUEST
static final short ZB_START_CONFIRM
static final short ZB_PERMIT_JOINING_REQ
static final short ZB_BIND_DEVICE
static final short ZB_BIND_CONFIRM
static final short ZB_ALLOW_BIND
static final short ZB_ALLOW_BIND_CONFIRM
static final short ZB_SEND_DATA_REQ
static final short ZB_SEND_DATA_CONFIRM
static final short ZB_RCV_DATA_IND
static final short ZB_GET_DEVICE_INFO
static final short ZB_FIND_DEVICE_REQUEST
static final short ZB_FIND_DEVICE_CONFIRM
static final short ZB_RESET_IND
static final short ZDO_MGMT_LQI_RSP
static final short AF_DATA_CNF
static final byte ZSUCCESS
static final byte ZFAILURE
static final byte ZB_RESET_BY_EXT
static final byte ZB_RESET_BY_WATCHDOG
| Method Detail |
|---|
void reset(byte resetType)
throws java.io.IOException
java.io.IOException
int getState()
throws java.io.IOException
java.io.IOException
IEEEAddress getIEEEAddress()
throws java.io.IOException
java.io.IOException
short getShortAddress()
throws java.io.IOException
java.io.IOException
IEEEAddress getParentIEEEAddress()
throws java.io.IOException
java.io.IOException
short getParentShortAddress()
throws java.io.IOException
java.io.IOException
java.lang.String getConfigPANID()
throws java.io.IOException
java.io.IOException
java.lang.String getExtendedPANID()
throws java.io.IOException
java.io.IOException
int getChannel()
throws java.io.IOException
java.io.IOException
void setInterfaceState(boolean interfaceUp)
throws java.io.IOException
java.io.IOException
void registerAppRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] appInClusterList,
short[] appOutClusterList)
throws java.io.IOException
java.io.IOException
void startRequest()
throws java.io.IOException
java.io.IOException
void permitJoining(short deviceId,
byte timeout)
throws java.io.IOException
java.io.IOException
void allowBind(byte timeout)
throws java.io.IOException
java.io.IOException
void bindDeviceRequest(byte bindingRequest,
short commandId,
IEEEAddress destination)
throws java.io.IOException
java.io.IOException
void findDeviceRequest(IEEEAddress device)
throws java.io.IOException
java.io.IOException
void configurePA(boolean powerAmpOn,
byte powerLevel)
throws java.io.IOException
java.io.IOException
void sendZAccelCommand(short command,
byte[] data)
throws java.io.IOException
java.io.IOException
void setStartUpOption(byte option)
throws java.io.IOException
java.io.IOException
byte getStartUpOption()
throws java.io.IOException
java.io.IOException
void setLogicalType(byte logicalType)
throws java.io.IOException
java.io.IOException
byte getLogicalType()
throws java.io.IOException
java.io.IOException
void setPollRate(short pollRate)
throws java.io.IOException
java.io.IOException
short getPollRate()
throws java.io.IOException
java.io.IOException
void setQueuePollRate(short pollRate)
throws java.io.IOException
java.io.IOException
short getQueuePollRate()
throws java.io.IOException
java.io.IOException
void setResponsePollRate(short pollRate)
throws java.io.IOException
java.io.IOException
short getResponsePollRate()
throws java.io.IOException
java.io.IOException
void setPollFailureRetries(byte pollFailureRetries)
throws java.io.IOException
java.io.IOException
byte getPollFailureRetries()
throws java.io.IOException
java.io.IOException
void setIndirectMessageTimeout(byte indirectMessageTimeout)
throws java.io.IOException
java.io.IOException
byte getIndirectMessageTimeout()
throws java.io.IOException
java.io.IOException
void setApsFrameRetries(byte apsFrameRetries)
throws java.io.IOException
java.io.IOException
byte getApsFrameRetries()
throws java.io.IOException
java.io.IOException
void setApsAckWaitDuration(short apsAckWaitDuration)
throws java.io.IOException
java.io.IOException
short getApsAckWaitDuration()
throws java.io.IOException
java.io.IOException
void setBindingTime(short bindingTime)
throws java.io.IOException
java.io.IOException
short getBindingTime()
throws java.io.IOException
java.io.IOException
void setUserDesc(java.lang.String userDesc)
throws java.io.IOException
java.io.IOException
java.lang.String getUserDesc()
throws java.io.IOException
java.io.IOException
void setPANID(short PANID)
throws java.io.IOException
java.io.IOException
short getPANID()
throws java.io.IOException
java.io.IOException
void setChannelList(int channelList)
throws java.io.IOException
java.io.IOException
int getChannelList()
throws java.io.IOException
java.io.IOException
void setPreCfgKey(java.lang.String preCfgKey)
throws java.io.IOException
java.io.IOException
java.lang.String getPreCfgKey()
throws java.io.IOException
java.io.IOException
void setPreCfgKeyEnable(boolean preCfgKeyEnable)
throws java.io.IOException
java.io.IOException
boolean getPreCfgKeyEnable()
throws java.io.IOException
java.io.IOException
void setSecurityMode(boolean securityMode)
throws java.io.IOException
java.io.IOException
boolean getSecurityMode()
throws java.io.IOException
java.io.IOException
void setBroadcastRetries(byte broadcastRetries)
throws java.io.IOException
java.io.IOException
byte getBroadcastRetries()
throws java.io.IOException
java.io.IOException
void setPassiveAckTimeout(byte passiveAckTimeout)
throws java.io.IOException
java.io.IOException
byte getPassiveAckTimeout()
throws java.io.IOException
java.io.IOException
void setBroadcastDeliveryTime(byte broadcastDeliveryTime)
throws java.io.IOException
java.io.IOException
byte getBroadcastDeliveryTime()
throws java.io.IOException
java.io.IOException
void setRouteExpiryTime(byte routeExpiryTime)
throws java.io.IOException
java.io.IOException
byte getRouteExpiryTime()
throws java.io.IOException
java.io.IOException
int read(byte[] buf,
int len,
int flags)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||