Package ola.proto.Ola

Examples of ola.proto.Ola.DeviceConfigRequest


     * @param device the id of the device to configure.
     * @param data device configuration data.
     * @return
     */
    public DeviceConfigReply configureDevice(int device, short[] data) {
        DeviceConfigRequest request = DeviceConfigRequest.newBuilder()
                .setDeviceAlias(device)
                .setData(convertToUnsigned(data))
                .build();
        return (DeviceConfigReply) callRpcMethod("ConfigureDevice", request);
    }
View Full Code Here

TOP

Related Classes of ola.proto.Ola.DeviceConfigRequest

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.