NordicSemiconductor / pc-ble-driver-js

Node.js interface to the C/C++ pc-ble-driver library. API docs: https://nordicsemiconductor.github.io/pc-ble-driver-js/
Other
79 stars 41 forks source link

Unable to execute Notify command using pc-ble-driver-js #208

Closed jayakanth459 closed 5 years ago

jayakanth459 commented 5 years ago

Unable to issue notify command to Nordic device from Nodejs

adapter.notifyKeypress(desiredChar.instanceId, 0x00 , (err1, val) => { if (err1) { console.log(Error enabling notifications on the hrm characteristic: ${err1}.); console.log(err1) //process.exit(1); } console.log(val); close(adapter) });

bihanssen commented 5 years ago

Please use the Nordic DevZone portal to report bugs, questions or feedback in general. If you would like to suggest code changes, feel free to submit a pull request.

When reporting, please provide some more context and info about how to reproduce the issue you're seeing.