External Payload
Hi DJI,
I am using external payload for M300 and I know these payloads has some buttons or configurations that can be used in DJI Pilot app for con change configs or start some actions.
How can I find these buttons and settings from payload data and try to use them?
do we have any sample code to show me how to find and implement them?
Agent comment from YIGUI LIU in Zendesk ticket #144274:
Dear Developer,
Hello and thank you for reaching out to DJI Innovations.
You can use the PSDK for payload development and display custom payload controls in the Pilot 2 app. For detailed reference, see: https://developer.dji.com/doc/payload-sdk-tutorial/en/function-set/basic-function/custom-widget.html
We hope that our solution meets your needs satisfactorily. We appreciate your email and wish you a wonderful day!
Best Regards,
DJI Innovations SDK Technical Support Team
°°°
Hi DJI,
Thank you so much for your response but I mean in the application.
Now I am using payload manager to listen to Basic info and widget info of the external payload and I have all these data.
But I need to know hot the get the list of custom widgets they have implemented in their payload and use them
Please give me a sample code for it.
Thank you so much
Agent comment from YIGUI LIU in Zendesk ticket #144274:
Dear Developer,
You can refer to this tutorial, which provides the calling process and sample code: https://developer.dji.com/doc/mobile-sdk-tutorial/en/tutorials/payload2.html
Best Regards,
DJI Innovations SDK Technical Support Team
°°°