PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include "ClariusBLE.h"
#include <winrt/base.h>
#include <winrt/windows.devices.bluetooth.h>
#include <winrt/windows.devices.bluetooth.genericattributeprofile.h>
#include <winrt/windows.devices.enumeration.h>
#include <winrt/windows.foundation.h>
#include <winrt/windows.foundation.collections.h>
#include <winrt/windows.storage.h>
#include <winrt/windows.storage.streams.h>
#include <atomic>
#include <codecvt>
#include <future>
#include <mutex>
#include <iomanip>
#include <locale>
#include <sstream>
#include <stdexcept>
Go to the source code of this file.
Functions | |
template<typename TAsyncOp > | |
PlusStatus | await_async (TAsyncOp op) |
std::string | to_narrow_string (std::wstring wstr) |
std::string | to_narrow_string (winrt::hstring hstr) |
std::wstring | to_wide_string (std::string str) |
std::string | uuid_to_string (const winrt::guid &uuid) |
Variables | |
static const uint64_t | BLE_OP_TIMEOUT_SEC = 5 |
static const int | MAX_BLE_CONNECTION_ATTEMPTS = 20 |
static const uint64_t | POWER_ON_POLL_INTERVAL_SEC = 1 |
static const uint64_t | POWER_ON_TIMEOUT_SEC = 30 |
static const winrt::guid | POWER_PUBLISHED_CHAR_UUID { 0x8c853b6a, 0x2297, 0x44c1, { 0x82, 0x77, 0x73, 0x62, 0x7c, 0x8d, 0x2a, 0xbd } } |
static const winrt::guid | POWER_REQUEST_CHAR_UUID { 0x8c853b6a, 0x2297, 0x44c1, { 0x82, 0x77, 0x73, 0x62, 0x7c, 0x8d, 0x2a, 0xbe } } |
static const winrt::guid | POWER_SERVICE_UUID { 0x8c853b6a, 0x2297, 0x44c1, { 0x82, 0x77, 0x73, 0x62, 0x7c, 0x8d, 0x2a, 0xbc } } |
static const winrt::guid | WIFI_PUBLISHED_CHAR_UUID { 0xf9eb3fae, 0x947a, 0x4e5b, { 0xab, 0x7c, 0xc7, 0x99, 0xe9, 0x1e, 0xd7, 0x81 } } |
static const winrt::guid | WIFI_REQUEST_CHAR_UUID { 0xf9eb3fae, 0x947a, 0x4e5b, { 0xab, 0x7c, 0xc7, 0x99, 0xe9, 0x1e, 0xd7, 0x82 } } |
static const winrt::guid | WIFI_SERVICE_UUID { 0xf9eb3fae, 0x947a, 0x4e5b, { 0xab, 0x7c, 0xc7, 0x99, 0xe9, 0x1e, 0xd7, 0x80 } } |
PlusStatus await_async | ( | TAsyncOp | op | ) |
Definition at line 84 of file ClariusBLE.cxx.
std::string to_narrow_string | ( | std::wstring | wstr | ) |
Definition at line 146 of file ClariusBLE.cxx.
std::string to_narrow_string | ( | winrt::hstring | hstr | ) |
Definition at line 153 of file ClariusBLE.cxx.
std::wstring to_wide_string | ( | std::string | str | ) |
Definition at line 139 of file ClariusBLE.cxx.
std::string uuid_to_string | ( | const winrt::guid & | uuid | ) |
Definition at line 161 of file ClariusBLE.cxx.
|
static |
Definition at line 74 of file ClariusBLE.cxx.
|
static |
Definition at line 76 of file ClariusBLE.cxx.
|
static |
Definition at line 71 of file ClariusBLE.cxx.
|
static |
Definition at line 70 of file ClariusBLE.cxx.
|
static |
Definition at line 51 of file ClariusBLE.cxx.
|
static |
Definition at line 55 of file ClariusBLE.cxx.
|
static |
Definition at line 47 of file ClariusBLE.cxx.
|
static |
Definition at line 63 of file ClariusBLE.cxx.
|
static |
Definition at line 67 of file ClariusBLE.cxx.
|
static |
Definition at line 59 of file ClariusBLE.cxx.