跳到内容
WF

WebBLE for iPhone

发行人: GreenParkSoftware
iOS $1.99
下载 v1.3.0 0 下载量
1.3.0
发行人 GreenParkSoftware
发布日期2020年6月8日
添加日期2020年6月8日
操作系统要求iOS
要求Requires iOS 13.0 or later. Compatible with iPhone, iPad, and iPod touch.
下载总数0
价钱$1.99

描述

非常简单的网络浏览器,支持网络蓝牙 JavaScript API 的初始子集,支持书签和控制台日志查看。

*** 1.2 中的新功能 ***

- 调试控制台

*** 概述 ***

使用这个应用程序,您可以导航到一个用 javascript 编写的站点,该站点可以与您的蓝牙(低能耗)设备进行交互。这允许您使用您更熟悉的语言(即 javascript)编写应用程序以与 puck.js 等设备一起使用,并能够在您的 iOS 设备上使用它。

在 WebBLE 上运行您的站点时,使用内置的控制台查看器来调试问题。

蓝牙设备访问的安全性很重要,因此仅支持使用 https 的站点,并且未经用户授权无法连接到蓝牙设备。

最初支持以下关键 API:

- 蓝牙.requestDevice()

- 蓝牙设备.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)

类似程序

替代方案

来自此发布者的更多内容