ホーム › Devices.Bluetooth › BTH_LE_GATT_DESCRIPTOR_TYPE
BTH_LE_GATT_DESCRIPTOR_TYPE
列挙型メンバー 7
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| CharacteristicExtendedProperties | 0 | 0x0 | キャラクタリスティック値には、その使用方法やアクセス方法を示す追加のプロパティが含まれます。 |
| CharacteristicUserDescription | 1 | 0x1 | キャラクタリスティック値には、ユーザー向けの説明テキストである可変長の UTF-8 文字列が含まれます。 |
| ClientCharacteristicConfiguration | 2 | 0x2 | キャラクタリスティック値は、クライアントによって構成できます。 |
| ServerCharacteristicConfiguration | 3 | 0x3 | キャラクタリスティック値は、サーバー向けに構成できます。 |
| CharacteristicFormat | 4 | 0x4 | キャラクタリスティック値の形式です。 |
| CharacteristicAggregateFormat | 5 | 0x5 | 集約されたキャラクタリスティック値の形式です。 |
| CustomDescriptor | 6 | 0x6 | キャラクタリスティック値はカスタマイズされています。 |
公式ドキュメント
BTH_LE_GATT_DESCRIPTOR_TYPE 列挙型は、Bluetooth LE のジェネリック属性 (GATT) の種類を表します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum BTH_LE_GATT_DESCRIPTOR_TYPE : int {
CharacteristicExtendedProperties = 0,
CharacteristicUserDescription = 1,
ClientCharacteristicConfiguration = 2,
ServerCharacteristicConfiguration = 3,
CharacteristicFormat = 4,
CharacteristicAggregateFormat = 5,
CustomDescriptor = 6
} BTH_LE_GATT_DESCRIPTOR_TYPE;public enum BTH_LE_GATT_DESCRIPTOR_TYPE : int
{
CharacteristicExtendedProperties = 0,
CharacteristicUserDescription = 1,
ClientCharacteristicConfiguration = 2,
ServerCharacteristicConfiguration = 3,
CharacteristicFormat = 4,
CharacteristicAggregateFormat = 5,
CustomDescriptor = 6,
}Public Enum BTH_LE_GATT_DESCRIPTOR_TYPE As Integer
CharacteristicExtendedProperties = 0
CharacteristicUserDescription = 1
ClientCharacteristicConfiguration = 2
ServerCharacteristicConfiguration = 3
CharacteristicFormat = 4
CharacteristicAggregateFormat = 5
CustomDescriptor = 6
End Enumimport enum
class BTH_LE_GATT_DESCRIPTOR_TYPE(enum.IntEnum):
CharacteristicExtendedProperties = 0
CharacteristicUserDescription = 1
ClientCharacteristicConfiguration = 2
ServerCharacteristicConfiguration = 3
CharacteristicFormat = 4
CharacteristicAggregateFormat = 5
CustomDescriptor = 6// BTH_LE_GATT_DESCRIPTOR_TYPE
pub const CharacteristicExtendedProperties: i32 = 0;
pub const CharacteristicUserDescription: i32 = 1;
pub const ClientCharacteristicConfiguration: i32 = 2;
pub const ServerCharacteristicConfiguration: i32 = 3;
pub const CharacteristicFormat: i32 = 4;
pub const CharacteristicAggregateFormat: i32 = 5;
pub const CustomDescriptor: i32 = 6;// BTH_LE_GATT_DESCRIPTOR_TYPE
const (
CharacteristicExtendedProperties int32 = 0
CharacteristicUserDescription int32 = 1
ClientCharacteristicConfiguration int32 = 2
ServerCharacteristicConfiguration int32 = 3
CharacteristicFormat int32 = 4
CharacteristicAggregateFormat int32 = 5
CustomDescriptor int32 = 6
)const
CharacteristicExtendedProperties = 0;
CharacteristicUserDescription = 1;
ClientCharacteristicConfiguration = 2;
ServerCharacteristicConfiguration = 3;
CharacteristicFormat = 4;
CharacteristicAggregateFormat = 5;
CustomDescriptor = 6;// BTH_LE_GATT_DESCRIPTOR_TYPE
pub const CharacteristicExtendedProperties: i32 = 0;
pub const CharacteristicUserDescription: i32 = 1;
pub const ClientCharacteristicConfiguration: i32 = 2;
pub const ServerCharacteristicConfiguration: i32 = 3;
pub const CharacteristicFormat: i32 = 4;
pub const CharacteristicAggregateFormat: i32 = 5;
pub const CustomDescriptor: i32 = 6;const
CharacteristicExtendedProperties* = 0
CharacteristicUserDescription* = 1
ClientCharacteristicConfiguration* = 2
ServerCharacteristicConfiguration* = 3
CharacteristicFormat* = 4
CharacteristicAggregateFormat* = 5
CustomDescriptor* = 6enum BTH_LE_GATT_DESCRIPTOR_TYPE : int {
CharacteristicExtendedProperties = 0,
CharacteristicUserDescription = 1,
ClientCharacteristicConfiguration = 2,
ServerCharacteristicConfiguration = 3,
CharacteristicFormat = 4,
CharacteristicAggregateFormat = 5,
CustomDescriptor = 6,
}#define global CharacteristicExtendedProperties 0x0
#define global CharacteristicUserDescription 0x1
#define global ClientCharacteristicConfiguration 0x2
#define global ServerCharacteristicConfiguration 0x3
#define global CharacteristicFormat 0x4
#define global CharacteristicAggregateFormat 0x5
#define global CustomDescriptor 0x6