DJI Onboard-SDK to Mobile-SDK communication: Issues with mobile side using swift


I am currently working on a project that that involves data to be sent from a third party computer on a DJI UAV, to an IOS app. I have successfully implemented the sending of data on the Onboard-SDK, but am having trouble with receiving the sent data on the Mobile-SDK. The mobile app is written in swift. There are examples of receiving data from UAV on IOS(in documentation), but they are all written in objective C.

I honestly cannot find a single other person who has experience with this. Is there anyone who has done this, or something similar? Any answer would be helpful.

Documentation example of receiving data on mobile device (objective C):

(void)flightController:(DJIFlightController *_Nonnull)fc didReceiveDataFromOnboardSDKDevice:(NSData *_Nonnull)data;

Let me know if you need more context to help.



The flight controller has a public property exposed on it called onboardSDKDevice which has a delegate called DJIOnboardSDKDeviceDelegate and one of the methods is - (void)onboardSDKDevice:(DJIOnboardSDKDevice *)osdkDevice didSendDataToMobile:(NSData *)data; You should be able to set the delegate to your class and implement that method to get the NSData.


  • jQuery single page mobile app
  • Store specific data in variable from another variable with regex with PHP
  • Why are my web pages zoomed in when I open them in Opera Mobile?
  • Get the negative of an Optional Chain
  • Sticky Footer W/JQuery Mobile
  • cordova build android throws error on Ubuntu 12.04
  • Jackson mapper write id instead of entire object
  • No such module 'Parse' following Parse iOS Swift Quickstart guide
  • Unique SMS sender id?
  • Mockery and Laravel constructor injection
  • Detect language of Word document
  • jQueryMobile, Ajax Navigation, and MVC
  • Which browser have this strange user agent? (IOS device)
  • How to access recipient on sent messages page with mailboxer
  • Distributed JMS based logging .. falling flat?
  • Accessing the variables from a PHP Anonymous Function
  • ASPNetCore MVC Routing Let Server Handle Specific Route
  • init_seg and warning C4073 from library code?
  • EntLib Way to Bind “Null” Value to Parameter
  • How can we prepend rows to a react native list-view?
  • Sensibility of combined Maven/Ant+Ivy build management for dual platform Desktop/Android deployment?
  • JSR-330 support in Picocontainer : @Inject … @Named(\"xxx)
  • Simple linked list-C
  • Find group of records that match multiple values
  • SAVE attribute needed for Fortran variables when only the C_LOC address is returned to a C program?
  • Looking for good analogy/examples for monitor verses semaphore
  • Force show.bind execution
  • Insert new calendar with SyncAdapter- Calendar API Android
  • Ensure fsync did its job
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • swift auto completion not working in Xcode6-Beta
  • Javascript + PHP Encryption with pidCrypt
  • Redux, normalised entities and lodash merge
  • Weird JavaScript statement, what does it mean?
  • Large data - storage and query
  • Do create extension work in single-user mode in postgres?
  • Qt: Run a script BEFORE make
  • How can i traverse a binary tree from right to left in java?
  • Conditional In-Line CSS for IE and Others?
  • Why do underscore prefixed variables exist?