Direct-BT v3.3.0-1-gc2d430c
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 (std::string deviceName_, const AppearanceCat appearance_, std::shared_ptr< GattPeriphalPreferredConnectionParameters > prefConnParam_) noexcept
 
std::string toString () const noexcept
 

Public Attributes

const AppearanceCat appearance
 Characteristic: Mandatory [Read: Mandatory; Write: Excluded; ...]. More...
 
const std::string deviceName
 Characteristic: Mandatory [Read: Mandatory; Write: Optional; ...]. More...
 
const std::string peripheralPrivacyFlag
 Characteristic: Optional [Read: Mandatory; Write: Conditional; ...]. More...
 
const std::shared_ptr< GattPeriphalPreferredConnectionParametersprefConnParam
 Characteristic: Optional [Read: Mandatory; Write: Excluded; ...]. More...
 
const std::string reconnectionAdress
 Characteristic: Conditional [Read: Excluded; Write: Mandatory; ...]. 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 294 of file GattNumbers.hpp.

Constructor & Destructor Documentation

◆ GattGenericAccessSvc()

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

Definition at line 307 of file GattNumbers.hpp.

Member Function Documentation

◆ toString()

std::string GattGenericAccessSvc::toString ( ) const
noexcept

Definition at line 425 of file GATTNumbers.cpp.

Member Data Documentation

◆ deviceName

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

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

Definition at line 297 of file GattNumbers.hpp.

◆ appearance

const AppearanceCat direct_bt::GattGenericAccessSvc::appearance

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

Definition at line 299 of file GattNumbers.hpp.

◆ peripheralPrivacyFlag

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

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

Definition at line 301 of file GattNumbers.hpp.

◆ reconnectionAdress

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

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

Definition at line 303 of file GattNumbers.hpp.

◆ prefConnParam

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

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

Definition at line 305 of file GattNumbers.hpp.


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