Dji Mini Pro 3 losing connection frequently with the SDK (Android).
CompletedI created an android app and integrated the SDK v.5.8.0. It works, but after every second or two, the drone loses the connection from my app. It happens very frequently. It will disconnect one second and reconnect the other. It is very unsteady. Please find my logs below:
onProductConnect: 0
I/CameraStreamManager( 4281): (co_a:808) listenProductTypeUpdate update: UNRECOGNIZED
I/JNIFSEventManager( 4281): setCurrentDeviceId onDeviceIDChangeListener is null
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/System.out( 4281): enableVirtualStick error, ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/System.out( 4281): Retrying to enable virtual stick in 2000 ms
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/chatty ( 4281): uid=10094(ai.dtek.fly.dev) identical 1 line
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/AircraftManager( 4281): (lambda$setHoveringPositionMode$3:1) HoveringPositionMode set failed: ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil( 4281): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/AircraftManager( 4281): (lambda$setHoveringPositionMode$3:1) HoveringPositionMode set failed: ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/MainActivity( 4281): onProductDisconnect: 0
I/JNIFSEventManager( 4281): setCurrentDeviceId onDeviceIDChangeListener is null
I/CameraStreamManager( 4281): (co_a:808) listenProductTypeUpdate update: null
I/MainActivity( 4281): onProductConnect: 0
I/JNIFSEventManager( 4281): setCurrentDeviceId onDeviceIDChangeListener is null
I/CameraStreamManager( 4281): (co_a:808) listenProductTypeUpdate update: UNRECOGNIZED
I/System.out( 4281): Attempt 2 to enable virtual stick.
I/System.out( 4281): enableVirtualStick error, ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/System.out( 4281): Retrying to enable virtual stick in 2000 ms
I/System.out( 4281): Attempt 3 to enable virtual stick.
I/System.out( 4281): enableVirtualStick error, ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/System.out( 4281): Failed to enable virtual stick after 3 attempts.
I/JNIFSEventManager( 4281): setCurrentDeviceId onDeviceIDChangeListener is null
I/MainActivity( 4281): onProductDisconnect: 0
I/CameraStreamManager( 4281): (co_a:808) listenProductTypeUpdate update: null
I/MainActivity( 4281): onProductConnect: 0
I/CameraStreamManager( 4281): (co_a:808) listenProductTypeUpdate update: UNRECOGNIZED
I/JNIFSEventManager( 4281): setCurrentDeviceId onDeviceIDChangeListener is null
-
I have checked with that. Its forced closed, but still I am unable to perform my actions. In example logs below, I was able to enable to virtual stick after 2 attempts. I moved the drone by setting Left controller and when tried giving same command again, it stopped working. I tried to enable again the virtual stick, but I got the exception "REQUEST_HANDLER_NOT_FOUND"
enableVirtualStick success.
I/System.out(19653): virtualStick listener state : dji.v5.manager.aircraft.virtualstick.VirtualStickState@cf42391
I/System.out(19653): Successfully enabled virtual stick.
I/CameraStreamManager(19653): (co_a:869) listenRCModeUpdate update: CHANNEL_A
I/CameraStreamManager(19653): (co_a:776) changeSourceFormat: LEFT_OR_MAIN H265 Success
E/DJIV5/UpgradeManager@9a9e56a(19653): (onUpgradeFirmwareStateUpdated:1) info is UP_TO_DATE
I/CameraStreamManager(19653): (co_a:869) listenRCModeUpdate update: null
I/lteserviceAE(19653): (needBind:1)
I/lteserviceAE(19653): (needBind:1)
I/lteserviceAE(19653): (needBind:1)
I/lteserviceAE(19653): (needBind:1)
I/CameraStreamManager(19653): (removeReceiveStreamListener:1) removeReceiveStreamListener: dji.v5.common.video.channel.VideoChannel@952d027
I/CameraStreamManager(19653): (co_a:808) listenProductTypeUpdate update: UNRECOGNIZED
I/CameraStreamManager(19653): (co_a:874) listenPlayingBack update: LEFT_OR_MAIN NULL
I/MainActivity(19653): onProductDisconnect: 0
I/JNIFSEventManager(19653): setCurrentDeviceId onDeviceIDChangeListener is null
I/CameraStreamManager(19653): (co_a:808) listenProductTypeUpdate update: null
I/MainActivity(19653): onProductConnect: 0
I/CameraStreamManager(19653): (co_a:808) listenProductTypeUpdate update: UNRECOGNIZED
I/JNIFSEventManager(19653): setCurrentDeviceId onDeviceIDChangeListener is null
E/DJIV5/RXUtil(19653): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil(19653): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/chatty (19653): uid=10094(ai.dtek.fly.dev) identical 5 lines
E/DJIV5/RXUtil(19653): (onFailure:1) HoveringPositionMode-onFailure LOCK ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/AircraftManager(19653): (lambda$setHoveringPositionMode$3:1) HoveringPositionMode set failed: ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/AircraftManager(19653): (lambda$setHoveringPositionMode$3:1) HoveringPositionMode set failed: ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
I/CameraStreamManager(19653): (co_a:808) listenProductTypeUpdate update: DJI_MINI_3_PRO
Please sign in to leave a comment.
Comments
3 comments