31 #ifndef DJI_HARDDRIVER_H 32 #define DJI_HARDDRIVER_H 47 virtual ~HardDriver();
95 virtual void init() = 0;
96 virtual time_ms getTimeStamp() = 0;
97 virtual size_t send(
const uint8_t* buf,
size_t len) = 0;
98 virtual size_t readall(uint8_t* buf,
size_t maxlen) = 0;
99 virtual bool getDeviceStatus()
106 virtual void displayLog(
const char* buf = 0);
109 static const int bufsize = 1024;
123 #endif // DJI_HARDDRIVER_H Implement memory management for DJI OSDK .
Data type and Data Structure definitions for use throughout DJI OSDK.
Logging mechanism for printing status and error messages to the screen.
handle array of characters
Definition: commondatarangehandler.h:14