dji_psdk_module.hpp
Go to the documentation of this file.
void * UserData
This is used as the datatype for all data arguments in callbacks.
Definition: dji_type.hpp:75
ErrorCode::ErrorCodeType sendDataToPSDK(uint8_t *data, uint16_t len)
sending data from OSDK to PSDK
ErrorCode::ErrorCodeType subscribePSDKCommonication(PSDKCommunicationUserCallback cb, UserData userData)
Sample to set the callback for PSDK commonication data, non-blocking.
Implementation of the mop client.
Definition: dji_psdk_module.hpp:55
Definition: dji_psdk_module.hpp:59
VehicleCallBackHandler * getCommunicationHandler()
used in internal to do suhscribing task for PSDK commonication data
int64_t ErrorCodeType
Unified error type.
Definition: dji_error.hpp:144
MopClient * getMopClient()
PayloadIndexType
The payload Index of camera.
Definition: dji_payload_base.hpp:42
uint8_t widgetTotalCount
Definition: dji_psdk_module.hpp:92
Abstract protocol implementation for payload module.
Definition: dji_psdk_module.hpp:66
ErrorCode::ErrorCodeType unsubscribeWidgetValues()
Sample to disable the callback for widget values, non-blocking.
Capturing PushData of PSDK widget values, CMD: 0x00, 0x07.
Definition: dji_psdk_module.hpp:91
The CallBackHandler struct allows users to encapsulate callbacks and data in one struct.
Definition: dji_vehicle_callback.hpp:83
ErrorCode::ErrorCodeType unsubscribePSDKCommonication()
Sample to disable the callback for PSDK commonication data, non-blocking.
Definition: dji_psdk_module.hpp:64
uint8_t widgetLocalCount
Definition: dji_psdk_module.hpp:93
Definition: dji_psdk_module.hpp:52
Implementation of payload node.
struct DJI::OSDK::PSDKModule::PSDKWidgetValuesData PSDKWidgetValuesData
Capturing PushData of PSDK widget values, CMD: 0x00, 0x07.
ErrorCode::ErrorCodeType configureWidgetValueSync(uint8_t widgetIndex, PayloadWidgetType widgetType, int widgetValue, int timeout)
Sample to configure the value, blocking.
void configureWidgetValueAsync(uint8_t widgetIndex, PayloadWidgetType widgetType, int widgetValue, void(*UserCallBack)(ErrorCode::ErrorCodeType retCode, UserData userData), UserData userData)
Sample to configure the value, non-blocking.
Definition: dji_ack.cpp:38
VehicleCallBackHandler * getSubscribeWidgetValuesHandler()
used in internal to do suhscribing task for PSDK widget
ErrorCode::ErrorCodeType subscribePSDKWidgetValues(PSDKWidgetValuesUserCallback cb, UserData userData)
Sample to set the callback for widget values, non-blocking.
Class providing APIs & data structures for acting as a MOP client.
Definition: dji_mop_client.hpp:43
Definition: dji_psdk_module.hpp:61