GithubHelp home page GithubHelp logo

weixin-iot's Issues

Characteristics with value can be read only


MAC=00:1a:7d:da:71:13, DevName=微信互联硬件, LocalName=WeChat BLE

on -> stateChange poweredOn
on -> advertisingStart success
/usr/local/lib/node_modules/bleno/lib/characteristic.js:16
throw new Error('Characteristics with value can be read only!');
^

Error: Characteristics with value can be read only!
at Characteristic (/usr/local/lib/node_modules/bleno/lib/characteristic.js:16:11)
at new WeRunPedoMeterChar (/home/karlzheng/Desktop/server_maitain/online/hoct_wx_sec/work/debug_wx_req/weixin-iot/ble-simulator.js:100:28)
at new WxBLEService (/home/karlzheng/Desktop/server_maitain/online/hoct_wx_sec/work/debug_wx_req/weixin-iot/ble-simulator.js:196:23)
at Bleno. (/home/karlzheng/Desktop/server_maitain/online/hoct_wx_sec/work/debug_wx_req/weixin-iot/ble-simulator.js:235:23)
at emitOne (events.js:77:13)
at Bleno.emit (events.js:169:7)
at Bleno.onAdvertisingStart (/usr/local/lib/node_modules/bleno/lib/bleno.js:159:8)
at emitOne (events.js:77:13)
at emit (events.js:169:7)
at BlenoBindings.onAdvertisingStart (/usr/local/lib/node_modules/bleno/lib/hci-socket/bindings.js:134:8)

精简协议测试链接错误

airsyncdebug --->精简协议--->计步器测试错误log:
DiscoverService error: Disciver services error,connected BluetoothGATT failed.

ubuntu16.04 sudo node ble-simulator.js 错误

`module.js:435
return process.dlopen(module, path._makeLong(filename));
^

Error: Module version mismatch. Expected 46, got 48.
at Error (native)
at Object.Module._extensions..node (module.js:435:18)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/home/iking/wearable/weixin-iot-master/node_modules/bluetooth-hci-socket/lib/native.js:3:15)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
`

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.