Package org.osgi.service.zigbee

Examples of org.osgi.service.zigbee.ZigBeeCluster


   
  }
 
 
  private void lock(ZigBeeEndpoint lock) {
    ZigBeeCluster zigbeeCluster = lock.getServerCluster(0x101);
    ZigBeeCommand lockCommand = zigbeeCluster.getCommand(0);

    try {
      lockCommand.invoke(new byte[] {}, this);
      System.out.println("locked");
    } catch (ZigBeeException e) {
View Full Code Here


    } catch (ZigBeeException e) {
    }
  }
 
  private void unlock(ZigBeeEndpoint lock) {
    ZigBeeCluster zigbeeCluster = lock.getServerCluster(0x101);
    ZigBeeCommand lockCommand = zigbeeCluster.getCommand(1);

    try {
      lockCommand.invoke(new byte[] {}, this);
      System.out.println("unlocked");
    } catch (ZigBeeException e) {
View Full Code Here

TOP

Related Classes of org.osgi.service.zigbee.ZigBeeCluster

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.