63 public static BTSecurityLevel get(
final String name)
throws IllegalArgumentException {
74 case (
byte)0x01:
return NONE;
75 case (
byte)0x02:
return ENC_ONLY;
76 case (
byte)0x03:
return ENC_AUTH;
77 case (
byte)0x04:
return ENC_AUTH_FIPS;
78 default:
return UNSET;
Bluetooth Security Level.
BTSecurityLevel(final byte v)
UNSET
Security Level not set, value 0.
NONE
No encryption and no authentication.
ENC_ONLY
Encryption and no authentication (no MITM).
ENC_AUTH_FIPS
Authenticated Secure Connections.
ENC_AUTH
Encryption and authentication (MITM).