dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
996 stars 581 forks source link

Connecting DJI Mobile SDK App to Multiple Drones Simultaneously #1265

Open hani-13 opened 8 months ago

hani-13 commented 8 months ago

I am reaching out to inquire about the capability of the DJI Mobile SDK app to connect to multiple drones simultaneously. My goal is to develop an application that can retrieve real-time status updates from multiple drones and provide the user with the ability to select and control each drone individually.

Specifically, I am interested in understanding whether it is currently possible to establish connections to multiple drones using the DJI Mobile SDK app. If this feature is not already supported, I would like to explore the possibility of developing such functionality within my own application.

Could you kindly provide guidance on how to proceed with achieving this functionality? I am particularly interested in any available documentation, code samples, or best practices that could help me get started with multi-drone connectivity and management using the DJI Mobile SDK.

Thank you very much for your assistance and support. I look forward to your response.

dji-dev commented 8 months ago

Agent comment from yating.liao in Zendesk ticket #102088:

Here is the technical support for Mobile SDK. Mobile SDK is a software development tool that relies on the communication link between the remote controller and the aircraft to control the aircraft. Therefore, the key to using Mobile SDK to control multiple aircraft lies in whether one remote controller can connect to multiple aircraft. Currently, the remote controller provided by DJI does not support connecting to multiple aircraft, so only one remote controller can control one aircraft.

Due to the above reasons, the interfaces provided by Mobile SDK are used to obtain information about the currently connected aircraft or control the aircraft's movements. The SDK cannot directly read information from surrounding aircraft.

For Mobile SDK 4.17, I would recommend that you first experience it using the sample code, and here is the corresponding API documentation. sample code:https://github.com/dji-sdk/Mobile-SDK-Android API documentation:https://developer.dji.com/api-reference/android-api/Components/SDKManager/DJISDKManager.html

°°°

Tolder99 commented 4 months ago

So could you with one phone and 5 remote contollers and 5 drones use MSDK with all of them at the same time?