RDK Documentation (Open Sourced RDK Components)
btrCore_service.h
1
/*
2
* If not stated otherwise in this file or this component's Licenses.txt file the
3
* following copyright and licenses apply:
4
*
5
* Copyright 2016 RDK Management
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
/*@file btrCore_service.h
21
includes information for query of available services
22
*/
23
24
#ifndef __BTR_CORE_SERVICE_H__
25
#define __BTR_CORE_SERVICE_H__
26
27
/* Below are few of the shortened UUID per
28
* https://www.bluetooth.com/specifications/assigned-numbers/service-discovery
29
*/
30
31
/**
32
* @addtogroup BLUETOOTH_TYPES
33
* @{
34
*/
35
#define BTR_CORE_SP_TEXT "Serial Port"
36
#define BTR_CORE_SP "0x1101"
37
38
#define BTR_CORE_HEADSET_TEXT "Headset"
39
#define BTR_CORE_HEADSET "0x1108"
40
41
#define BTR_CORE_A2SRC_TEXT "Audio Source"
42
#define BTR_CORE_A2SRC "0x110a"
43
44
#define BTR_CORE_A2SNK_TEXT "Audio Sink"
45
#define BTR_CORE_A2SNK "0x110b"
46
47
#define BTR_CORE_AVRTG_TEXT "AV Remote Target"
48
#define BTR_CORE_AVRTG "0x110c"
49
50
#define BTR_CORE_AAD_TEXT "Advanced Audio Distribution"
51
#define BTR_CORE_AAD "0x110d"
52
53
#define BTR_CORE_AVRCT_TEXT "AV Remote"
54
#define BTR_CORE_AVRCT "0x110e"
55
56
#define BTR_CORE_AVREMOTE_TEXT "A/V Remote Control Controller"
57
#define BTR_CORE_AVREMOTE "0x110F"
58
59
#define BTR_CORE_HS_AG_TEXT "Headset - Audio Gateway (AG)"
60
#define BTR_CORE_HS_AG "0x1112"
61
62
#define BTR_CORE_HANDSFREE_TEXT "Handsfree"
63
#define BTR_CORE_HANDSFREE "0x111e"
64
65
#define BTR_CORE_HAG_TEXT "Handsfree - Audio Gateway"
66
#define BTR_CORE_HAG "0x111f"
67
68
#define BTR_CORE_HEADSET2_TEXT "Headset - HS"
69
#define BTR_CORE_HEADSET2 "0x1131"
70
71
#define BTR_CORE_GEN_AUDIO_TEXT "GenericAudio"
72
#define BTR_CORE_GEN_AUDIO "0x1203"
73
74
#define BTR_CORE_PNP_TEXT "PnP Information"
75
#define BTR_CORE_PNP "0x1200"
76
77
#define BTR_CORE_GEN_ATRIB_TEXT "Generic Attribute"
78
#define BTR_CORE_GEN_ATRIB "0x1801"
79
80
/* Below are Member UUIDs Registered for GATT Service as per
81
* https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-members
82
*/
83
84
#define BTR_CORE_GATT_TILE_TEXT "Tile"
85
#define BTR_CORE_GATT_TILE_1 "0xfeed"
86
#define BTR_CORE_GATT_TILE_2 "0xfeec"
87
#define BTR_CORE_GATT_TILE_3 "0xfebe"
88
89
#define BTR_CORE_GEN_ACCESS_TEXT "Generic Access Profile"
90
#define BTR_CORE_GEN_ACCESS "0x1800"
91
92
#define BTR_CORE_GEN_ATTRIBUTE_TEXT "Generic Attribute Profile"
93
#define BTR_CORE_GEN_ATTRIBUTE "0x1801"
94
95
#define BTR_CORE_DEVICE_INFO_TEXT "Device Information"
96
#define BTR_CORE_DEVICE_INFO "0x180a"
97
98
#define BTR_CORE_BATTERY_SERVICE_TEXT "Battery Service"
99
#define BTR_CORE_BATTERY_SERVICE "0x180f"
100
101
#define BTR_CORE_HID_TEXT "Human Interface Device"
102
#define BTR_CORE_HID_1 "0x1812"
103
#define BTR_CORE_HID_2 "0x1124"
104
105
/* @} */
// End of group BLUETOOTH_TYPES
106
107
#endif // __BTR_CORE_SERVICE_H__
components
generic
bluetooth
include
btrCore_service.h
Generated on Thu Feb 9 2023 06:32:28 for RDK Documentation (Open Sourced RDK Components) by
1.8.17