Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Static Public Attributes | List of all members
DBTConstants Class Reference

Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2022 Gothel Software e.K. More...

#include <dbt_constants.hpp>

Collaboration diagram for DBTConstants:

Static Public Attributes

static constexpr const char CLIENT_KEY_PATH [] = "client_keys"
 C++20 we could use constexpr std::string More...
 
static const jau::uuid128_t CommandUUID = jau::uuid128_t("d0ca6bf3-3d52-4760-98e5-fc5883e93712")
 
static const jau::uuid128_t DataServiceUUID = jau::uuid128_t("d0ca6bf3-3d50-4760-98e5-fc5883e93712")
 
static const std::vector< uint8_t > FailHandshakeCommandData = { 0x00, 0xea, 0xea, 0xff }
 Fail handshake command data, where client is signaling unsuccessful completion of test to server. More...
 
static constexpr const int max_connections_per_session = 5
 
static const jau::uuid128_t PulseDataUUID = jau::uuid128_t("d0ca6bf3-3d54-4760-98e5-fc5883e93712")
 
static const jau::uuid128_t ResponseUUID = jau::uuid128_t("d0ca6bf3-3d53-4760-98e5-fc5883e93712")
 
static constexpr const char SERVER_KEY_PATH [] = "server_keys"
 
static const jau::uuid128_t StaticDataUUID = jau::uuid128_t("d0ca6bf3-3d51-4760-98e5-fc5883e93712")
 
static const std::vector< uint8_t > SuccessHandshakeCommandData = { 0xaa, 0xff, 0xff, 0xee }
 Success handshake command data, where client is signaling successful completion of test to server. More...
 

Detailed Description

Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2022 Gothel Software e.K.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 34 of file dbt_constants.hpp.

Member Data Documentation

◆ max_connections_per_session

constexpr const int DBTConstants::max_connections_per_session = 5
staticconstexpr

Definition at line 36 of file dbt_constants.hpp.

◆ CLIENT_KEY_PATH

constexpr const char DBTConstants::CLIENT_KEY_PATH[] = "client_keys"
staticconstexpr

C++20 we could use constexpr std::string

C++17 we have to use const char *, std::string_view or extern const std::string.

Definition at line 43 of file dbt_constants.hpp.

◆ SERVER_KEY_PATH

constexpr const char DBTConstants::SERVER_KEY_PATH[] = "server_keys"
staticconstexpr

Definition at line 45 of file dbt_constants.hpp.

◆ DataServiceUUID

const jau::uuid128_t DBTConstants::DataServiceUUID = jau::uuid128_t("d0ca6bf3-3d50-4760-98e5-fc5883e93712")
static

Definition at line 47 of file dbt_constants.hpp.

◆ StaticDataUUID

const jau::uuid128_t DBTConstants::StaticDataUUID = jau::uuid128_t("d0ca6bf3-3d51-4760-98e5-fc5883e93712")
static

Definition at line 48 of file dbt_constants.hpp.

◆ CommandUUID

const jau::uuid128_t DBTConstants::CommandUUID = jau::uuid128_t("d0ca6bf3-3d52-4760-98e5-fc5883e93712")
static

Definition at line 49 of file dbt_constants.hpp.

◆ ResponseUUID

const jau::uuid128_t DBTConstants::ResponseUUID = jau::uuid128_t("d0ca6bf3-3d53-4760-98e5-fc5883e93712")
static

Definition at line 50 of file dbt_constants.hpp.

◆ PulseDataUUID

const jau::uuid128_t DBTConstants::PulseDataUUID = jau::uuid128_t("d0ca6bf3-3d54-4760-98e5-fc5883e93712")
static

Definition at line 51 of file dbt_constants.hpp.

◆ SuccessHandshakeCommandData

const std::vector< uint8_t > DBTConstants::SuccessHandshakeCommandData = { 0xaa, 0xff, 0xff, 0xee }
static

Success handshake command data, where client is signaling successful completion of test to server.

Definition at line 57 of file dbt_constants.hpp.

◆ FailHandshakeCommandData

const std::vector< uint8_t > DBTConstants::FailHandshakeCommandData = { 0x00, 0xea, 0xea, 0xff }
static

Fail handshake command data, where client is signaling unsuccessful completion of test to server.

Definition at line 62 of file dbt_constants.hpp.


The documentation for this class was generated from the following file: