WinRT/UWP decode BluetoothLEAdvertisement in Powershell 7

This page summarizes the projects mentioned and recommended in the original post on /r/PowerShell

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • BLEPS

    PowerShell module for interacting with Bluetooth Low Energy (BLE) devices implementing the Generic Attribute Profile (GATT/GAP)

  • Thanks to u/hmmwhatsthisdo/ work on BLEPS , I've managed to create a [Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher] in order to receive Bluetooth Low Energy advertisements.

  • BurntToast

    Module for creating and displaying Toast Notifications on Microsoft Windows 10.

  • full code: (requires Microsoft.Windows.SDK.NET.dll that can be found ( here ) )

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • PowerShell

    PowerShell for every system!

  • The method you are trying to use (ToArray)) expects IBuffer as input whereas BluetoothLEAdvertisement.DataSections returns IList. So that is not going to work. You would need a method that can take IList and transform it to something with a concrete type instead of interface. Here is the issue described https://github.com/PowerShell/PowerShell/issues/9816

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts