RobotKit API
|
00001 // 00002 // RKGoToSleepCommand.h 00003 // RobotKit 00004 // 00005 // Created by Brian Smith on 9/9/11. 00006 // Copyright (c) 2011 Orbotix Inc. All rights reserved. 00007 // 00008 00011 #import "RKDeviceCommand.h" 00012 00014 typedef uint16_t RKSleepTimeInterval; 00015 00023 @interface RKGoToSleepCommand : RKDeviceCommand { 00024 @private 00025 RKSleepTimeInterval wakeUpTimeInterval; 00026 uint8_t wakeUpMacro; 00027 } 00028 00036 + (void)sendCommandWithWakeUpTimeInterval:(RKSleepTimeInterval)interval macroId:(uint8_t)identifier; 00044 - (id)initWithWakeUpTimeInterval:(RKSleepTimeInterval)interval macroId:(uint8_t)identifier; 00045 00046 @end