Coder Social home page Coder Social logo

Comments (5)

DJI-William avatar DJI-William commented on June 28, 2024

It is supported. May I know which iOS MSDK version you are using? And also please paster your code here.

from mobile-sdk-ios.

Anhtastic avatar Anhtastic commented on June 28, 2024

Hello,

We're using the latest DJI SDK, 4.16.2 running on iOS15 and 16. We have no problems fetching gimbal serial number/firmware, but when we try to fetch camera's serial number or firmware, it gave us the errors below.

The methods we are using are:

(void)getSerialNumberWithCompletion:(void (^)(NSString *_Nullable serialNumber, NSError *_Nullable error))block;

(void)getFirmwareVersionWithCompletion:(void (^)(NSString *_Nullable version, NSError *_Nullable error))block;

It's the same methods we use for across all the other drones in our app. Mavic, P4P, P4Pv2, M200, etc... all works and we manage to fetch the serial number, but when it comes to m300, we received the errors below

Serial number: error: Execution of this process has timed out(code:-1003)
Firmware: error: Unknown product.(code: -1012).

from mobile-sdk-ios.

DJI-William avatar DJI-William commented on June 28, 2024

P1 is a payload actually, try DJIPayload.getSerialNumberWithCompletion and getFirmwareVersionWithCompletion.

from mobile-sdk-ios.

Anhtastic avatar Anhtastic commented on June 28, 2024

Hello, is P1 the only one under payload? or any other cameras on m300 is pointing to payload too? If so, I'm curious on the decision/reason for this.

from mobile-sdk-ios.

DJI-William avatar DJI-William commented on June 28, 2024

The P1 and L1 are designed according to PSDK by DJI dev team because they have some 3rd party accessories on it such as Lidar. Other cameras are not such as H20 series.

from mobile-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.