dji_hms_internal.hpp
Go to the documentation of this file.
1 
29 #ifndef ONBOARDSDK_DJI_HMS_INTERNAL_HPP
30 #define ONBOARDSDK_DJI_HMS_INTERNAL_HPP
31 #include "dji_type.hpp"
32 #include <iostream>
33 using namespace std;
34 
35 namespace DJI{
36 namespace OSDK{
37 
39 typedef struct HMSErrCodeInfo {
40  uint32_t alarmId;
41  std::string groundAlarmInfo;
42  std::string flyAlarmInfo;
44 
46 const uint32_t dbHMSErrNum = 700;
47 
48 extern void encodeSender(const uint8_t sender,uint8_t & deviceType, uint8_t & deviceIndex);
49 extern bool replaceStr(string &str, const string oldReplaceStr, const string newReplaceStr);
50  }
51  }
52 #endif //ONBOARDSDK_DJI_HMS_INTERNAL_HPP
const uint32_t dbHMSErrNum
Definition: dji_hms_internal.hpp:46
std::string groundAlarmInfo
Definition: dji_hms_internal.hpp:41
std::string flyAlarmInfo
Definition: dji_hms_internal.hpp:42
Data type and Data Structure definitions for use throughout DJI OSDK.
Definition: dji_hms_internal.hpp:39
Definition: dji_ack.cpp:38
struct DJI::OSDK::HMSErrCodeInfo HMSErrCodeInfo