Hello All,
I'm trying (hoping) to scan for particular devices using a service UUID. General scanning works fine, as cribbed from the BLE-extended example:
Manager.Scan(3000, Null)
finds devices without a problem. I can check the returned name and connect to it if I like.
But I can't make Manager.Scan(Period, UUID-array) work. I create an array of strings with a couple of UUIDs in it valid for the target device, but passing this instead of Null just results in the scan passing without the device being found. The UUIDs are of the form "3a245ce8-0e73-451d-a01a-bb802deb9c62", and are definitely correct. It is also the only device present. I have captured the UUIDs from the functioning Null scan result just to make sure. What is the wrinkle I must be missing here?
John
I'm trying (hoping) to scan for particular devices using a service UUID. General scanning works fine, as cribbed from the BLE-extended example:
Manager.Scan(3000, Null)
finds devices without a problem. I can check the returned name and connect to it if I like.
But I can't make Manager.Scan(Period, UUID-array) work. I create an array of strings with a couple of UUIDs in it valid for the target device, but passing this instead of Null just results in the scan passing without the device being found. The UUIDs are of the form "3a245ce8-0e73-451d-a01a-bb802deb9c62", and are definitely correct. It is also the only device present. I have captured the UUIDs from the functioning Null scan result just to make sure. What is the wrinkle I must be missing here?
John