Android Lollipop 5.0 Bluetooth Low Energy central role's bad performance -
since recent release of android 5.0 lollipop experiencing bad performance of bluetooth low energy api in nexus 4 device. previous os version (android 4.4.4 kit-kat) worked charm, , same app run on 5.0 has following behavior:
frequently not detect advertising packet peripheral.
the advertising_interval of peripheral 20ms, app should detect @ least 1 advertising in 60ms in worst case. have tried
bluetoothlescanner
(with scan_mode_low_latency settings) not use deprecatedmbluetoothadapter.startlescan(mlescancallback)
no success.when does, when try connect gatt server does.
i have checked ble sniffer connection_request packet not sent peripheral.
it seems i'm not 1 kind of errors , other users have posted similar questions. know has happened?
--
update 1: (2014/12/17)
have tested same app nexus 5 running lollipop , connects gatt server. every time send connection request, never because peripheral not receive packet. before upgrading nexus 5 lollipop, worked on kit-kat 4.4.4 though.
update 2: (2014/12/17)
android 5.0.1 not solve problem @ all.
update 3: (2015/04/23)
android 5.1 not solve problem either. today i've had opportunity test android 5.0.1 on samsung galaxy s4 , works perfectly. have tested on nexus 5 fresh android 5.1 install, , works fine too. problem still remains in nexus 4. made strange on the firmware of android 5.0 , subsequent releases broke perfect compatibility android 4.4.4 had bluetooth api.
just update: observing same issue after upgrading s5 lollipop. on kitkat working fine. unacceptable have such behavior.
i cannot see connection request making in snoop logs , api not respond saying there wrong connection request or peripheral. point connection request auto connection request because of app keep on waiting callback never gets called.i not want make code dirty , complicated implementing timers check connectivity.
is there bug logged regarding in google bug repository?
Comments
Post a Comment