【文件属性】:
文件名称:cordova-ble
文件大小:121KB
文件格式:ZIP
更新时间:2021-03-25 19:54:24
JavaScript
科尔多瓦BLE插件
该插件实现了对Android,iOS和Windows 8.1的BLE支持(部分支持)。 使您的Cordova和PhoneGap移动应用程序能够与各种BLE设备进行通信。
可用功能:
扫描BLE设备(iOS和Android支持后台扫描)
建立联系
列出服务,特征和描述符
读取和写入特征值和描述符的值
请求通知特征值的更改
轮询设备的RSSI(信号强度)(仅适用于Android和iOS)
对Android上的外设模式的实验性支持
安装
使用Apache Cordova命令行进行安装:
cordova plugin add cordova-plugin-ble
对于流星,请执行以下操作:
meteor add cordova:cordova-plugin-ble@https://github.com/tiro6090/cordova-ble.git#00c7bbb
【文件预览】:
cordova-ble-master
----introduction.md(2KB)
----package.json(785B)
----src()
--------android()
--------ios()
--------windows()
----jsdoc()
--------conf.json(312B)
----LICENSE(11KB)
----plugin.xml(3KB)
----examples()
--------core-api()
--------webbluetooth()
--------deprecated()
----README.md(12KB)
----tests()
--------test.html(9KB)
--------README.md(2KB)
----ble.js(62KB)