Samsung Galaxy Tab A8 does not work with nRF Mesh Android App

Hello,

Not sure where to direct this (we can open a GitHub issue but wanted to clear it here first), basically everything works great on our Galaxy Tab S6 Lite (SM-P610), can provision, everything. Same for the iOS version. However on the Samsung Galaxy Tab A8 (SM-X200) can see the device to be provisioned, but fails to provision it after the first steps.

We're using the 833 dev kit with soft device 140.  

Thanks,

Alex

Parents
  • Hi could you elaborate on where exactly it fails on the Galaxy tab A8?


  • This step here. On the firmware side I see it disconnects and the provisioning is aborted. 


  • What version of the app are you using? Are you using the same version on both devices?

  • 3.2.4 on both of the Android tablets.

    iOS version is 3.2.0 and also works fine. 

  • Could you provide some logs from the Android studio console? This would help to get an idea what might be wrong.

  • == -- identify start -- ==
    I/ViewRootImpl@4704655[ProvisioningActivity]: ViewPostIme pointer 0
    I/ViewRootImpl@4704655[ProvisioningActivity]: ViewPostIme pointer 1
    I/BleManager: Data written to 00002adb-0000-1000-8000-00805f9b34fb, value: (0x) 03-00-05
    V/MeshManagerApi: Provisioning pdu sent: 0x030005
    I/BleManager: Notification received from 00002adc-0000-1000-8000-00805f9b34fb, value: (0x) 03-01-01-00-01-00-01-00-00-00-00-00-00
    V/MeshManagerApi: Received provisioning message: 0x03010100010001000000000000
    V/ProvisioningCapabilities: Number of elements: 1
    V/AlgorithmType: Supported output oob action type: FIPS P-256 Elliptic Curve
    V/ProvisioningCapabilities: Public key information available: false
    V/ProvisioningCapabilities: Static OOB information available: : true
    V/ProvisioningCapabilities: Output OOB size: 0
    V/ProvisioningCapabilities: Input OOB size: 0
    
    == -- provision start -- ==
    I/ViewRootImpl@4704655[ProvisioningActivity]: ViewPostIme pointer 0
    I/ViewRootImpl@4704655[ProvisioningActivity]: ViewPostIme pointer 1
    D/ScrollView: initGoToTop
    I/Dialog: mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
    I/DecorView: [INFO] isPopOver=false, config=false
    I/DecorView: updateCaptionType >> DecorView@36d25ab[], isFloating=true, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=false
    D/DecorView: setCaptionType = 0, this = DecorView@36d25ab[]
    D/ScrollView: initGoToTop
    D/InputTransport: Input channel constructed: '552f93f', fd=96
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: setView = com.android.internal.policy.DecorView@36d25ab TM=true
    I/Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
    I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x30ec4e / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9132 android.view.ViewRootImpl.performTraversals:3422 android.view.ViewRootImpl.doTraversal:2671 android.view.ViewRootImpl$TraversalRunnable.run:10094 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: Relayout returned: old=(0,36,1920,1128) new=(528,412,1392,751) req=(864,339)0 dur=19 res=0x7 s={true -5476376620642090880} ch=true fn=-1
    D/ScrollView:  onsize change changed 
    D/ScrollView:  onsize change changed 
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11080 android.view.ViewRootImpl.performTraversals:3917 android.view.ViewRootImpl.doTraversal:2671 
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: [DP] pd() Asnyc report
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: mAttachInfo.mThreadedRenderer.draw, mView = DecorView@36d25ab[ProvisioningActivity] w = 864 h = 339
    I/OpenGLRenderer: Davey! duration=922ms; Flags=1, IntendedVsync=509751630136407, Vsync=509752180136418, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=509752184027315, AnimationStart=509752184048161, PerformTraversalsStart=509752185801468, DrawStart=509752510441237, SyncQueued=509752546182007, SyncStart=509752546522122, IssueDrawCommandsStart=509752546785930, SwapBuffers=509752552573391, FrameCompleted=509752553406699, DequeueBufferDuration=1885231, QueueBufferDuration=319654, GpuCompleted=0, 
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4745 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938 
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: [DP] rdf()
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474017904]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474017904]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474019024]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474019024]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474016672]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474016672]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474030336]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474030336]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474035376]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474035376]
    I/ViewRootImpl@4704655[ProvisioningActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
    
    == -- click no oob -- ==
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: ViewPostIme pointer 0
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: ViewPostIme pointer 1
    V/ProvisioningStartState: Provisioning start PDU: 0x03020000000000
    D/OpenGLRenderer: endAllActiveAnimators on 0xb400007a166a1660 (RippleDrawable) with handle 0xb400007926adcda0
    I/ViewRootImpl@508a6e4[ProvisioningActivity]: dispatchDetachedFromWindow
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474027088]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474027088]
    D/InputTransport: Input channel destroyed: '552f93f', fd=96
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474020368]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474020368]
    I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5dd601a / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9132 android.view.ViewRootImpl.performTraversals:3422 android.view.ViewRootImpl.doTraversal:2671 android.view.ViewRootImpl$TraversalRunnable.run:10094 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474066176]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474066176]
    I/ViewRootImpl@4704655[ProvisioningActivity]: Relayout returned: old=(0,0,1920,1200) new=(0,0,1920,1200) req=(1920,1200)0 dur=14 res=0x1 s={true -5476376620642021120} ch=false fn=240
    I/ViewRootImpl@4704655[ProvisioningActivity]: mAttachInfo.mThreadedRenderer.draw, mView = DecorView@4c32efe[ProvisioningActivity] w = 1920 h = 1200
    I/BleManager: Data written to 00002adb-0000-1000-8000-00805f9b34fb, value: (0x) 03-02-00-00-00-00-00
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474064496]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474064496]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474075696]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474075696]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474020368]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474020368]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474017904]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474017904]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474040192]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474040192]
    I/ViewRootImpl@4704655[ProvisioningActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
    D/InputMethodManager: prepareNavigationBarInfo() DecorView@4c32efe[ProvisioningActivity]
    D/InputMethodManager: getNavigationBarColor() -16777216
    D/InputMethodManager: prepareNavigationBarInfo() DecorView@4c32efe[ProvisioningActivity]
    D/InputMethodManager: getNavigationBarColor() -16777216
    V/InputMethodManager: Starting input: tba=no.nordicsemi.android.nrfmeshprovisioner ic=null mNaviBarColor -16777216 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
    D/InputMethodManager: startInputInner - Id : 0
    I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
    D/InputTransport: Input channel constructed: 'ClientS', fd=100
    D/InputTransport: Input channel destroyed: 'ClientS', fd=99
    V/MeshManagerApi: Provisioning pdu sent: 0x03020000000000
    V/ProvisioningPublicKeyState: X: length: 32 AC68764DCF2636D1E0B185540E3B57791ED1CA6710A5E0DAF3CD60D4A179A6AE
    V/ProvisioningPublicKeyState: Y: length: 32 84B5C98FD42440B594E438DA360A12256BCBAE63B15EA49AA9498FD1FC443E33
    V/ProvisioningPublicKeyState: XY: 0xAC68764DCF2636D1E0B185540E3B57791ED1CA6710A5E0DAF3CD60D4A179A6AE84B5C98FD42440B594E438DA360A12256BCBAE63B15EA49AA9498FD1FC443E33
    I/Choreographer: Skipped 91 frames!  The application may be doing too much work on its main thread.
    I/OpenGLRenderer: Davey! duration=1525ms; Flags=0, IntendedVsync=509773125039425, Vsync=509774641706122, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=509774642868029, AnimationStart=509774642887568, PerformTraversalsStart=509774642905837, DrawStart=509774644123414, SyncQueued=509774644990145, SyncStart=509774645320337, IssueDrawCommandsStart=509774645531068, SwapBuffers=509774647738337, FrameCompleted=509774650488683, DequeueBufferDuration=176923, QueueBufferDuration=374385, GpuCompleted=509722545873220, 
    I/BleManager: Data written to 00002adb-0000-1000-8000-00805f9b34fb, value: (0x) 03-03-AC-68-76-4D-CF-26-36-D1-E0-B1-85-54-0E-3B-57-79-1E-D1-CA-67-10-A5-E0-DA-F3-CD-60-D4-A1-79-A6-AE-84-B5-C9-8F-D4-24-40-B5-94-E4-38-DA-36-0A-12-25-6B-CB-AE-63-B1-5E-A4-9A-A9-49-8F-D1-FC-44-3E-33
    V/MeshManagerApi: Provisioning pdu sent: 0x0303AC68764DCF2636D1E0B185540E3B57791ED1CA6710A5E0DAF3CD60D4A179A6AE84B5C98FD42440B594E438DA360A12256BCBAE63B15EA49AA9498FD1FC443E33
    D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=11 device=EB:E4:48:59:06:95
    W/BleManager: Error: (0x8): GATT CONN TIMEOUT
    I/BleManager: Disconnected
    W/meshprovisione: Accessing hidden method Landroid/bluetooth/BluetoothGatt;->refresh()Z (greylist, reflection, allowed)
    D/BluetoothGatt: refresh() - device: EB:E4:48:59:06:95
    I/BleManager: Cache refreshed
    D/BluetoothGatt: close()
    D/BluetoothGatt: unregisterApp() - mClientIf=11
    V/NrfMeshRepository: Disconnected
    I/ViewRootImpl@7f3cedc[ScannerActivity]: stopped(false) old=true
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    I/BluetoothAdapter: STATE_ON
    D/BluetoothLeScanner: Start Scan with callback
    D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=8 mScannerId=0
    I/ViewRootImpl@7f3cedc[ScannerActivity]: stopped(false) old=false
    I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xb58fe10 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9132 android.view.ViewRootImpl.performTraversals:3422 android.view.ViewRootImpl.doTraversal:2671 android.view.ViewRootImpl$TraversalRunnable.run:10094 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
    I/ViewRootImpl@7f3cedc[ScannerActivity]: Relayout returned: old=(0,0,1920,1200) new=(0,0,1920,1200) req=(1920,1200)0 dur=21 res=0x7 s={true -5476376620642125760} ch=true fn=-1
    I/ViewRootImpl@7f3cedc[ScannerActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11080 android.view.ViewRootImpl.performTraversals:3917 android.view.ViewRootImpl.doTraversal:2671 
    I/ViewRootImpl@7f3cedc[ScannerActivity]: [DP] pd() Asnyc report
    I/ViewRootImpl@7f3cedc[ScannerActivity]: mAttachInfo.mThreadedRenderer.draw, mView = DecorView@377de80[ScannerActivity] w = 1920 h = 1200
    I/ViewRootImpl@7f3cedc[ScannerActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4745 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938 
    I/ViewRootImpl@7f3cedc[ScannerActivity]: [DP] rdf()
    I/ViewRootImpl@4704655[ProvisioningActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474055312]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474055312]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474044448]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474044448]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474028880]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474028880]
    I/ViewRootImpl@7f3cedc[ScannerActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
    D/InputMethodManager: prepareNavigationBarInfo() DecorView@377de80[ScannerActivity]
    D/InputMethodManager: getNavigationBarColor() -16777216
    D/InputMethodManager: prepareNavigationBarInfo() DecorView@377de80[ScannerActivity]
    D/InputMethodManager: getNavigationBarColor() -16777216
    V/InputMethodManager: Starting input: tba=no.nordicsemi.android.nrfmeshprovisioner ic=null mNaviBarColor -16777216 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
    D/InputMethodManager: startInputInner - Id : 0
    I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
    D/InputTransport: Input channel constructed: 'ClientS', fd=106
    D/InputTransport: Input channel destroyed: 'ClientS', fd=100
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474032464]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474032464]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474052960]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474052960]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474016896]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474016896]
    I/SurfaceControl: nativeRelease nativeObject s[-5476376625474024512]
    I/SurfaceControl: nativeRelease nativeObject e[-5476376625474024512]
    I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0xe642b2e / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1826 android.view.ViewRootImpl.relayoutWindow:9132 android.view.ViewRootImpl.performTraversals:3422 android.view.ViewRootImpl.doTraversal:2671 android.view.ViewRootImpl$TraversalRunnable.run:10094 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
    I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5dd601a / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9132 android.view.ViewRootImpl.performTraversals:3422 android.view.ViewRootImpl.doTraversal:2671 android.view.ViewRootImpl$TraversalRunnable.run:10094 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
    I/ViewRootImpl@4704655[ProvisioningActivity]: Relayout returned: old=(0,0,1920,1200) new=(0,0,1920,1200) req=(1920,1200)8 dur=21 res=0x5 s={false 0} ch=true fn=250
    I/ViewRootImpl@4704655[ProvisioningActivity]: stopped(true) old=false
    I/ViewRootImpl@4704655[ProvisioningActivity]: dispatchDetachedFromWindow
    D/InputTransport: Input channel destroyed: '761a53 ', fd=95


    Seems to be a GATT timeout:

    D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=11 device=EB:E4:48:59:06:96
    W/BleManager: Error: (0x8): GATT CONN TIMEOUT
    I/BleManager: Disconnected

  • Any updates? Could you re-open the GitHub issue I opened if you don't have any more suggestions? 

Reply Children
Related