dji_mfio.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
This struct is returned from all blocking calls, except certain mission calls that have explicit type...
Definition: dji_ack.hpp:146
Type definition for new Vehicle-style callbacks.
void(* VehicleCallBack)(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
Function prototype for all callback functions used in the OSDK.
Definition: dji_vehicle_callback.hpp:76
void getValue(CHANNEL channel, VehicleCallBack fn=0, UserData data=0)
Non-blocking call for getting data from an MFIO channel.
Definition: dji_mfio.cpp:180
void config(MODE mode, CHANNEL channel, uint32_t defaultValue, uint16_t freq, VehicleCallBack fn=0, UserData userData=0)
Non-blocking call for initializing an MFIO channel.
Definition: dji_mfio.cpp:47
void setValue(CHANNEL channel, uint32_t value, VehicleCallBack fn=0, UserData data=0)
Non-blocking call for setting an MFIO value to a channel.
Definition: dji_mfio.cpp:127
This struct is returned from the DJI::OSDK::MFIO::getValue blocking API.
Definition: dji_ack.hpp:173
Definition: dji_ack.cpp:38