Rtos API example

Embed: (wiki syntax)

« Back to documentation index

GapUnexpectedErrorEvent Struct Reference

GapUnexpectedErrorEvent Struct Reference

Model an unexpected error that happen during a gap procedure. More...

#include <GapEvents.h>

Inherits ble::pal::GapEvent.

Data Fields

const uint16_t opcode
 Opcode composed of the OCF and OGF of the command which has returned an error.
const uint8_t error_code
 Error code.

Detailed Description

Model an unexpected error that happen during a gap procedure.

This class is mainly used to notify user code of an unexpected error returned in an HCI command complete event.

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


Field Documentation

const uint8_t error_code

Error code.

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

const uint16_t opcode

Opcode composed of the OCF and OGF of the command which has returned an error.

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