WebBLE 1.2.2
Device: iOS Universal
Category: Utilities
Price: $1.99, Version: 1.2.0 -> 1.2.2 (iTunes)
Description:
Very simple web browser that supports an initial subset of the web bluetooth javascript APIs, with bookmarks and console log viewing support.
*** New in 1.2 ***
- Console for debugging
*** Overview ***
Using this app you can navigate to a site written in javascript that can interact with your bluetooth (low energy) devices. This allows you to write your applications for use with devices such as puck.js in a language you are more familiar with (i.e. javascript) and be able to use it from your iOS device.
Use the built-in console viewer to debug issues when running your site on WebBLE.
Security is important for bluetooth device access, and so only sites that use https are supported, and it is not possible to connect to a bluetooth device without permission being granted by the user.
Initially the following key APIs are supported:
- bluetooth.requestDevice()
- BluetoothDevice.gatt
- BluetoothDevice.addEventListener('gattserverdisconnected', cb)
- BluetoothRemoteGATTServer.connect()
- BluetoothRemoteGATTServer.disconnect()
- BluetoothRemoteGATTServer.getPrimaryService()
- BluetoothRemoteGATTService.getCharacteristic()
- BluetoothRemoteGATTCharacteristic.writeValue()
- BluetoothRemoteGATTCharacteristic.readValue()
- BluetoothRemoteGATTCharacteristic.startNotifications()
- BluetoothRemoteGATTCharacteristic.stopNotifications()
- BluetoothRemoteGATTCharacteristic.addEventListener("characteristicvaluechanged", cb)
What's New
Fixes a bunch of bugs relating to getting notifications for characteristics and writing to them.
- now calls `handleEvent` if the callback object has that function
- accepts `DataView` like objects as well as `ArrayBuffer` objects in `characteristic.writeValue()`
- bluetooth events now have `srcElement` configured
- `console.dir()` doesn't crash
- `stopNotifications()` now actually works
- `startNotifications()` and `stopNotifications()` returns a `Promise[Characteristic]` like they're supposed to
And probably some other things I have now forgotten.
Fixes https://github.com/daphtdazz/BleBrowser/issues/6
WebBLE