Skip to content
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

Manufacturer data is captured then removed when scanning #269

Open
RomaniukRobert opened this issue Oct 31, 2023 · 1 comment
Open

Manufacturer data is captured then removed when scanning #269

RomaniukRobert opened this issue Oct 31, 2023 · 1 comment

Comments

@RomaniukRobert
Copy link

Hello. I have discovered that while scanning first manufacturer data is parsed and stored in the map PeripheralBase::manufacturer_data_ but then in update_advertising_data it is ovewritten with empty data. I suggest to apply fix:

void PeripheralBase::update_advertising_data(advertising_data_t advertising_data) {
.....
manufacturer_data_.insert(advertising_data.manufacturer_data.begin(), advertising_data.manufacturer_data.end());
...
}
it helped in my case

@KlemenDEV
Copy link

Could this be related? #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants