android/connectivity-samples

Connect fail:connect timeout

Opened this issue · 0 comments

When i try this library in my project after import i am always able to connect with BLE printer first time after run app then after try to print again but not able to connect with BLE printer

First time log print like
onClientConnectionState() - status=0 clientIf=8 discoverServices() - device: xx.xx.xxx.xx Print success
But when try again without app restart just print log
onClientRegistered() - status=0 clientIf=8 then after - Connect fail:connect timeout
please help me