Code Monkey home page Code Monkey logo

wechatminiprogramforbluetooth's Introduction

a demo for how to use bluetooth to connect to BLE 4.0 device. you can use it to communicate with BLE device

一个微信小程序,能够搜索并连接蓝牙4.0设备,还能够和蓝牙设备进行数据交互

please modify the serviceId and characteristicId to match your bluetooth device

请将index.js文件中的 serviceId和characteristicId 修改成和你蓝牙设备相匹配

2017-04-13 增加通用模块,发现设备之后能够搜索设备的serviceId和搜索在该serviceId下的characteristicId(serviceId目前使用的是第一个,如有需要使用其他的请自行修改)

目前请用安卓手机调试,IOS的接口貌似有些不一样,下个版本改进

Q群:54073007

wechatminiprogramforbluetooth's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.