Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

io_capability_t Struct Reference

io_capability_t Struct Reference

Type that describe the IO capability of a device; it is used during Pairing Feature exchange. More...

#include <BLETypes.h>

Inherits SafeEnum< io_capability_t, uint8_t >.

Public Types

typedef uint8_t representation_t
 Type of the representation.

Public Member Functions

 io_capability_t (type value)
 Construct a new instance of io_capability_t.
uint8_t value () const
 Explicit access to the inner value of the SafeEnum instance.
const uint8_t * storage () const
 Return a pointer to the inner storage.

Friends

bool operator== (io_capability_tlhs, io_capability_trhs)
 Equal to operator for Target instances.
bool operator!= (io_capability_tlhs, io_capability_trhs)
 Not equal to operator for Target instances.
bool operator< (io_capability_tlhs, io_capability_trhs)
 Less than operator for Target instances.
bool operator<= (io_capability_tlhs, io_capability_trhs)
 Less than or equal to operator for Target instances.
bool operator> (io_capability_tlhs, io_capability_trhs)
 Greater than operator for Target instances.
bool operator>= (io_capability_tlhs, io_capability_trhs)
 Greater than or equal to operator for Target instances.

Detailed Description

Type that describe the IO capability of a device; it is used during Pairing Feature exchange.

Definition at line 216 of file BLETypes.h.


Member Typedef Documentation

typedef uint8_t representation_t [inherited]

Type of the representation.

Definition at line 113 of file SafeEnum.h.


Constructor & Destructor Documentation

io_capability_t ( type  value )

Construct a new instance of io_capability_t.

Definition at line 228 of file BLETypes.h.


Member Function Documentation

const uint8_t * storage (  ) const [inherited]

Return a pointer to the inner storage.

Definition at line 209 of file SafeEnum.h.

uint8_t value (  ) const [inherited]

Explicit access to the inner value of the SafeEnum instance.

Definition at line 202 of file SafeEnum.h.


Friends And Related Function Documentation

bool operator!= ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Not equal to operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs and rhs are not equal and false otherwise.

Definition at line 144 of file SafeEnum.h.

bool operator< ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Less than operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs is less than rhs and false otherwise.

Definition at line 156 of file SafeEnum.h.

bool operator<= ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Less than or equal to operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs is less than or equal to rhs and false otherwise.

Definition at line 169 of file SafeEnum.h.

bool operator== ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Equal to operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs and rhs are equal and false otherwise.

Definition at line 131 of file SafeEnum.h.

bool operator> ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Greater than operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs is greater than rhs; false otherwise.

Definition at line 182 of file SafeEnum.h.

bool operator>= ( io_capability_t  lhs,
io_capability_t  rhs 
) [friend, inherited]

Greater than or equal to operator for Target instances.

Parameters:
lhsleft hand side of the comparison
rhsright hand side of the comparison
Returns:
true if the inner value of lhs is greater than or equal to rhs; false otherwise.

Definition at line 195 of file SafeEnum.h.