iOS SDK DJIBaseProductDelegate

已完成

评论

3 条评论

  • DJI Developer Support
    didUpdateDiagnosticsInformation will automatically push code,solution and other information. But it pushes the status information of the aircraft, if you need to determine whether the aircraft is connected as well as the GPS signal, you need to use the corresponding interface or callback. In the event that the aircraft gets disconnected, the SDK will call back the productDisconnected function. To retrieve the GPS signal level, you can refer to the GPSSignalLevel (https://developer.dji.com/api-reference/ios-api/Components/FlightController/DJIFlightController_DJIFlightControllerCurrentState.html?search=gps&i=0djiflightcontroller_djiflightcontrollercurrentstate_gpssignalstatus_inline) for more details.
    0
    评论操作 固定链接
  • Hoà Trần

    But there are some error codes I see on DJI's application, for example, code 30001 related to GPS signal is not detected or when the App disconnects, the error code is 30002 related to disconected. But the application I am developing is not receiving these error codes

    0
    评论操作 固定链接
  • DJI Developer Support
    I wanted to ask you about the DiagnosticsInformationCallback. Is there a possibility that it doesn't push the same errorCode as the DJI application, but still contains the same information? For example, when you encounter the error code 30001 in the DJI application, does the DiagnosticsInformationCallback callback provide GPS-related information? Also, I wanted to check if you are using the latest version of the iOS SDK?
    0
    评论操作 固定链接

请先登录再写评论。