Difference between iOS and Android Bluetooth Low Energy connection -


i have ble peripherial device. can't connect bluetoothlegatt example android application , no 1 other ble applications in android market. ios ble applications can connect it. bluetoothlegatt connection log:

07-21 21:06:37.506 27402-27420/bluetoothlegatt d/bluetoothlescanner: onscanresult() - scanresult{mdevice=xx:xx:xx:xx:xx:xx, mscanrecord=scanrecord [madvertiseflags=2, mserviceuuids=null, mmanufacturerspecificdata={}, mservicedata={}, mtxpowerlevel=-2147483648, mdevicename=testble], mrssi=-82, mtimestampnanos=12459248011929} 07-21 21:06:37.506 27402-27402/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:06:37.516 27402-27402/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:06:40.930 27402-27402/bluetoothlegatt d/bluetoothadapter: stoplescan() 07-21 21:07:50.754 27402-27402/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:07:50.764 27402-27402/bluetoothlegatt d/bluetoothadapter: stoplescan() 07-21 21:07:50.764 27402-27402/bluetoothlegatt d/bluetoothadapter: scan not started yet 07-21 21:07:50.924 27402-27402/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:07:50.924 27402-27402/bluetoothlegatt d/bluetoothgatt: connect() - device: xx:xx:xx:xx:xx:xx, auto: false 07-21 21:07:50.924 27402-27402/bluetoothlegatt d/bluetoothgatt: registerapp() 07-21 21:07:50.924 27402-27402/bluetoothlegatt d/bluetoothgatt: registerapp() - uuid=xxxxxxxx-xxxx-xxxxxxxxx-xxxxxxxxxxxx 07-21 21:07:50.924 27402-27420/bluetoothlegatt d/bluetoothgatt: onclientregistered() - status=0 clientif=5 07-21 21:07:50.924 27402-27420/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:07:50.934 27402-27402/bluetoothlegatt d/bluetoothleservice: trying create new connection. 07-21 21:07:56.060 27402-27421/bluetoothlegatt d/bluetoothgatt: onclientconnectionstate() - status=133 clientif=5 device=xx:xx:xx:xx:xx:xx 07-21 21:07:56.060 27402-27421/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:07:56.060 27402-27421/bluetoothlegatt i/bluetoothleservice: disconnected gatt server.  

what should connect device? difference between android , ios ble connections ble peripherial device?

update: android devices:

htc 1 m7. android version: 5.0.2

lg nexus 5x. android version: 6.0.1

07-21 21:07:50.934 27402-27402/bluetoothlegatt d/bluetoothleservice: trying create new connection. 07-21 21:07:56.060 27402-27421/bluetoothlegatt d/bluetoothgatt: onclientconnectionstate() - status=133 clientif=5 device=xx:xx:xx:xx:xx:xx 07-21 21:07:56.060 27402-27421/bluetoothlegatt d/bluetoothdevice: maddress: xx:xx:xx:xx:xx:xx 07-21 21:07:56.060 27402-27421/bluetoothlegatt i/bluetoothleservice: disconnected gatt server.  

after sending connect request, till onclientconnectionstate, there 5 seconds paging time, assume may paging time out.

there few inquiries: 1)is issue occurred on other android phone or test phone? 2)what's advertising interval of device?

it's strange can searched device can not connected; or should rf issue between phone , device.


Comments