Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Public Attributes | List of all members
direct_bt::GattGenericAccessSvc Class Reference

Generic Access Service is a mandatory GATT service all peripherals are required to implement. More...

#include <GattNumbers.hpp>

Collaboration diagram for direct_bt::GattGenericAccessSvc:

Public Member Functions

 GattGenericAccessSvc (const std::string &deviceName_, const AppearanceCat appearance_, const std::shared_ptr< GattPeriphalPreferredConnectionParameters > &prefConnParam_) noexcept
 
std::string toString () const noexcept
 

Public Attributes

const std::string deviceName
 Characteristic: Mandatory [Read: Mandatory; Write: Optional; ...]. More...
 
const AppearanceCat appearance
 Characteristic: Mandatory [Read: Mandatory; Write: Excluded; ...]. More...
 
const std::string peripheralPrivacyFlag
 Characteristic: Optional [Read: Mandatory; Write: Conditional; ...]. More...
 
const std::string reconnectionAdress
 Characteristic: Conditional [Read: Excluded; Write: Mandatory; ...]. More...
 
const std::shared_ptr< GattPeriphalPreferredConnectionParametersprefConnParam
 Characteristic: Optional [Read: Mandatory; Write: Excluded; ...]. More...
 

Detailed Description

Generic Access Service is a mandatory GATT service all peripherals are required to implement.

(FIXME: Add reference)

https://www.bluetooth.com/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Services/org.bluetooth.service.generic_access.xml

Definition at line 264 of file GattNumbers.hpp.

Constructor & Destructor Documentation

◆ GattGenericAccessSvc()

direct_bt::GattGenericAccessSvc::GattGenericAccessSvc ( const std::string &  deviceName_,
const AppearanceCat  appearance_,
const std::shared_ptr< GattPeriphalPreferredConnectionParameters > &  prefConnParam_ 
)
inlinenoexcept

Definition at line 277 of file GattNumbers.hpp.

Member Function Documentation

◆ toString()

std::string GattGenericAccessSvc::toString ( ) const
noexcept
Examples
dbt_scanner00.cpp, dbt_scanner01.cpp, and dbt_scanner10.cpp.

Definition at line 382 of file GATTNumbers.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ appearance

const AppearanceCat direct_bt::GattGenericAccessSvc::appearance

Characteristic: Mandatory [Read: Mandatory; Write: Excluded; ...].

Definition at line 269 of file GattNumbers.hpp.

◆ deviceName

const std::string direct_bt::GattGenericAccessSvc::deviceName

Characteristic: Mandatory [Read: Mandatory; Write: Optional; ...].

Definition at line 267 of file GattNumbers.hpp.

◆ peripheralPrivacyFlag

const std::string direct_bt::GattGenericAccessSvc::peripheralPrivacyFlag

Characteristic: Optional [Read: Mandatory; Write: Conditional; ...].

Definition at line 271 of file GattNumbers.hpp.

◆ prefConnParam

const std::shared_ptr<GattPeriphalPreferredConnectionParameters> direct_bt::GattGenericAccessSvc::prefConnParam

Characteristic: Optional [Read: Mandatory; Write: Excluded; ...].

Definition at line 275 of file GattNumbers.hpp.

◆ reconnectionAdress

const std::string direct_bt::GattGenericAccessSvc::reconnectionAdress

Characteristic: Conditional [Read: Excluded; Write: Mandatory; ...].

Definition at line 273 of file GattNumbers.hpp.


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