DJI mini pro 3 + NC1 + takeoff-spin around-land
CompletedHello, I am trying to get a test app working and the goal is to be able to use the virtual sticks for control to take off, spin around and land. I am using the dji mini pro 3 but currently have not got a NC1 (I know i need this to deploy the app but right now I am trying to get the app going first).
So I followed the https://sdk-forum.dji.net/hc/en-us/articles/9168348360345-Chapter-3-Integrate-the-SDK-into-your-project
With the following setup, laptop connected to android phone over USB (android version 12).
I can succesfullt build the app and it runs on the phone showing a "hello world". The logs shows a succesfull api request but i get some errors (You dont seem to be able to attach files but i can post the whole log later, the error messages i believe are interesting are the ones below)
Does this just happen because the phone is not connected to a NC1 controller or can i do some further debugging before connecting the NC1? Thanks!:
E/DJIV5/SDKConfig: (getPackageProductCategory:10) dji.v5.handheld.BuildConfig
E/DJIV5/co_a@8ceb4b1: (track:4) AnalyticsEngine is not init
E/BackgroundUtil: (co_a:5) checkIsForeground, isForeground : true
E/BackgroundUtil: (co_a:5) checkIsForeground, isForeground : false
E/GuidUtil: (co_a:3) error:1e00007b:Cipher functions:OPENSSL_internal:WRONG_FINAL_BLOCK_LENGTH
E/logWrite.cpp: DJILOG::source sJG62ugAsN+dE480yBXMwC+Tkk+Hwz+9IsObS0pWYvCh6+KuzQrvwZcsJJEMjrwDdJ4oe+xULAnXcgq/d7VufTpT8v4Y//8vCnQo13Vu7YKRV6G9WPmJaAvN48wT47AiggkvfGqzmHw4lPDKLTGnKbvqguRc57l7/NeBmlhY/Ue7sxyUFI6bLMH8lCZbtGtg3ioeUU4nLqd/+nyMz9hUeAZ3F7Bp2EMUlApDnUVkGSchtWM3B9GavmCBjZ4215zCzZ2fUW/uOTNXS42QeaJi30s+bZfRQUfdVyTtLvv2WEU4niygNBiiBoy2w+kdSSOY79/mYsEsG8ipA3X/PohnG2oXF+kCgPnQgyJEBl5BhJfFazLyzrfmGmYevSV1LzJOKPD25Xy3NB8gXtvnmLDsgD1GEABd2YGmubLNcQHAtPuD4jp2T9HFSNBNoPWpfX49AENsUimDW2uwYbsHvwQX9A==
E/logWrite.cpp: DJILOG::key 05a5e05ab0d8564617fba799
E/logWrite.cpp: DJILOG::packageId com.dji.myapplication
E/logWrite.cpp: DJILOG::deviceId 00000000-6f95-cfcf-0000-018a35e9ab8f
E/logWrite.cpp: DJILOG::contentAfterBase64 �����
E/logWrite.cpp: DJILOG::rijndael256Decrypt {"sdkconfig":{"appid":"com.dji.myapplication","registertime":"1693122040","sdklevel":"2","sign":"SDKC","sign_v2":"lQ8wE0TGzWQTMd41PgkDyW/CaGKUNpk9Ri33X7QoOWiik11Kv+gZ/gVPfZiWO+Tqz+pQDfTFOoCIFHskEejtdMGFY80OwWiGmQfOEsHelnvLWj1kH8d0+tuvPbJ3IxqPWqifxnD7d3CWgRRVpX2w96YUv2d5DSPH+2hBetbOVbk=","status":"0","uuid":"00000000-6f95-cfcf-0000-018a35e9ab8f"}}�ր o
E/DJIV5/RXUtil: (apply:2) retryTimes:io.reactivex.rxjava3.processors.SerializedProcessor@d594cb
E/DJIV5/AESUtil: (decryptedString:9) last block incomplete in decryption
E/DJIV5/UserAccountManager: (onFailure:1) updateUserAccountValidation onFailure: ErrorImp{errorType='USER_LOGIN', errorCode='NOT_LOGGED_IN', innerCode='null', description='No logged in account', hint='No logged in account'}
E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@927c2a6, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='SerialNumber'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@927c2a6, canGet=true, canSet=false, canListen=false, canPerformAction=false, mIsEvent=false, identifier='FirmwareVersion'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}}
E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=65534, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@94ec894, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='ProductType'} mProductId:0 mComponentType:65534 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure false ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'}
Please sign in to leave a comment.
Comments
1 comment