dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 254 forks source link

DJISDK 4.12 SDK Bridge App crash #364

Open dshackelford opened 4 years ago

dshackelford commented 4 years ago

Hello,

There appears to be an issue with the new DJISDK 4.12 using the SDK Bridge app. There is a crash in a background thread (as seen in the stack trace below).

I was able to connect to a P4PV2 using DJISDK 4.12 without the SDK Bridge app

I re-installed DJISDK 4.11 and SDK Bridge allowed connection to drone.

Environment: Xcode 11.5 SDK Bridge app says it is up to date via App Store (unable to find version number). iPad running SDK Bridge app: iOS 13.5

Phantom 4 Pro V2: 01.00.2200 Precise Fly Safe Database (for AC): 01.00.01.18 Fly Safe (for App): 01.00.01.18 Basic Fly Safe Database: 01.00.01.09

If there is anymore information needed to help resolve this issue, please let me know.

Thanks, Dylan

Screen Shot 2020-05-27 at 11 38 29 AM

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. Can you please use the 4.12 official sample to reproduce this issue? https://github.com/dji-sdk/Mobile-SDK-iOS

Thanks,

Luce Luo DJI Dev Team

dshackelford commented 4 years ago

Hello,

I have built the DJISDKDemo App and tried to connect via enableBridgeModeWithBridgeAppIP: and got the same type of error response after a successful connection (as seen in the attached screen shots).

I built the DJISDKDemoApp on an iPad and was able to connect and use the demo app just fine.

There is only a crash while using the BridgeApp.

Please let me know if there is any more information that is required.

Screen Shot 2020-05-28 at 2 29 10 PM Simulator Screen Shot - iPhone 11 - 2020-05-28 at 14 29 20

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. Phantom 4 Pro V2: 01.00.2200 It seems that the firmware of the drone is so old, can you please help us upgrade to the latest firmware 01.00.50.00 and test it again?

Thanks,

Luce Luo DJI Dev Team

dshackelford commented 4 years ago

Hello,

P4PV2 and RC are now running Firmware 01.00.5000.

The same errors are present when connecting via the SDK Bridge app in the DJI Demo App.

Let me know if there is any more information needed to help resolve this.

Thanks for your time, Dylan Shackelford

Screen Shot 2020-05-29 at 2 54 00 PM Simulator Screen Shot - iPhone 11 - 2020-05-29 at 14 54 10 IMG_FB7E35DDDF22-1

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. Sorry to hear that. I will escalate this issue to the engineer to confirm more. Before it I want to more detail below: -With the Bridge Aoo, does the demo app crash directly when running start? Or seconds later, any action you did? -Can you please show me a video(Youtube or other drives) of the whole progress from running the app to the crash end?

Thanks,

Luce Luo DJI Dev Team

dshackelford commented 4 years ago

Hello,

The DJIDemo App crashes when the P4PV2 connects via the Bridge app.

If there is no connection, the DJIDemo App runs fine.

Here is a video of my setup: https://youtu.be/zG4YRnL00us

Let me know if there is any more information to help resolve this.

Thanks, Dylan Shackelford

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. Many thanks for your further info. This ticket has been escalated to the engineer to confirm. It may cost some time and we will contact you again once any progress.

Thanks,

Luce Luo DJI Dev Team

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. I also test the same environment but fail to reproduce, seeing my test video. https://drive.google.com/file/d/1pEWdEtyTQrEYxnoHuPvSs4MRTiO5u0kh/view?usp=sharing

I will keep tracking this issue with the engineer and give you feedback once any progress.

Thanks,

Luce Luo DJI Dev Team

dshackelford commented 4 years ago

Hello,

Any updates on resolving this issue?

I am getting the same crash, on both Objective C and Swift Demo project, when the following drones connect:

  1. P4P RTK
  2. P4P Multispectral
  3. P4P V2

Environment: Xcode 11.5 Mac OS 10.15.5 iPad 13.5

Simulator Screen Shot - iPhone 11 - 2020-06-04 at 10 33 52 Simulator Screen Shot - iPhone 11 - 2020-06-04 at 10 40 17

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. Sorry, the engineer is still working on it and has no progress for the being time. Have you tried to reinstall the Bridge App or try another phone? Is there the same crash?

Thanks,

Luce Luo DJI Dev Team

dji-dev commented 4 years ago

Agent comment from Luce Luo in Zendesk ticket #35145:

Dear Customer,

Thank you for contacting DJI. I have good news! It looks like your bug was resolved and you can expect the fix to be pushed out in a future 4.13 DJI's SDK release. I can't give you an exact release date but I can tell you that you will not have long to wait long. At this point, we can close this ticket but please note that if you ever have any follow-up questions you can always reach back out to us and reference ticket.

Thanks,

Luce Luo DJI Dev Team