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

Device Information is a GATT service. More...

#include <GattNumbers.hpp>

Collaboration diagram for direct_bt::GattDeviceInformationSvc:

Public Member Functions

 GattDeviceInformationSvc (const POctets &systemID_, const std::string &modelNumber_, const std::string &serialNumber_, const std::string &firmwareRevision_, const std::string &hardwareRevision_, const std::string &softwareRevision_, const std::string &manufacturer_, const POctets &regulatoryCertDataList_, const std::shared_ptr< GattPnP_ID > &pnpID_) noexcept
 
std::string toString () const noexcept
 

Public Attributes

const POctets systemID
 Optional. More...
 
const std::string modelNumber
 Optional. More...
 
const std::string serialNumber
 Optional. More...
 
const std::string firmwareRevision
 Optional. More...
 
const std::string hardwareRevision
 Optional. More...
 
const std::string softwareRevision
 Optional. More...
 
const std::string manufacturer
 Optional. More...
 
const POctets regulatoryCertDataList
 Optional. More...
 
const std::shared_ptr< GattPnP_IDpnpID
 Optional. More...
 

Detailed Description

Device Information is a GATT service.

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

Definition at line 315 of file GattNumbers.hpp.

Constructor & Destructor Documentation

◆ GattDeviceInformationSvc()

direct_bt::GattDeviceInformationSvc::GattDeviceInformationSvc ( const POctets systemID_,
const std::string &  modelNumber_,
const std::string &  serialNumber_,
const std::string &  firmwareRevision_,
const std::string &  hardwareRevision_,
const std::string &  softwareRevision_,
const std::string &  manufacturer_,
const POctets regulatoryCertDataList_,
const std::shared_ptr< GattPnP_ID > &  pnpID_ 
)
inlinenoexcept

Definition at line 336 of file GattNumbers.hpp.

Member Function Documentation

◆ toString()

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

Definition at line 407 of file GATTNumbers.cpp.

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

Member Data Documentation

◆ firmwareRevision

const std::string direct_bt::GattDeviceInformationSvc::firmwareRevision

Optional.

Definition at line 324 of file GattNumbers.hpp.

◆ hardwareRevision

const std::string direct_bt::GattDeviceInformationSvc::hardwareRevision

Optional.

Definition at line 326 of file GattNumbers.hpp.

◆ manufacturer

const std::string direct_bt::GattDeviceInformationSvc::manufacturer

Optional.

Definition at line 330 of file GattNumbers.hpp.

◆ modelNumber

const std::string direct_bt::GattDeviceInformationSvc::modelNumber

Optional.

Definition at line 320 of file GattNumbers.hpp.

◆ pnpID

const std::shared_ptr<GattPnP_ID> direct_bt::GattDeviceInformationSvc::pnpID

Optional.

Definition at line 334 of file GattNumbers.hpp.

◆ regulatoryCertDataList

const POctets direct_bt::GattDeviceInformationSvc::regulatoryCertDataList

Optional.

Definition at line 332 of file GattNumbers.hpp.

◆ serialNumber

const std::string direct_bt::GattDeviceInformationSvc::serialNumber

Optional.

Definition at line 322 of file GattNumbers.hpp.

◆ softwareRevision

const std::string direct_bt::GattDeviceInformationSvc::softwareRevision

Optional.

Definition at line 328 of file GattNumbers.hpp.

◆ systemID

const POctets direct_bt::GattDeviceInformationSvc::systemID

Optional.

Definition at line 318 of file GattNumbers.hpp.


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