enum.Flag) This enum describe the security requirements of a Bluetooth service.
The service does not require any security.
The service requires authorization by the user, unless the device is Authorized-Paired.
The service requires authentication. Device must be paired, and the user is prompted on connection unless the device is Authorized-Paired.
The service requires the communication link to be encrypted. This requires the device to be paired.
The service requires the communication link to be secure. Simple Pairing from Bluetooth 2.1 or greater is required. Legacy pairing is not permitted.
enum.Flag) This enum describes the possible requirements for reading or writing an ATT attribute.
The client needs authorization from the ATT server to access the attribute.
The client needs to be authenticated to access the attribute.
The attribute can only be accessed if the connection is encrypted.