STM32F7 Ethernet interface for nucleo STM32F767

Embed: (wiki syntax)

« Back to documentation index

GapEventType Struct Reference

GapEventType Struct Reference

Enumeration of GAP event types. More...

#include <GapEvents.h>

Inherits SafeEnum< GapEventType, uint8_t >.

Public Types

enum  type {
  UNEXPECTED_ERROR, CONNECTION_COMPLETE, ADVERTISING_REPORT, CONNECTION_UPDATE,
  REMOTE_CONNECTION_PARAMETER_REQUEST, DISCONNECTION_COMPLETE
}

Public Member Functions

uint8_t value () const
 Explicit access to the inner value of the SafeEnum instance.

Friends

bool operator== (SafeEnum lhs, SafeEnum rhs)
 Equal to operator for SafeEnum instances.
bool operator!= (SafeEnum lhs, SafeEnum rhs)
 Not equal to operator for SafeEnum instances.

Detailed Description

Enumeration of GAP event types.

Definition at line 29 of file pal/GapEvents.h.


Member Enumeration Documentation

enum type
Enumerator:
UNEXPECTED_ERROR 

Event type used by GapUnexpectedErrorEvent.

CONNECTION_COMPLETE 

Event type used by GapConnectionCompleteEvent.

ADVERTISING_REPORT 

Event type used by GapAdvertisingReportEvent.

CONNECTION_UPDATE 

Event type used by GapConnectionUpdateEvent.

REMOTE_CONNECTION_PARAMETER_REQUEST 

Event type used by GapRemoteConnectionParameterRequestEvent.

DISCONNECTION_COMPLETE 

Event type used by GapDisconnectionCompleteEvent.

Definition at line 30 of file pal/GapEvents.h.


Member Function Documentation

uint8_t value (  ) const [inherited]

Explicit access to the inner value of the SafeEnum instance.

Definition at line 145 of file SafeEnum.h.


Friends And Related Function Documentation

bool operator!= ( SafeEnum< GapEventType, uint8_t >  lhs,
SafeEnum< GapEventType, uint8_t >  rhs 
) [friend, inherited]

Not equal to operator for SafeEnum 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 138 of file SafeEnum.h.

bool operator== ( SafeEnum< GapEventType, uint8_t >  lhs,
SafeEnum< GapEventType, uint8_t >  rhs 
) [friend, inherited]

Equal to operator for SafeEnum 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 125 of file SafeEnum.h.