W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > July 2019

[web-bluetooth] Packets loos on macOS (#447)

From: Stepan via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Jul 2019 13:30:20 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-464642170-1562333419-sysbot+gh@w3.org>
Installka has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== Packets loos on macOS ==
I use the Web Bluetooth API to work with accelerometer via Bluetooth module. It's working with sampling rate of 100 Hz.
On Windows 10 everything is OK on any device with any Bluetooth module.
But on macOS every second half of packets goes somewhere. So it's only 50 packets/s, while it should be 100.

I tested it on two MacBooks (Pro 13' w/o Touch Bar 2016, macOS 10.14.5 and 12' 2015; macOS 10.14.4/10.14.5) in Chrome 75, 70, Edge 77. Results are the same.
Also, I tested it on MacBook Pro 17' 2011 with BLE 4.0 USB dongle and everything is fine, like on Windows. So, probably, it is the problem in the embedded module. I tried to use this dongle on both of Pro 13' and 12' MacBooks via Apple USB-C to USB Adapter and Web Bluetooth API failed to connect to GATT Server every time.

Also, data receiving graph shows that all the data have been received:
![photo_2019-07-05 16 02 33](https://user-images.githubusercontent.com/26421878/60724257-93ebbe80-9f3e-11e9-903b-66c39ac61ff1.jpeg)

It should receive approximately 100 Hz * 2 bytes * 6 numbers (100 packets/s) + 500 bytes (message header) ≈ 1700 bytes/s. So this almost predicted speed. But when I check data or packets log it's only 50 packets.

What could be the problem?

Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/447 using your GitHub account
Received on Friday, 5 July 2019 13:30:22 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 July 2019 13:30:22 UTC