速報APP / 工具 / WebBLE

WebBLE

價格:免費

更新日期:2019-04-09

檔案大小:8.7 MB

目前版本:1.2.2

版本需求:需要 iOS 11.0 或以上版本。與 iPhone、iPad 及 iPod touch 相容。

支援語言:英語

WebBLE(圖1)-速報App

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()

WebBLE(圖2)-速報App

- 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)

支援平台:iPhone, iPad