[web-bluetooth] Web Bluetooth with a Custom GATT Service? (#444)

mduffy215 has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== Web Bluetooth with a Custom GATT Service? ==

First, the source code for the BLE Peripheral Simulator is a tremendous resource for anyone investigating Web Bluetooth.
https://github.com/WebBluetoothCG/ble-test-peripheral-android

There is a an approved list of GATT Services.
https://www.bluetooth.com/specifications/gatt/services/

When I modified the Android source code to use a custom defined GATT service (easy to do by simply specifying your own UUID in the Android code) pairing from the web page to the Android app running the GATT sever fails.

The Web Bluetooth documentation does state, "If device’s advertised Service UUIDs have a non-empty intersection with the set of Service UUIDs, add device to result and abort these sub-steps [for pairing]."

Does this mean only services in the approved GATT list are supported? If so, what is the rational? It seems that such a restriction would limit innovation. 


Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/444 using your GitHub account

Received on Monday, 17 June 2019 11:36:10 UTC