Skip to content

Issues subscribing and receiving data #17

@chipimix

Description

@chipimix

Hi!
It seems to me that BLE support on windows is somewhat limited and UWP-centric. This module allows development of electron apps. Thanks for all of your work!! :)
Having said that, I'm having issues subscribing a service characteristic with the "notify" attribute: it doesn't seem to trigger the data event. Perhaps I'm doing something wrong:

uartCharacteristic.subscribe(function(error) {
     console.log('battery level notification on');
});
uartCharacteristic.on('data', function(data, isNotification){
	console.log(data);
});

Also, i read that

Writing/Reading to descriptor handles is not supported
Broadcast is not supported

Does this mean subscribing to a service characteristic with the "notify" attribute is not supported yet?
Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions