Mbed OS Reference
|
Security requirement that can be attached to an attribute operation. More...
#include <BLETypes.h>
Public Types | |
enum | type { NONE , UNAUTHENTICATED , AUTHENTICATED , SC_AUTHENTICATED } |
struct scoped enum wrapped by the class More... | |
typedef uint8_t | representation_t |
Type of the representation. More... | |
Public Member Functions | |
att_security_requirement_t (type value) | |
Construct a new instance of att_security_requirement_t. More... | |
uint8_t | value () const |
Explicit access to the inner value of the SafeEnum instance. More... | |
const uint8_t * | storage () const |
Return a pointer to the inner storage. More... | |
Static Public Attributes | |
static const uint8_t | size = 2 |
Number of bits required to store the value. More... | |
Security requirement that can be attached to an attribute operation.
Definition at line 523 of file common/BLETypes.h.
|
inherited |
Type of the representation.
Definition at line 115 of file common/SafeEnum.h.
enum type |
struct scoped enum wrapped by the class
Enumerator | |
---|---|
NONE | The operation does not have security requirements. It is equivalent to: SecurityMode 1 level 1: No authentication, no encryption and no signing required.
|
UNAUTHENTICATED | The operation requires security and there's no requirement towards peer authentication.
|
AUTHENTICATED | The operation requires security and the peer must be authenticated.
|
SC_AUTHENTICATED | The operation require encryption with an authenticated peer that paired using secure connection pairing.
|
Definition at line 533 of file common/BLETypes.h.
att_security_requirement_t | ( | type | value | ) |
Construct a new instance of att_security_requirement_t.
Definition at line 584 of file common/BLETypes.h.
|
inherited |
Explicit access to the inner value of the SafeEnum instance.
Definition at line 204 of file common/SafeEnum.h.
|
inherited |
Return a pointer to the inner storage.
Definition at line 211 of file common/SafeEnum.h.
|
static |
Number of bits required to store the value.
This value can be used to define a bitfield that host a value of this enum.
Definition at line 530 of file common/BLETypes.h.