|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.bug.module.bugbee.BUGBeeModletControl
public class BUGBeeModletControl
| Field Summary |
|---|
| Fields inherited from interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControl |
|---|
AF_DATA_CNF, ALL_ROUTERS_AND_COORD_ADDRESS, BINDING_ALLOWED_INDEFINITELY_TIMEOUT, BINDING_DISALLOWED_TIMEOUT, CREATE_BINDING_REQUEST, DEV_COORD_STARTING, DEV_END_DEVICE, DEV_END_DEVICE_UNAUTH, DEV_HOLD, DEV_INIT, DEV_NWK_DISC, DEV_NWK_JOINING, DEV_NWK_ORPHAN, DEV_NWK_REJOIN, DEV_ROUTER, DEV_ZB_COORD, DONT_RESET, HW_RESET, JOINING_OFF_TIMEOUT, JOINING_ON_INDEFINITELY_TIMEOUT, LOGICAL_TYPE_COORDINATOR, LOGICAL_TYPE_END_DEVICE, LOGICAL_TYPE_ROUTER, MAX_USER_DESC_LEN, MSG_DONTWAIT, MSG_PEEK, PRE_CFG_KEY_LEN, REMOVE_BINDING_REQUEST, START_OP_CLEAR_CONFIG, START_OP_CLEAR_STATE, START_OP_CURRENT, SW_RESET, ZAPSDUPLICATEENTRY, ZAPSFAIL, ZAPSILLEGALREQUEST, ZAPSINVALIDBINDING, ZAPSNOACK, ZAPSNOBOUNDDEVICE, ZAPSNOTALLOWED, ZAPSNOTAUTHENTICATED, ZAPSNOTSUPPORTED, ZAPSTABLEFULL, ZAPSUNSUPPORTEDATTRIB, ZB_ALLOW_BIND, ZB_ALLOW_BIND_CONFIRM, ZB_APP_REGISTER_REQ, ZB_BIND_CONFIRM, ZB_BIND_DEVICE, ZB_FIND_DEVICE_CONFIRM, ZB_FIND_DEVICE_REQUEST, ZB_GET_DEVICE_INFO, ZB_PERMIT_JOINING_REQ, ZB_RCV_DATA_IND, ZB_RESET_BY_EXT, ZB_RESET_BY_POWER_UP, ZB_RESET_BY_WATCHDOG, ZB_RESET_IND, ZB_SEND_DATA_CONFIRM, ZB_SEND_DATA_REQ, ZB_START_CONFIRM, ZB_START_REQUEST, ZBUFFERFULL, ZDO_END_DEVICE_ANNCE_IND, ZDO_MGMT_LQI_RSP, ZDOINVALIDENDPOINT, ZDOINVALIDREQUESTTYPE, ZDONOBINDENTRY, ZDONOMATCH, ZDOTABLEFULL, ZDOTIMEOUT, ZDOUNSUPPORTED, ZFAILURE, ZINVALIDPARAMETER, ZMACBEACONLOSS, ZMACCHANNELACCESSFAILURE, ZMACDENIED, ZMACDISABLETRXFAILURE, ZMACFAILEDSECURITYCHEC, ZMACFRAMETOOLONG, ZMACINVALIDGTS, ZMACINVALIDHANDLE, ZMACINVALIDPARAMETER, ZMACMEMERROR, ZMACNOACK, ZMACNOBEACON, ZMACNODATA, ZMACNOSHORTADDR, ZMACOUTOFCAP, ZMACPANIDCONFLICT, ZMACREALIGNMENT, ZMACTRANSACTIONEXPIRED, ZMACTRANSACTIONOVERFLOW, ZMACTXACTIVE, ZMACUNAVAILABLEKEY, ZMACUNSUPPORTED, ZMACUNSUPPORTEDATTRIBUTE, ZMEMERROR, ZNWKALREADYPRESENT, ZNWKINVALIDPARAM, ZNWKINVALIDREQUEST, ZNWKLEAVEUNCONFIRMED, ZNWKNOACK, ZNWKNONETWORKS, ZNWKNOROUTE, ZNWKNOTPERMITTED, ZNWKSTARTUPFAILURE, ZNWKSYNCFAILURE, ZNWKTABLEFULL, ZNWKUNKNOWNDEVICE, ZNWKUNSUPPORTEDATTRIBUTE, ZSAPIINPROGRESS, ZSAPINIT, ZSAPITIMEOUT, ZSECCCMFAIL, ZSECMAXFRMCOUNT, ZSECNOKEY, ZSECOLDFRMCOUNT, ZSUCCESS, ZUNSUPPORTEDMODE |
| Method Summary | |
|---|---|
void |
allowBind(byte timeout)
Puts the ZigBee device into the Allow Binding Mode for a given period of time. |
void |
bindDeviceRequest(byte bindingRequest,
short commandId,
com.buglabs.bug.module.bugbee.pub.IEEEAddress destination)
Create or delete a ???binding??? to another device on the network. |
void |
configurePA(boolean powerAmpOn,
byte powerLevel)
Turn on and off the RF power amplifier capable of up to 100mW of output power. |
void |
findDeviceRequest(com.buglabs.bug.module.bugbee.pub.IEEEAddress device)
Determine the short address for a device in the network. |
short |
getApsAckWaitDurationConfig()
|
byte |
getApsFrameRetriesConfig()
|
short |
getBindingTimeConfig()
|
byte |
getBroadcastDeliveryTimeConfig()
|
byte |
getBroadcastRetriesConfig()
|
byte |
getChannel()
Retrieve the channel the ZigBee PAN is operating on. |
int |
getChannelListConfig()
|
com.buglabs.bug.module.bugbee.pub.IEEEAddress |
getExtendedPANID()
Retrieve the extended PAN ID of the ZigBee PAN. |
com.buglabs.bug.module.bugbee.pub.IEEEAddress |
getIEEEAddress()
Retrieve the ZigBee device's IEEE Address. |
byte |
getIndirectMessageTimeoutConfig()
|
byte |
getLogicalTypeConfig()
|
short |
getPANID()
Retrieve the PAN ID of the ZigBee PAN. |
short |
getPANIDConfig()
|
com.buglabs.bug.module.bugbee.pub.IEEEAddress |
getParentIEEEAddress()
Retrieve the IEEE Address of the ZigBee device's parent. |
short |
getParentShortAddress()
Retrieve the short address of the ZigBee device's parent. |
byte |
getPassiveAckTimeoutConfig()
|
byte |
getPollFailureRetriesConfig()
|
short |
getPollRateConfig()
|
byte[] |
getPreCfgKeyConfig()
|
boolean |
getPreCfgKeyEnableConfig()
|
short |
getQueuePollRateConfig()
|
short |
getResponsePollRateConfig()
|
byte |
getRouteExpiryTimeConfig()
|
boolean |
getSecurityModeConfig()
|
short |
getShortAddress()
Retrieve the ZigBee device's short address. |
byte |
getStartUpOptionConfig()
|
int |
getState()
Retrieve the ZigBee device's current state. |
java.lang.String |
getUserDescConfig()
|
void |
permitJoining(short deviceId,
byte timeout)
Control the joining permission and allow or disallow new devices from joining the network. |
int |
read(byte[] buf,
int len,
int flags)
read a control message response from the ZigBee device; this may be in response to a previously-issues command such as @see #findDeviceRequest(IEEEAddress) |
void |
registerAFRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] inputCommands,
short[] outputCommands)
An Application Registration Request (AF Interface) Registers the profile ID as well as the list of commands that the device ???output??? or ???input??? to the ZigBee device. |
void |
registerAppRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] appInClusterList,
short[] appOutClusterList)
An Application Registration Request (SAPI) Registers the profile ID as well as the list of commands that the device ???output??? or ???input??? to the ZigBee device. |
void |
reset(byte resetType)
Resets the ZigBee device (not the entire BUGbee module). |
void |
sendZAccelCommand(short command,
byte[] data)
Send an arbitrary Z-Accel command directly to the device. |
void |
setApsAckWaitDurationConfig(short apsAckWaitDuration)
The amount of time to wait for ACK packet before retransmission. |
void |
setApsFrameRetriesConfig(byte apsFrameRetries)
Number of retransmissions of a data packet at the application layer. |
void |
setBindingTimeConfig(short bindingTime)
The amount of time (in ms) a device will wait for a response to a binding request. |
void |
setBroadcastDeliveryTimeConfig(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 |
setBroadcastRetriesConfig(byte broadcastRetries)
Max number for broadcast packet retransmission. |
void |
setChannelListConfig(int channelList)
Bit mask of the channels on which this network can operate. |
void |
setIndirectMessageTimeoutConfig(byte indirectMessageTimeout)
The amount of time (in seconds) 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 |
setLogicalTypeConfig(byte logicalType)
Set the ZigBee logical type of the device. |
void |
setPANIDConfig(short PANID)
This parameter identifies the ZigBee network. |
void |
setPassiveAckTimeoutConfig(byte passiveAckTimeout)
Duration to wait (in 100ms) before retransmitting a broadcast packet Default is 5. |
void |
setPollFailureRetriesConfig(byte pollFailureRetries)
The number of times to retry before invoking the rejoin mechanism. |
void |
setPollRateConfig(short pollRate)
An End-device will wake up periodically with the non-zero duration to check for data with its parent device. |
void |
setPreCfgKeyConfig(byte[] preCfgKey)
PreCfgKey is used for securing and un-securing packets in the network, if security is enabled for the network. |
void |
setPreCfgKeyEnableConfig(boolean preCfgKeyEnable)
If security functionality is enabled, there are two options to distribute the security key to all devices in the network. |
void |
setQueuePollRateConfig(short pollRate)
Duration to retry if the first poll fails. |
void |
setResponsePollRateConfig(short pollRate)
Duration to poll for response after sending a data packet out. |
void |
setRouteExpiryTimeConfig(byte routeExpiryTime)
The amount of time (in seconds) for which a route must be idle ( i.e. |
void |
setSecurityModeConfig(boolean securityMode)
Enable or disable security mode. |
void |
setStartUpOptionConfig(byte option)
Controls the device startup options. |
void |
setUserDescConfig(java.lang.String userDesc)
An optional user-defined data (upto 16bytes ) that can be configured in the ZigBee device so that it can easily identified or described later. |
void |
startRequest()
Starts the stack on the ZigBee device; blocks until confirmation is received from the device that the stack is running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void reset(byte resetType)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
reset in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlresetType - one of DONT_RESET, HW_RESET or SW_RESET
java.io.IOException
public int getState()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getState in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public com.buglabs.bug.module.bugbee.pub.IEEEAddress getIEEEAddress()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getIEEEAddress in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getShortAddress()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getShortAddress in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public com.buglabs.bug.module.bugbee.pub.IEEEAddress getParentIEEEAddress()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getParentIEEEAddress in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getParentShortAddress()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getParentShortAddress in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getPANID()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getPANID in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public com.buglabs.bug.module.bugbee.pub.IEEEAddress getExtendedPANID()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getExtendedPANID in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getChannel()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
getChannel in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setInterfaceState(boolean interfaceUp)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setInterfaceState in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void registerAppRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] appInClusterList,
short[] appOutClusterList)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControlIBUGBeePacket.read(byte[], int, int).
registerAppRequest in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlappEndPoint - the end point of the deviceappProfileId - the profile ID of the applicationdeviceId - the device description ID for this endpointdeviceVersion - the device version numberappInClusterList - list of input cluster IDs (null or byte[0] if not N/A)appOutClusterList - list of output cluster IDs (null or byte[0] if not N/A)
java.io.IOException
public void registerAFRequest(byte appEndPoint,
short appProfileId,
short deviceId,
byte deviceVersion,
short[] inputCommands,
short[] outputCommands)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
registerAFRequest in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlappProfileId - the profile id of the application. This should be set to
the same value for all devices in the network.deviceId - an application-specific identifier; it identifies the device
type within the particular profile ID. This is not used by the ZigBee stack
in any way other than to identify itself when requested.deviceVersion - an application-specific identifier; it identifies the
version of the device and is not used by the ZigBee stack in any way other
than to identify itself when requested.inputCommands - a list of identifiers of input commands that are processed by
this application; set to null if N/A.outputCommands - a list of identifiers of output commands that are generated by
this application; set to null if N/A.
java.io.IOException
public void startRequest()
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
startRequest in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void permitJoining(short deviceId,
byte timeout)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
permitJoining in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControldeviceId - the address of the device for which the joining permission
should be set. This is usually the local device address or the special broadcast
address that denotes all routers and coordinator (ALL_ROUTERS_AND_COORD_ADDRESS).
This way the joining permissions of a single device or the whole network can be
controlled.timeout - the timeout in seconds for which the joining permissions should
be turned on; setting to JOINING_OFF_TIMEOUT will turn off joining permissions
entirely; setting to JOINING_ON_INDEFINITELY_TIMEOUT will turn on joining
permissions indefinitely. Note that CC2480 docs incorrectly say indefinitely value is 65, but it is not.
java.io.IOException
public void allowBind(byte timeout)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
allowBind in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControltimeout - the timeout period in seconds; setting to BINDING_DISALLOWED_TIMEOUT
will disable binding entirely; setting to BINDING_ALLOWED_INDEFINITELY_TIMEOUT will
enable binding indefinitely.
java.io.IOException
public void bindDeviceRequest(byte bindingRequest,
short commandId,
com.buglabs.bug.module.bugbee.pub.IEEEAddress destination)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
bindDeviceRequest in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlbindingRequest - CREATE_BINDING_REQUEST or REMOVE_BINDING_REQUESTcommandId - binding identifierdestination - the IEEE address of the device to bind to.
Set to NULL if the destination address is unknown and it will bind
to the destination device that is set to Allow Bind Mode
java.io.IOException
public void findDeviceRequest(com.buglabs.bug.module.bugbee.pub.IEEEAddress device)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
findDeviceRequest in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void configurePA(boolean powerAmpOn,
byte powerLevel)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
configurePA in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlpowerAmpOn - if true enable the PA, if false disable itpowerLevel - the power level; see the table above.
java.io.IOException
public void sendZAccelCommand(short command,
byte[] data)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
sendZAccelCommand in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setStartUpOptionConfig(byte option)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setStartUpOptionConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getStartUpOptionConfig()
throws java.io.IOException
getStartUpOptionConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setLogicalTypeConfig(byte logicalType)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setLogicalTypeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getLogicalTypeConfig()
throws java.io.IOException
getLogicalTypeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPollRateConfig(short pollRate)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setPollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getPollRateConfig()
throws java.io.IOException
getPollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setQueuePollRateConfig(short pollRate)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setQueuePollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getQueuePollRateConfig()
throws java.io.IOException
getQueuePollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setResponsePollRateConfig(short pollRate)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setResponsePollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getResponsePollRateConfig()
throws java.io.IOException
getResponsePollRateConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPollFailureRetriesConfig(byte pollFailureRetries)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setPollFailureRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getPollFailureRetriesConfig()
throws java.io.IOException
getPollFailureRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setIndirectMessageTimeoutConfig(byte indirectMessageTimeout)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setIndirectMessageTimeoutConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getIndirectMessageTimeoutConfig()
throws java.io.IOException
getIndirectMessageTimeoutConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setApsFrameRetriesConfig(byte apsFrameRetries)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setApsFrameRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getApsFrameRetriesConfig()
throws java.io.IOException
getApsFrameRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setApsAckWaitDurationConfig(short apsAckWaitDuration)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setApsAckWaitDurationConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getApsAckWaitDurationConfig()
throws java.io.IOException
getApsAckWaitDurationConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setBindingTimeConfig(short bindingTime)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setBindingTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getBindingTimeConfig()
throws java.io.IOException
getBindingTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setUserDescConfig(java.lang.String userDesc)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControlIBUGBeeControl.MAX_USER_DESC_LEN.
setUserDescConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public java.lang.String getUserDescConfig()
throws java.io.IOException
getUserDescConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPANIDConfig(short PANID)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setPANIDConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public short getPANIDConfig()
throws java.io.IOException
getPANIDConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setChannelListConfig(int channelList)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setChannelListConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public int getChannelListConfig()
throws java.io.IOException
getChannelListConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPreCfgKeyConfig(byte[] preCfgKey)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControlIBUGBeeControl.PRE_CFG_KEY_LEN.
setPreCfgKeyConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte[] getPreCfgKeyConfig()
throws java.io.IOException
getPreCfgKeyConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPreCfgKeyEnableConfig(boolean preCfgKeyEnable)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setPreCfgKeyEnableConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public boolean getPreCfgKeyEnableConfig()
throws java.io.IOException
getPreCfgKeyEnableConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setSecurityModeConfig(boolean securityMode)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setSecurityModeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public boolean getSecurityModeConfig()
throws java.io.IOException
getSecurityModeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setBroadcastRetriesConfig(byte broadcastRetries)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setBroadcastRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getBroadcastRetriesConfig()
throws java.io.IOException
getBroadcastRetriesConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setPassiveAckTimeoutConfig(byte passiveAckTimeout)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setPassiveAckTimeoutConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getPassiveAckTimeoutConfig()
throws java.io.IOException
getPassiveAckTimeoutConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setBroadcastDeliveryTimeConfig(byte broadcastDeliveryTime)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setBroadcastDeliveryTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getBroadcastDeliveryTimeConfig()
throws java.io.IOException
getBroadcastDeliveryTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public void setRouteExpiryTimeConfig(byte routeExpiryTime)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
setRouteExpiryTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public byte getRouteExpiryTimeConfig()
throws java.io.IOException
getRouteExpiryTimeConfig in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControljava.io.IOException
public int read(byte[] buf,
int len,
int flags)
throws java.io.IOException
com.buglabs.bug.module.bugbee.pub.IBUGBeeControl
read in interface com.buglabs.bug.module.bugbee.pub.IBUGBeeControlbuf - the buffer into which the data should be readlen - the maximum number of bytes of data to readflags - MSG_PEEK or MSG_DONTWAIT
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||