-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
No matter what I put in for the array of characteristic UUIDs it fails to discover characteristics and never calls the callback. The same code discovers all characteristics in noble-uwp. (The service is successfully discovered)
GetCharacteristicsForUuidAsync: no characteristic with given id
BLEManager::Notify::<lambda_a1184b3e8bf00761754d30ee7a9f05b8>::operator (): GetCharacteristic error
server.discoverServices(serviceFilter, function (err, services) {
logger.info("Discovering services");
if (err) {
logger.error('Service discovery error: ' + err);
bt.properties.bluetoothDevice.disconnect();
return;
}
console.log(services[0]);
services[0].discoverCharacteristics([], function (err, characteristics) {
if (err) {
logger.error('Characteristic discovery error: ' + err);
bt.properties.bluetoothDevice.disconnect();
return;
}
console.log(characteristics);
});
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels