ホーム › Devices.Bluetooth › BTH_LE_GATT_DESCRIPTOR_TYPE
BTH_LE_GATT_DESCRIPTOR_TYPE
列挙型メンバー 7
| 名前 | 10進 | 16進 |
|---|---|---|
| CharacteristicExtendedProperties | 0 | 0x0 |
| CharacteristicUserDescription | 1 | 0x1 |
| ClientCharacteristicConfiguration | 2 | 0x2 |
| ServerCharacteristicConfiguration | 3 | 0x3 |
| CharacteristicFormat | 4 | 0x4 |
| CharacteristicAggregateFormat | 5 | 0x5 |
| CustomDescriptor | 6 | 0x6 |
各言語での定義
列挙メンバーの定義。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