Closed dhalbert closed 4 years ago
Yup, I believe we need a default for advertisement_types
when it is empty. The bug I fixed was that when a type is given, Advertisements were returned if a scan matched the first prefix but not the class's match().
This recent changed to the code in
start_scan()
:means that if no
advertisement_types
are given, no advertisements at all will be returned bystart_scan()
, so it appears as if nothing is advertising. Previously, all received advertisements would be returned asAdvertisement
objects.@tannewt I thought I understand your change in #72, but now I realize I didn't.
I think
advertisement_types
should be set to(Advertisement,)
if it comes in as empty.