Author Topic: Advertisement data  (Read 16386 times)

Offline kg

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Advertisement data
« 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Advertisement data
« Reply #1 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.

Offline kg

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Advertisement data
« Reply #2 on: October 25, 2018, 07:59:00 AM »
ok thanks- and thanks for another quick reply!

 

Sitemap 1 2 3 4 5 6 7