This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Understanding error code 0x0000CA05 returned by nrf_tls_input.

  1. According the documentation, the msb 16 bit should identify the module, so why do I get 0000 here?
  2. 0xCA appears to be the module code for the nrf tls interface, as it's module code is IOT_ERR_BASE+0x2A00 = 0xA000+0x2A00 = 0xCA00 (though I'm not sure why I get the module identification in the lsb part of the 32 bit error code). However, I'm not able to get any information on 0x05. The NRF TLS interface error codes are all in the form of 0x004x and the iot common error codes are all added up to 0x0080. How can I find out what the 0x05 stands for?

// Calling tls input and printing error code
uint32_t input_result = 0;
input_result = nrf_tls_input(&tls_instance, data, length);
NRF_LOG_DEBUG("TLS input result: 0x%08x.",input_result);

Parents Reply Children
No Data
Related