Data Sheet
!
enum!DataType!
! {!
! ! None!=!0,!
!
! ! //!system!information!
! ! Ping,! ! ! ///<!check!communication(reserved)!
! ! Ack,! ! ! ///<!response!to!receiving!data!
! ! Error,! ! ! ///<!error(reserved)!
! ! Request,! ! ! ///<!data!request!
! ! Passcode,! ! ! ///<!reset!password!for!pairing! ! !
! ! //!control,!command!
! ! Control!=!0x10,! ! ///<!control!
! ! Command,! ! ! ///<!command!
! ! Command2,!! ! ///<!multiple!command!(command!1,!2)!
! ! Command3,!! ! ///<!multiple!command!(command!1,!2,!3)!
!
! ! //!LED!
! ! LedMode!=!0x20,! ! ///<!set!single!LED!mode!
! ! LedMode2,! ! ! ///<!set!double!LED!mode!
! ! LedModeCommand,! ! ///<!LED!mode,!command!
! ! LedModeCommandIr,! ! ///<!LED!mode,!command,!IR!data!transfer!
! ! LedModeColor,! ! ///<!LED!mode,!set!single!RGB!color!respectively!
! ! LedModeColor2,! ! ///<!LED!mode,!set!double!RGB!color!respectively!
!
! ! LedEvent,! ! ! ///<!single!LED!event!
! ! LedEvent2,! ! ! ///<!double!LED!event!
! ! LedEventCommand,! ! ///<!LED!event,!command!
! ! LedEventCommandIr,! ! ///<!LED!event,!command,!IR!data!transfer!
! ! LedEventColor,! ! ///<!LED!event,!set!single!RGB!color!respectively!
! ! LedEventColor2,! ! ///<!LED!event,!set!double!RGB!color!respectively!
!
! ! LedModeDefaultColor,! ! ///<!LED!default!mode,!set!single!RGB!color!respectively!
! ! LedModeDefaultColor2,!! ///<!LED!default!mode,!set!double!RGB!color!respectively!
!
! ! //!drone!condition! !
! ! Address!=!0x30,! ! ///<!IEEE!address!
! ! State,! ! ! ///<!state(flight!mode,!coordinate,!battery)!
! ! Attitude,! ! ! ///<!attitude!
! ! GyroBias,! ! ! ///<!gyro!bias!
! ! TrimAll,! ! ! ///<!fine!adjustment!
! ! TrimFlight,! ! ! ///<!fine!adjustment!in!flight!mode!
! ! TrimDrive,! ! ! ///<!fine!adjustment!in!drive!mode!
!
! ! //!Sensor!
! ! ImuRawAndAn gle != !0x50,! ///<!IMU!raw!data,!Angle!
! ! Pressure,! ! ! ///<!pressure!sensor!data!
! ! ImageFlow,! ! ! ///<!optical!flow!sensor! !
! ! Button,! ! ! ///<!button!input!
! ! Battery,! ! ! ///<!battery!
! ! Motor,! ! ! ///<!motor!control!input!vales!
! ! Temperature,! ! ///<!temperature!
!
!
! ! //!data!transfer!
! ! IrMessage!=!0x40,! ! ///<!IR!data!transfer!
!
! ! EndOfType!
! }!
!
!
! !