WebBluetoothCG / web-bluetooth

Bluetooth support for the Web.
http://www.w3.org/community/web-bluetooth/
Other
1.39k stars 188 forks source link

Consider renaming the "bluetooth" permission #304

Open jyasskin opened 8 years ago

jyasskin commented 8 years ago

Right now, https://webbluetoothcg.github.io/web-bluetooth/#permission-api-integration defines the "bluetooth" permission, and https://webbluetoothcg.github.io/web-bluetooth/scanning.html#permission defines "bluetooth-le-scan". It's likely we'll have other Bluetooth permissions in the future:

I'm thinking it doesn't make a lot of sense to use "bluetooth" to refer to just the GATT-client part. Maybe "bluetooth-gatt-client" or "bluetooth-gatt-communication"?

jyasskin commented 8 years ago

Alternately, we could have all of these use "bluetooth", and build the BluetoothPermissionResult type to accommodate future extensions, possibly by renaming devices to gattPeripherals ... or something better.