Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Macros | Variables
BTGattHandler.cpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <unistd.h>
#include <sys/socket.h>
#include <poll.h>
#include <signal.h>
#include <jau/debug.hpp>
#include <jau/basic_algos.hpp>
#include "L2CAPIoctl.hpp"
#include "GattNumbers.hpp"
#include "BTGattHandler.hpp"
#include "BTDevice.hpp"
#include "BTManager.hpp"
#include "BTAdapter.hpp"
Include dependency graph for BTGattHandler.cpp:

Go to the source code of this file.

Macros

#define CASE_TO_STRING(V)   case V: return #V;
 

Variables

static jau::cow_darray< std::shared_ptr< BTGattCharListener > >::equal_comparator _characteristicListenerRefEqComparator
 
static const uuid16_t _GENERIC_ACCESS (GattServiceType::GENERIC_ACCESS)
 
static const uuid16_t _DEVICE_NAME (GattCharacteristicType::DEVICE_NAME)
 
static const uuid16_t _APPEARANCE (GattCharacteristicType::APPEARANCE)
 
static const uuid16_t _PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS (GattCharacteristicType::PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS)
 
static const uuid16_t _DEVICE_INFORMATION (GattServiceType::DEVICE_INFORMATION)
 
static const uuid16_t _SYSTEM_ID (GattCharacteristicType::SYSTEM_ID)
 
static const uuid16_t _MODEL_NUMBER_STRING (GattCharacteristicType::MODEL_NUMBER_STRING)
 
static const uuid16_t _SERIAL_NUMBER_STRING (GattCharacteristicType::SERIAL_NUMBER_STRING)
 
static const uuid16_t _FIRMWARE_REVISION_STRING (GattCharacteristicType::FIRMWARE_REVISION_STRING)
 
static const uuid16_t _HARDWARE_REVISION_STRING (GattCharacteristicType::HARDWARE_REVISION_STRING)
 
static const uuid16_t _SOFTWARE_REVISION_STRING (GattCharacteristicType::SOFTWARE_REVISION_STRING)
 
static const uuid16_t _MANUFACTURER_NAME_STRING (GattCharacteristicType::MANUFACTURER_NAME_STRING)
 
static const uuid16_t _REGULATORY_CERT_DATA_LIST (GattCharacteristicType::REGULATORY_CERT_DATA_LIST)
 
static const uuid16_t _PNP_ID (GattCharacteristicType::PNP_ID)
 

Macro Definition Documentation

◆ CASE_TO_STRING

#define CASE_TO_STRING (   V)    case V: return #V;

Definition at line 74 of file BTGattHandler.cpp.

Variable Documentation

◆ _APPEARANCE

const uuid16_t _APPEARANCE(GattCharacteristicType::APPEARANCE)
static

◆ _characteristicListenerRefEqComparator

jau::cow_darray<std::shared_ptr<BTGattCharListener> >::equal_comparator _characteristicListenerRefEqComparator
static
Initial value:
=
[](const std::shared_ptr<BTGattCharListener> &a, const std::shared_ptr<BTGattCharListener> &b) -> bool { return *a == *b; }

Definition at line 102 of file BTGattHandler.cpp.

◆ _DEVICE_INFORMATION

const uuid16_t _DEVICE_INFORMATION(GattServiceType::DEVICE_INFORMATION)
static

◆ _DEVICE_NAME

const uuid16_t _DEVICE_NAME(GattCharacteristicType::DEVICE_NAME)
static

◆ _FIRMWARE_REVISION_STRING

const uuid16_t _FIRMWARE_REVISION_STRING(GattCharacteristicType::FIRMWARE_REVISION_STRING)
static

◆ _GENERIC_ACCESS

const uuid16_t _GENERIC_ACCESS(GattServiceType::GENERIC_ACCESS)
static

◆ _HARDWARE_REVISION_STRING

const uuid16_t _HARDWARE_REVISION_STRING(GattCharacteristicType::HARDWARE_REVISION_STRING)
static

◆ _MANUFACTURER_NAME_STRING

const uuid16_t _MANUFACTURER_NAME_STRING(GattCharacteristicType::MANUFACTURER_NAME_STRING)
static

◆ _MODEL_NUMBER_STRING

const uuid16_t _MODEL_NUMBER_STRING(GattCharacteristicType::MODEL_NUMBER_STRING)
static

◆ _PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS

const uuid16_t _PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS(GattCharacteristicType::PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS)
static

◆ _PNP_ID

◆ _REGULATORY_CERT_DATA_LIST

const uuid16_t _REGULATORY_CERT_DATA_LIST(GattCharacteristicType::REGULATORY_CERT_DATA_LIST)
static

◆ _SERIAL_NUMBER_STRING

const uuid16_t _SERIAL_NUMBER_STRING(GattCharacteristicType::SERIAL_NUMBER_STRING)
static

◆ _SOFTWARE_REVISION_STRING

const uuid16_t _SOFTWARE_REVISION_STRING(GattCharacteristicType::SOFTWARE_REVISION_STRING)
static

◆ _SYSTEM_ID

const uuid16_t _SYSTEM_ID(GattCharacteristicType::SYSTEM_ID)
static