Mistake on this page?
Report an issue in GitHub or email us
Public Types | Public Member Functions
disconnection_reason_t Struct Reference
Ble » Gap

Enumeration of disconnection reasons received in a disconnection event. More...

#include <Types.h>

Inheritance diagram for disconnection_reason_t:
SafeEnum< disconnection_reason_t, uint8_t >

Public Types

typedef uint8_t representation_t
 Type of the representation. More...
 

Public Member Functions

 disconnection_reason_t (type value)
 Construct a new instance of disconnection_reason_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...
 

Detailed Description

Enumeration of disconnection reasons received in a disconnection event.

Definition at line 809 of file Types.h.

Member Typedef Documentation

typedef uint8_t representation_t
inherited

Type of the representation.

Definition at line 113 of file SafeEnum.h.

Member Enumeration Documentation

enum type

enumeration of disconnection_reason_t values.

Enumerator
AUTHENTICATION_FAILURE 

GAP or GATT failed to authenticate the peer.

CONNECTION_TIMEOUT 

The connection timed out.

REMOTE_USER_TERMINATED_CONNECTION 

Connection terminated by the user.

REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES 

Remote device terminated connection due to low resources.

REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF 

Remote device terminated connection due to power off.

LOCAL_HOST_TERMINATED_CONNECTION 

Indicate that the local user or the internal Bluetooth subsystem terminated the connection.

UNACCEPTABLE_CONNECTION_PARAMETERS 

Connection parameters were unacceptable.

Definition at line 811 of file Types.h.

Constructor & Destructor Documentation

Construct a new instance of disconnection_reason_t.

Parameters
valueThe value of the disconnection_reason_t created.

Definition at line 854 of file Types.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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.