14#ifndef WIN32_LEAN_AND_MEAN
15#define WIN32_LEAN_AND_MEAN
25#include <winrt/base.h>
27#include <winrt/Windows.Foundation.h>
28#include <winrt/Windows.Foundation.Collections.h>
29#include <winrt/Windows.System.h>
30#include <winrt/Windows.UI.Xaml.h>
31#include <winrt/Windows.UI.Xaml.Controls.h>
32#include <winrt/Windows.UI.Xaml.Hosting.h>
33#include <winrt/Windows.UI.Xaml.Media.h>
34#include <Windows.UI.Xaml.Hosting.DesktopWindowXamlSource.h>
36#include <winrt/Windows.Devices.Bluetooth.h>
37#include <winrt/Windows.Devices.Bluetooth.Advertisement.h>
38#include <winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h>
39#include <winrt/Windows.Devices.Radios.h>
40#include <winrt/Windows.Storage.Streams.h>
48#include <unordered_map>
52#include "../../include/bletypes.h"
55#pragma comment(lib, "windowsapp")
A few internal functions.