补充枚举值ProfileUuids

Signed-off-by: liuqian_herb <704938153@qq.com>
This commit is contained in:
liuqian_herb 2024-06-27 12:06:03 +08:00
parent 8bed054e6c
commit 5aea44a2e5
2 changed files with 74 additions and 0 deletions

View File

@ -63,6 +63,13 @@ declare namespace connection {
* @systemapi
* @since 10
*/
/**
* Indicate the profile uuid.
*
* @typedef { constant.ProfileUuids } ProfileUuids
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
type ProfileUuids = constant.ProfileUuids;
/**

View File

@ -83,6 +83,13 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Enum for the profile's uuid
*
* @enum { string }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
export enum ProfileUuids {
/**
* Hands-Free Profile: Audio Gateway
@ -91,6 +98,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Hands-Free Profile: Audio Gateway
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB',
/**
* Hands-Free Profile: Hands Free
@ -99,6 +112,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Hands-Free Profile: Hands Free
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB',
/**
* Headset Profile: Audio Gateway
@ -107,6 +126,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Headset Profile: Audio Gateway
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB',
/**
* Headset Profile: Headset
@ -115,6 +140,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Headset Profile: Headset
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB',
/**
* Advanced Audio Distribution Profile: Source
@ -123,6 +154,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Advanced Audio Distribution Profile: Source
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB',
/**
* Advanced Audio Distribution Profile: Sink
@ -131,6 +168,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Advanced Audio Distribution Profile: Sink
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB',
/**
* Audio/Video Remote Control Profile: Controller
@ -139,6 +182,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Audio/Video Remote Control Profile: Controller
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB',
/**
* Audio/Video Remote Control Profile: Target
@ -147,6 +196,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Audio/Video Remote Control Profile: Target
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB',
/**
* Human Interface Device Profile
@ -155,6 +210,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* Human Interface Device Profile
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB',
/**
* HID over GATT Profile
@ -163,6 +224,12 @@ declare namespace constant {
* @systemapi
* @since 10
*/
/**
* HID over GATT Profile
*
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since 12
*/
PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'
}