DJI_Logging.h
Go to the documentation of this file.
00001 
00012 #ifndef ONBOARDSDK_DJI_LOGGING_H
00013 #define ONBOARDSDK_DJI_LOGGING_H
00014 
00015 #include "DJI_API.h"
00016 #include "DJI_Type.h"
00017 
00018 namespace DJI {
00019 namespace onboardSDK {
00020 
00021 typedef struct __Command {
00022   uint8_t set_id;
00023   uint8_t id;
00024 } __Command;
00025 
00026 typedef struct __ActivationGetProtocolVersionCommand {
00027   uint8_t set_id;
00028   uint8_t id;
00029   uint8_t val;
00030 } __ActivationGetProtocolVersionCommand;
00031 
00032 enum __ActivationGetProtocolVersionAckCodes {
00033   AUTOPILOT_ACTIVATED = 0x0000,
00034   AUTOPILOT_NOT_ACTIVATED = 0xFF01
00035 };
00036 
00037 typedef struct __ActivationGetProtocolVersionAck {
00038   __ActivationGetProtocolVersionAckCodes status;
00039   uint32_t crc;
00040   uint8_t version[32];
00041 } __ActivationGetProtocolVersionAck;
00042 
00043 void printFrame(HardDriver *hardDriver, Header *header, bool toAircraft);
00044 }
00045 }
00046 
00047 #endif  // ONBOARDSDK_DJI_LOGGING_H


dji_sdk_lib
Author(s):
autogenerated on Thu Jun 6 2019 17:55:25