ホーム › Devices.Bluetooth › AUTHENTICATION_REQUIREMENTS
AUTHENTICATION_REQUIREMENTS
列挙型メンバー 7
| 名前 | 10進 | 16進 |
|---|---|---|
| MITMProtectionNotRequired | 0 | 0x0 |
| MITMProtectionRequired | 1 | 0x1 |
| MITMProtectionNotRequiredBonding | 2 | 0x2 |
| MITMProtectionRequiredBonding | 3 | 0x3 |
| MITMProtectionNotRequiredGeneralBonding | 4 | 0x4 |
| MITMProtectionRequiredGeneralBonding | 5 | 0x5 |
| MITMProtectionNotDefined | 255 | 0xFF |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum AUTHENTICATION_REQUIREMENTS : int {
MITMProtectionNotRequired = 0,
MITMProtectionRequired = 1,
MITMProtectionNotRequiredBonding = 2,
MITMProtectionRequiredBonding = 3,
MITMProtectionNotRequiredGeneralBonding = 4,
MITMProtectionRequiredGeneralBonding = 5,
MITMProtectionNotDefined = 255
} AUTHENTICATION_REQUIREMENTS;public enum AUTHENTICATION_REQUIREMENTS : int
{
MITMProtectionNotRequired = 0,
MITMProtectionRequired = 1,
MITMProtectionNotRequiredBonding = 2,
MITMProtectionRequiredBonding = 3,
MITMProtectionNotRequiredGeneralBonding = 4,
MITMProtectionRequiredGeneralBonding = 5,
MITMProtectionNotDefined = 255,
}Public Enum AUTHENTICATION_REQUIREMENTS As Integer
MITMProtectionNotRequired = 0
MITMProtectionRequired = 1
MITMProtectionNotRequiredBonding = 2
MITMProtectionRequiredBonding = 3
MITMProtectionNotRequiredGeneralBonding = 4
MITMProtectionRequiredGeneralBonding = 5
MITMProtectionNotDefined = 255
End Enumimport enum
class AUTHENTICATION_REQUIREMENTS(enum.IntEnum):
MITMProtectionNotRequired = 0
MITMProtectionRequired = 1
MITMProtectionNotRequiredBonding = 2
MITMProtectionRequiredBonding = 3
MITMProtectionNotRequiredGeneralBonding = 4
MITMProtectionRequiredGeneralBonding = 5
MITMProtectionNotDefined = 255// AUTHENTICATION_REQUIREMENTS
pub const MITMProtectionNotRequired: i32 = 0;
pub const MITMProtectionRequired: i32 = 1;
pub const MITMProtectionNotRequiredBonding: i32 = 2;
pub const MITMProtectionRequiredBonding: i32 = 3;
pub const MITMProtectionNotRequiredGeneralBonding: i32 = 4;
pub const MITMProtectionRequiredGeneralBonding: i32 = 5;
pub const MITMProtectionNotDefined: i32 = 255;// AUTHENTICATION_REQUIREMENTS
const (
MITMProtectionNotRequired int32 = 0
MITMProtectionRequired int32 = 1
MITMProtectionNotRequiredBonding int32 = 2
MITMProtectionRequiredBonding int32 = 3
MITMProtectionNotRequiredGeneralBonding int32 = 4
MITMProtectionRequiredGeneralBonding int32 = 5
MITMProtectionNotDefined int32 = 255
)const
MITMProtectionNotRequired = 0;
MITMProtectionRequired = 1;
MITMProtectionNotRequiredBonding = 2;
MITMProtectionRequiredBonding = 3;
MITMProtectionNotRequiredGeneralBonding = 4;
MITMProtectionRequiredGeneralBonding = 5;
MITMProtectionNotDefined = 255;// AUTHENTICATION_REQUIREMENTS
pub const MITMProtectionNotRequired: i32 = 0;
pub const MITMProtectionRequired: i32 = 1;
pub const MITMProtectionNotRequiredBonding: i32 = 2;
pub const MITMProtectionRequiredBonding: i32 = 3;
pub const MITMProtectionNotRequiredGeneralBonding: i32 = 4;
pub const MITMProtectionRequiredGeneralBonding: i32 = 5;
pub const MITMProtectionNotDefined: i32 = 255;const
MITMProtectionNotRequired* = 0
MITMProtectionRequired* = 1
MITMProtectionNotRequiredBonding* = 2
MITMProtectionRequiredBonding* = 3
MITMProtectionNotRequiredGeneralBonding* = 4
MITMProtectionRequiredGeneralBonding* = 5
MITMProtectionNotDefined* = 255enum AUTHENTICATION_REQUIREMENTS : int {
MITMProtectionNotRequired = 0,
MITMProtectionRequired = 1,
MITMProtectionNotRequiredBonding = 2,
MITMProtectionRequiredBonding = 3,
MITMProtectionNotRequiredGeneralBonding = 4,
MITMProtectionRequiredGeneralBonding = 5,
MITMProtectionNotDefined = 255,
}#define global MITMProtectionNotRequired 0x0
#define global MITMProtectionRequired 0x1
#define global MITMProtectionNotRequiredBonding 0x2
#define global MITMProtectionRequiredBonding 0x3
#define global MITMProtectionNotRequiredGeneralBonding 0x4
#define global MITMProtectionRequiredGeneralBonding 0x5
#define global MITMProtectionNotDefined 0xFF