RobotKit API
|
00001 /* 00002 * RKCommandList.h 00003 * RobotKit 00004 * 00005 * Created by Brian Smith on 5/27/11. 00006 * Copyright 2011 Orbotix Inc. All rights reserved. 00007 * 00008 */ 00009 00010 //PRIVATE: DON'T EXPORT HEADER INTO PUBLIC SDK 00011 00012 // commands that go with the core device id(0) 00013 enum _RKCoreCommands { 00014 RKCoreCommandPing = 0x01, 00015 RKCoreCommandVersioning = 0x02, 00016 RKCoreCommandSetBluetoothName = 0x10, 00017 RKCoreCommandGetBluetoothInfo = 0x11, 00018 RKCoreCommandGoToSleep = 0x22, 00019 RKCoreCommandJumpToBootloader = 0x30, 00020 RKCoreCommandLevel1Diagnostic = 0x40 00021 }; 00022 00023 // commands that go with the bootloader device id(1) 00024 enum _RKBootloaderCommands { 00025 RKBootloaderCommandJumpToMain = 0x04 00026 }; 00027 00028 // commands that go with the sphero device id(2) 00029 enum _RKSpheroCommands { 00030 RKSpheroCommandCalibrate = 0x01, 00031 RKSpheroCommandStabilization = 0x02, 00032 RKSpheroCommandRotationRate = 0x03, 00033 RKSpheroCommandSetDataStreaming = 0x11, 00034 RKSpheroCommandRGBLEDOutput = 0x20, 00035 RKSpheroCommandBackLEDOutput = 0x21, 00036 RKSpheroCommandRoll = 0x30, 00037 RKSpheroCommandRawMotorValues = 0x33, 00038 RKSpheroCommandBoost = 0x31, 00039 RKSpheroCommandRunMacro = 0x50, 00040 RKSpheroCommandSaveTempMacro = 0x51, 00041 RKSpheroCommandSaveMacro = 0x52, 00042 RKSpheroCommandAbortMacro = 0x55, 00043 RKSpheroCommandGetConfigBlock = 0x40 00044 };