Mobile sdk V4 (com.dji:dji-sdk-provided:4.18) I cannot get product information when running on android14 tablet

评论

12 条评论

  • DJI Developer Support
    The MSDK V4 does not support LTE functionality. This feature is only available in MSDK V5, and the M300 RTK requires the use of the RC Plus remote controller. Could you please verify if the Mobile SDK 4.18 is unable to recognize the M300 RTK without using the LTE feature?
    0
    评论操作 固定链接
  • 半田 丈都

    Thank you for your kind response.
    I understood about LTE.
    As for the system configuration.
    Android tablet ➡wired connection ➡DJI smart controller ➡drone
    Will it work in the following way?
    Will it work correctly with a configuration that uses an external tablet without installing the app on the android in the smart controller?

    Currently, the product cannot be recognized even when the LTE function is not used.
    Am I correct in assuming that the USB connection is working and information is being exchanged between the app and the drone if this log is being generated?
    I would like to know if it is a display problem on the app side or an SDK problem. Also, can you tell us the method used to acquire the information in order to debug whether the information is being acquired or not?

    Thank you in advance for your response.

    0
    评论操作 固定链接
  • 半田 丈都

    When the tablet is not connected, the product is recognized by the smart controller

    0
    评论操作 固定链接
  • DJI Developer Support
    Android tablet ➡wired connection ➡DJI smart controller ➡drone Will it work in the following way? -->This is feasible. Will it work correctly with a configuration that uses an external tablet without installing the app on the android in the smart controller? --> It works, as long as the remote control recognizes the tablet. The logs you provided indicate that the SDK has detected the remote control. Perhaps you could provide us with a video to help us understand the issue you are currently facing. Here is an upload link:https://pan-sec.djicorp.com/s/ff8Mw5okK7CqEm7 password:123dji
    0
    评论操作 固定链接
  • 半田 丈都

    Thanks for the reply.
    I understood that this system configuration is viable.
    Perhaps the controller is detecting the tablet.
    I have sent you the logs of the runtime and how the application works, as well as the java code used for reference.
    I would appreciate it if you could check it out.
    Thank you very much for all your help. Thank you again.

    0
    评论操作 固定链接
  • DJI Developer Support
    Could you please send us the build.gradle file for your project?
    0
    评论操作 固定链接
  • 半田 丈都

    Thank you for your reply.
    Your kind response is greatly appreciated.
    I uploaded the build.gradle for project and the build.gradle for app.
    Please check them.

    0
    评论操作 固定链接
  • DJI Developer Support
    You can change the compileSdkVersion to 33. I get that the maximum compileSdkVersion for MSDK V4 can only be set to 33. It's important to note that the targetSdkVersion can be configured to 34, so this will not affect the software's listing on the Google Play Store.
    0
    评论操作 固定链接
  • 半田 丈都

    In the file I provided the other day, both compileSdkVersion and targetSdkVersion are set to 34, but by setting compilesdk to 33 and targetsdk to 34, it is highly possible to run the mobile sdk on android14 Does this mean that I can run the Mobile sdk on android14?
    I thought it must be set to 34 to work on android14.
    I will actually try it and report back with the results.

    0
    评论操作 固定链接
  • DJI Developer Support
    The compileSdk is set to 33, and the targetSdk is set to 34, which allows it to function properly on devices running Android 14 during our tests.
    0
    评论操作 固定链接
  • 半田 丈都

    Thanks for your reply.
    As you contacted me, I set the compileSdk to 33 and targetSdk to 34 and adjusted the dependencies and the product was recognized.
    I am attaching the files I am using such as build.gradle for reference. (buildgradle_app_new buildgradle_project_new)
    However, I was able to perform MQTT communication before, but now I cannot even connect to the server. I just want to send messages via MQTT communication using a third party function (citing a volunteer function on github), but even if I do not operate the drone using LTE, is it not available due to a conflict?
    I want to use the MQTT communication function without DJI's SDK for conditional branching for drone control. (sending messages ➡ landing, etc.).
    Please ask me if you have any questions as I am confused myself.


    Thank you very much for your kind replies.
    I apologize for the inconvenience, but I would appreciate it if you could answer a few more questions.

    0
    评论操作 固定链接
  • DJI Developer Support
    I think that the update of MSDK should not affect the MQTT communication. Will the communication be restored if you downgrade the MSDK version to 4.17? How can one control a drone without using the SDK? Have you utilized the Cloud API?
    0
    评论操作 固定链接

请先登录再写评论。