Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: kg on October 24, 2018, 03:59:09 PM

Title: Advertisement data
Post by: kg on October 24, 2018, 03:59:09 PM
Hello,

I can discover, connect and exchange data with connected BLE devices using the .NET Bluetooth Framework. However, it would help if I could reach advertising payloads during BLE discovery (e.g. in OnDeviceFound events). Is this possible within the OnDeviceFound event handler context, or should I be looking into BeaconWatcher events (or something else I haven't come across in the documentation) in parallel with OnDeviceFound events?

Thanks,
kg
Title: Re: Advertisement data
Post by: Mike Petrichenko on October 24, 2018, 04:01:03 PM
Hello,

You should use BeaconWatcher to be able to capture advertised data frames. However not all frames can be captured. Windows does not provide access to common/basic BLE frames such as frames that contains Name, MAC and other service information of the device.
Title: Re: Advertisement data
Post by: kg on October 25, 2018, 07:59:00 AM
ok thanks- and thanks for another quick reply!