Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Macros
GATTNumbers.cpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <jau/darray.hpp>
#include <jau/debug.hpp>
#include "GattNumbers.hpp"
Include dependency graph for GATTNumbers.cpp:

Go to the source code of this file.

Macros

#define CASE_TO_STRING(V)   case V: return #V;
 
#define CHARACTERISTIC_PROP_ENUM(X)
 
#define CHARACTERISTIC_TYPE_ENUM(X)
 
#define REQUIREMENT_SPEC_ENUM(X)
 
#define SERVICE_TYPE_ENUM(X)
 

Macro Definition Documentation

◆ CASE_TO_STRING

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

Definition at line 260 of file GATTNumbers.cpp.

◆ SERVICE_TYPE_ENUM

#define SERVICE_TYPE_ENUM (   X)
Value:
@ GENERIC_ACCESS
This service contains generic information about the device.
@ BATTERY_SERVICE
This service exposes the state of a battery within a device.
@ HEALTH_THERMOMETER
This service exposes temperature and other data from a thermometer intended for healthcare and fitnes...
@ DEVICE_INFORMATION
This service exposes manufacturer and/or vendor information about a device.

Definition at line 262 of file GATTNumbers.cpp.

◆ CHARACTERISTIC_TYPE_ENUM

#define CHARACTERISTIC_TYPE_ENUM (   X)
Value:
X(SYSTEM_ID) \
X(PNP_ID)
@ SOFTWARE_REVISION_STRING
@ REGULATORY_CERT_DATA_LIST
@ SERIAL_NUMBER_STRING
@ MODEL_NUMBER_STRING
@ DEVICE_NAME
@ APPEARANCE
@ MANUFACTURER_NAME_STRING
@ PNP_ID
@ TEMPERATURE_FAHRENHEIT
@ PERIPHERAL_PRIVACY_FLAG
@ PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS
@ TEMPERATURE_MEASUREMENT
@ FIRMWARE_REVISION_STRING
@ TEMPERATURE_TYPE
Mandatory: 8bit: 1 armpit, 2 body (general), 3(ear), 4 (finger), ...
@ TEMPERATURE
Mandatory: sint16 10^-2: Celsius.
@ RECONNECTION_ADDRESS
@ SYSTEM_ID
Mandatory: uint40.
@ MEASUREMENT_INTERVAL
@ TEMPERATURE_CELSIUS
Mandatory: sint16 10^-1: Celsius.
@ INTERMEDIATE_TEMPERATURE
@ HARDWARE_REVISION_STRING

Definition at line 276 of file GATTNumbers.cpp.

◆ CHARACTERISTIC_PROP_ENUM

#define CHARACTERISTIC_PROP_ENUM (   X)
Value:
X(Broadcast) \
X(Read) \
X(Notify) \
X(Indicate) \
X(ExtProps) \
@ Notify
@ ReliableWriteExt
FIXME: extension?
@ Indicate
@ ExtProps
@ AuthSignedWrite
@ WriteNoAck
@ Read
@ Broadcast
@ AuxWriteExt
FIXME: extension?
@ WriteWithAck

Definition at line 308 of file GATTNumbers.cpp.

◆ REQUIREMENT_SPEC_ENUM

#define REQUIREMENT_SPEC_ENUM (   X)
Value:
X(Excluded) \
X(Mandatory) \
X(Optional) \
X(C1)
@ Optional
@ if_characteristic_supported
@ Conditional
@ if_notify_or_indicate_supported
@ Mandatory
@ Excluded

Definition at line 328 of file GATTNumbers.cpp.