https://www.cnblogs.com/HintLee/p/9499423.html
鸽了很久终于来完善一下,此源码适用于微信小程序。之前研究小程序的蓝牙踩了不少坑,重新提取了相关内容作了一个 Demo,有搜索设备、连接设备、写入内容、notify 读取内容等功能,在 BLE 串口透传模块上测试通过。
search 页面基本不需改动可直接使用,device 页面中固定了 services 和 characteristics,发送和接收都是字符串,根据需求修改即可。
This project forked from lixiantai/ble_miniprogram
微信小程序 蓝牙Demo
https://www.cnblogs.com/HintLee/p/9499423.html
鸽了很久终于来完善一下,此源码适用于微信小程序。之前研究小程序的蓝牙踩了不少坑,重新提取了相关内容作了一个 Demo,有搜索设备、连接设备、写入内容、notify 读取内容等功能,在 BLE 串口透传模块上测试通过。
search 页面基本不需改动可直接使用,device 页面中固定了 services 和 characteristics,发送和接收都是字符串,根据需求修改即可。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.