nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_error_log_data_t Struct Reference

Error Log Data structure. More...

#include <ble_error_log.h>

Data Fields

uint16_t failure
uint16_t line_number
uint32_t err_code
uint8_t message [128]
uint32_t stack_info [256/4]

Detailed Description

Error Log Data structure.

The structure contains the error, message/filename, line number as well as the current stack, at the time where an error occured.

Field Documentation

uint32_t ble_error_log_data_t::err_code

Error code when failure occurred.

uint16_t ble_error_log_data_t::failure

Indication that a major failure has occurred during last execution of the application.

uint16_t ble_error_log_data_t::line_number

Line number indicating at which line the failure occurred.

uint8_t ble_error_log_data_t::message[128]

Will just use the first 128 bytes of filename to store for debugging purposes.

uint32_t ble_error_log_data_t::stack_info[256/4]

Will contain stack information, can be manually unwinded for debug purposes.