Closed vladi4k closed 8 years ago
Hi, the function: Filter Device by Advertising-Service in "web-ble" is don't work.
I found that "deviceInfo.uuid" is empty. The Evothings-API saves the Service-IDs to "deviceInfo.adData.serviceUUIDs"
I replace the line return (deviceInfo.uuids.indexOf(serviceUUID) > -1);
return (deviceInfo.uuids.indexOf(serviceUUID) > -1);
with return (deviceInfo.adData.serviceUUIDs.indexOf(serviceUUID) > -1);
return (deviceInfo.adData.serviceUUIDs.indexOf(serviceUUID) > -1);
and it works!
Hi, the function: Filter Device by Advertising-Service in "web-ble" is don't work.
I found that "deviceInfo.uuid" is empty. The Evothings-API saves the Service-IDs to "deviceInfo.adData.serviceUUIDs"
I replace the line
return (deviceInfo.uuids.indexOf(serviceUUID) > -1);
with
return (deviceInfo.adData.serviceUUIDs.indexOf(serviceUUID) > -1);
and it works!