Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
direct_bt::GattPnP_ID Struct Reference

PnP ID is a GATT Characteristic. More...

#include <GattNumbers.hpp>

Collaboration diagram for direct_bt::GattPnP_ID:

Public Member Functions

 GattPnP_ID () noexcept
 
 GattPnP_ID (const jau::TROOctets &source) noexcept
 
 GattPnP_ID (const uint8_t vendor_id_source_, const uint16_t vendor_id_, const uint16_t product_id_, const uint16_t product_version_) noexcept
 
std::string toString () const noexcept
 

Static Public Member Functions

static std::shared_ptr< GattPnP_IDget (const jau::TROOctets &source) noexcept
 

Public Attributes

const uint16_t product_id
 
const uint16_t product_version
 
const uint16_t vendor_id
 
const uint8_t vendor_id_source
 

Detailed Description

PnP ID is a GATT Characteristic.

https://www.bluetooth.com/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Characteristics/org.bluetooth.characteristic.pnp_id.xml

Definition at line 320 of file GattNumbers.hpp.

Constructor & Destructor Documentation

◆ GattPnP_ID() [1/3]

direct_bt::GattPnP_ID::GattPnP_ID ( )
inlinenoexcept

Definition at line 328 of file GattNumbers.hpp.

◆ GattPnP_ID() [2/3]

GattPnP_ID::GattPnP_ID ( const jau::TROOctets source)
noexcept

Definition at line 430 of file GATTNumbers.cpp.

◆ GattPnP_ID() [3/3]

direct_bt::GattPnP_ID::GattPnP_ID ( const uint8_t  vendor_id_source_,
const uint16_t  vendor_id_,
const uint16_t  product_id_,
const uint16_t  product_version_ 
)
inlinenoexcept

Definition at line 333 of file GattNumbers.hpp.

Member Function Documentation

◆ get()

std::shared_ptr< GattPnP_ID > GattPnP_ID::get ( const jau::TROOctets source)
staticnoexcept

Definition at line 434 of file GATTNumbers.cpp.

Here is the caller graph for this function:

◆ toString()

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

Definition at line 443 of file GATTNumbers.cpp.

Member Data Documentation

◆ vendor_id_source

const uint8_t direct_bt::GattPnP_ID::vendor_id_source

Definition at line 321 of file GattNumbers.hpp.

◆ vendor_id

const uint16_t direct_bt::GattPnP_ID::vendor_id

Definition at line 322 of file GattNumbers.hpp.

◆ product_id

const uint16_t direct_bt::GattPnP_ID::product_id

Definition at line 323 of file GattNumbers.hpp.

◆ product_version

const uint16_t direct_bt::GattPnP_ID::product_version

Definition at line 324 of file GattNumbers.hpp.


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