deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLE advertisements.

Frostie314159 opened this issue · comments

Feature Description

It would be helpful to register ble advertisements along with manufacturer data, since this is a feature supported by all platforms.

commented

Can you provide more context here? I'm not sure what you're asking for.

BLE allows you to advertise services. These can contain manufacturer data. As every platform supports sending BLE advertisements, I thought it would only make sense, if this crate exposed them as well.

commented

We already handle that, it's on the peripheral properties struct, as manufacturer_data.

I can't seem to find a way to advertise a service. The peripheral properties struct only handles receiving advertisements.

commented

That's out of the scope of this library. As the readme says, this is a host/central only library.