laptou / bluez-rs

Control Bluetooth on Linux.
MIT License
39 stars 9 forks source link

How to get simple name from device advertisment #21

Closed enochc closed 3 years ago

enochc commented 3 years ago

I'm really interested in the repository for a project I'm working on. Is it possible to filter a device "simple name" in the discovery process? I know that's available in the advertisement data. Does anyone have an example how to to pair a device?

enochc commented 3 years ago

Oh I found the name in the eid data, not sure what the best parsing solution is to get it.

laptou commented 3 years ago

A pull request for parsing EIR data (#19) is in the works right now, actually.

enochc commented 3 years ago

Brilliant! thank you, sorry I missed that.