APIs for Mobile-Onboard SDK Communication. More...

#include <dji_mobile_communication.hpp>

Public Member Functions

 MobileCommunication (Vehicle *vehicle=0)
 
VehiclegetVehicle () const
 
void setVehicle (Vehicle *value)
 
void sendDataToMSDK (uint8_t *data, uint8_t len)
 sending data from OSDK to MSDK More...
 
void setFromMSDKCallback (VehicleCallBack callback, UserData userData=0)
 

Static Public Member Functions

static void getDataFromMSDKCallback (Vehicle *vehiclePtr, RecvContainer recvFrame, UserData userData)
 

Public Attributes

VehicleCallBackHandler fromMSDKHandler
 

Detailed Description

APIs for Mobile-Onboard SDK Communication.

This class is deprecated, please use the new class MobileDevice instead. This class implements the Onboard SDK side of Data Transparent Transmission functionality. You must implement APIs available in the Mobile SDK to have full functionality on both directions of the pipeline.

Member Function Documentation

◆ sendDataToMSDK()

void MobileCommunication::sendDataToMSDK ( uint8_t *  data,
uint8_t  len 
)

sending data from OSDK to MSDK

Parameters
datasent data
lenlength of data

The documentation for this class was generated from the following files: