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

Data Fields

uint16_t failure
 
uint16_t line_number
 
uint32_t err_code
 
uint8_t message [ERROR_MESSAGE_LENGTH]
 
uint32_t stack_info [STACK_DUMP_LENGTH/4]
 

Detailed Description

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

Field Documentation

uint16_t failure

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

uint16_t line_number

Line number indicating at which line the failure occurred.

uint32_t err_code

Error code when failure occurred.

uint8_t message[ERROR_MESSAGE_LENGTH]

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

uint32_t stack_info[STACK_DUMP_LENGTH/4]

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