-
-
Notifications
You must be signed in to change notification settings - Fork 284
CurieBLE: no access to scan response data when scanning #370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Addressed by #402 |
I've tested this with the 2.0.1 RC 1 things are a bit better. However, the results are a bit strange if I call
I expect to see the following for my TI SensorTag:
However, the fields for my Dropcam and SensorTag are mixed up. I also only have one Dropcam but the local name is seen multiple time. |
Hi @sandeepmistry , I have test the scan sketch with latest code. The test result like this:
Their has 2 type ADVs. The first type is because the scan response not coming and the local name are in the scan response. If the buffer doesn't override, the followed available will return full of ADV data. Can you capture the ADV data about the device that MAC address is C8:69:CD:41:84:A2? I'm also interest about the problem you faced. From the output, I think the serial is stable, it shouldn't be include d in another device. I need check the ADV first. Thanks! |
@sgbihu @russmcinnis @noelpaz, please perform the scan test with multiple boards with long LocalName so that Scan Response Data will be used. Please check the correct MAC address to the LocalName detected. Please use unique LocalName for each board. Please use Ellisys to capture the traffic too. |
I can reproduce this issue. This seems similar to the issue where scanForName() is returning the name of the previous device scanned. So I am seeing these errors. Sometimes the local name is not returned which causes some of the errors in my test. I will hook up Ellisys when I get it. |
Tracked by Jira 893. |
This is working for me now with the 2.0.1-rc2.1 JSON @yashaswini-hanji provided us. Closing. There's still an edge case where a peripheral would be be reported, see #500 (comment). However, @SidLeung has opened #508 to track this. It's also not a very common edge case from my experience with BLE. |
I think this one is already in JIRA, however I'm opening this for other preview testers to track the progress.
When using the scan example with the my TI SensorTag I'm not able to see the local name it advertises. However, using LightBlue on iOS I can see "CC2650 SensorTag" as the local name.
The text was updated successfully, but these errors were encountered: