AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP Class Reference

#include <BlueZSPP.h>

Inheritance diagram for alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP:
Collaboration graph
[legend]

Public Member Functions

BluetoothServiceInterface functions.
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterfacegetRecord () override
 
void setup () override
 Called for any necessary setup of the service. More...
 
void cleanup () override
 Called for any necessary cleanup of the service. More...
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface
virtual ~BluetoothServiceInterface ()=default
 Destructor. More...
 

Static Public Member Functions

static std::shared_ptr< BlueZSPPcreate ()
 

Additional Inherited Members

- Static Public Attributes inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::SPPInterface
static constexpr const char * UUID = "00001101-0000-1000-8000-00805f9b34fb"
 The Service UUID. More...
 
static constexpr const char * NAME = "SerialPort"
 The Service Name. More...
 

Detailed Description

BlueZ implementation of SPPInterface interface

Member Function Documentation

◆ cleanup()

void alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP::cleanup ( )
overridevirtual

Called for any necessary cleanup of the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.

◆ create()

static std::shared_ptr<BlueZSPP> alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP::create ( )
static

Factory method to create a new instance of BlueZSPP

Returns
A new instance of BlueZSPP, nullptr if there was an error creating it.

◆ getRecord()

std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface> alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP::getRecord ( )
overridevirtual

Returns an SDPRecord for the service.

Returns
A SDPRecordInterface for the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.

◆ setup()

void alexaClientSDK::bluetoothImplementations::blueZ::BlueZSPP::setup ( )
overridevirtual

Called for any necessary setup of the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.


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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0