TinyB  0.5.1
TinyB - The Tiny Bluetooth LE library
BluetoothUUID.hpp
1 #pragma once
2 #include<cstdint>
3 #include<string>
4 #include "BluetoothObject.hpp"
5 
7 private:
8  uint64_t uuid[2];
9 
10 public:
11  BluetoothUUID(const BluetoothUUID &other);
12  BluetoothUUID(const std::string &uuid);
13  BluetoothUUID(const char uuid[]);
14 
15  bool operator==(const BluetoothUUID &other);
16  bool operator==(const std::string &str);
17  bool operator==(const char str[]);
18 
19  BluetoothUUID operator=(const BluetoothUUID &other);
20  BluetoothUUID operator=(const std::string &other);
21  BluetoothUUID operator=(const char str[]);
22 
23  std::string get_string();
24  std::string get_short_string();
25  uint32_t get_short();
26  bool is_short();
27 };
Definition: BluetoothUUID.hpp:6