AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
SDPRecords.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_BLUETOOTH_SDPRECORDS_H_
17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_BLUETOOTH_SDPRECORDS_H_
18 
19 #include <string>
20 
22 
23 namespace alexaClientSDK {
24 namespace avsCommon {
25 namespace utils {
26 namespace bluetooth {
27 
30 public:
38  SDPRecord(const std::string& name, const std::string& uuid, const std::string& version);
39 
45  std::string getName() const override;
46 
50  std::string getUuid() const override;
51 
55  std::string getVersion() const override;
56 
57 protected:
60 
63 
66 };
67 
69 class A2DPSourceRecord : public SDPRecord {
70 public:
76  A2DPSourceRecord(const std::string& version);
77 };
78 
80 class A2DPSinkRecord : public SDPRecord {
81 public:
87  A2DPSinkRecord(const std::string& version);
88 };
89 
91 class AVRCPTargetRecord : public SDPRecord {
92 public:
98  AVRCPTargetRecord(const std::string& version);
99 };
100 
103 public:
109  AVRCPControllerRecord(const std::string& version);
110 };
111 
113 class HFPRecord : public SDPRecord {
114 public:
120  HFPRecord(const std::string& version);
121 };
122 
124 class HIDRecord : public SDPRecord {
125 public:
131  HIDRecord(const std::string& version);
132 };
133 
135 class SPPRecord : public SDPRecord {
136 public:
142  SPPRecord(const std::string& version);
143 };
144 
145 } // namespace bluetooth
146 } // namespace utils
147 } // namespace avsCommon
148 } // namespace alexaClientSDK
149 
150 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_BLUETOOTH_SDPRECORDS_H_
A SDP record representing A2DPSink.
Definition: SDPRecords.h:80
const std::string m_name
The service name.
Definition: SDPRecords.h:59
Used to implement ServiceDiscoveryProtocol records. This allows identification of the service...
Definition: SDPRecordInterface.h:28
::std::string string
Definition: gtest-port.h:1097
SDPRecord(const std::string &name, const std::string &uuid, const std::string &version)
A SDP record representing AVRCPTarget.
Definition: SDPRecords.h:91
A SDP record representing AVRCPController.
Definition: SDPRecords.h:102
const std::string m_version
The version.
Definition: SDPRecords.h:65
const std::string m_uuid
The 128-bit UUID.
Definition: SDPRecords.h:62
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
A SDP record representing A2DPSource.
Definition: SDPRecords.h:69
A SDP record representing SPP.
Definition: SDPRecords.h:135
A SDP record representing HFP.
Definition: SDPRecords.h:113
A SDP record representing HID.
Definition: SDPRecords.h:124
Base class for an SDPRecord object used.
Definition: SDPRecords.h:29

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