Scanner reports advertisements with trailing garbage
Reported by
brianbre...@gmail.com,
Sep 4
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Steps to reproduce the problem: 1. Run an application the uses the BLE scanner. 2. Cause a BLE Health device to advertise 3. Examine the advertisement reported in the scanner callback in logcat. What is the expected behavior? The advertisement would contain only those bytes sent over the airwaves by the device (as shown in a BLE sniff) What went wrong? After the actual data sent by the device there is a long string of spurious data containing random values Did this work before? N/A Chrome version: 69.0.3497.81 Channel: stable OS Version: 10.0 Flash Version: This spurious data is a problem since there is nothing reported in the byte sequence that tells the decoder how long the total advertisement actually is. The protocol only gives a length field followed by a code followed by the data.
,
Sep 4
,
Sep 4
,
Sep 5
Tried testing the issue on chrome reported version# 69.0.3497.81 using Windows-10 with steps mentioned below: 1) Launched chrome reported version and tried installing BLE Scanner 2) It is asking to "Install on my devices" @Reporter: Please find the attached screenshot for your reference and let us know if we missed anything in reproducing the issue, could you please confirm if this issue requires Mobile device to test, provide your inputs on it which help in further triaging the issue in better way. Thanks!
,
Sep 12
I am not sure what is being attempted here. To duplicate the bug one needs to install a BTLE scanner that runs on the Android platform. It looks like this app is from Microsoft which I suspect would be for Windows. The bug reported was found when installing an Android gateway application that runs on Android devices. The application used was LniPlugfestPHG and it is available on the Google Playstore. Search for LniPlugfestPHG. This Apk needs to be installed on the Android running on the Chrome book. I have no idea how the Android platform is integrated into Chromebook but I have made the assumption it shall behave like any of my standalone Android devices. The LniPlugfestPHG on the Playstore does not have some workarounds I have implemented for the Chromebook (mainly encryption checks) but that should only cause problems when reconnecting to a BTLE device. All you need to do is run the application and look at the Logcat output. Of course you will need a BTLE health device supported by the app. You should get the same logcat output as I have shown above. What has been printed to the log is raw bytes reported by the scanner in the callback. Hope this helps.
,
Sep 12
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 25
Based on comment #5, changing the OS from Windows to Chrome OS.
,
Nov 5
qiyuh, is this the same as the advertisement issues you've been working to solve in ARC++? Can you take a look at this issue? Thanks!
,
Nov 5
Issue 887029 has been merged into this issue.
,
Nov 12
As reproduced in issue 887029 , this is still present in 71.0.3578.27
,
Nov 19
As reproduced in issue 887029 , this is still present in 71.0.3578.49
,
Nov 19
Too late to merge to 71 for now. Have to wait until 72.
,
Nov 27
This is still present in 72.0.3609.3 |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by brianbre...@gmail.com
, Sep 4