troystribling / BlueCap

iOS Bluetooth LE framework
MIT License
715 stars 115 forks source link

Advertisement data is dropped for retrieved peripherals #96

Open wasnotrice opened 1 year ago

wasnotrice commented 1 year ago

Expected When a peripheral is advertising, we always get the advertisement data

Actual If a peripheral is already in our internal map (for instance, it has been added through loadRetrievedPeripheral), its advertisement data is dropped (though the RSSI is updated)

I'll make a pull request with a fix for this—it's probably the clearest explanation of the issue.