Documentation for esp_err_t values?

Scalpel78
Posts: 51
Joined: Sun Feb 26, 2017 7:31 am

Documentation for esp_err_t values?

Postby Scalpel78 » Tue Feb 28, 2017 10:08 pm

Hi,
this might be a silly question, but where can I find documentation for what the different values for esp_err_t means?

I'm playing around with I2C, and when I do this;

Code: Select all

    portBASE_TYPE timeout = 500 / portTICK_PERIOD_MS;
    error = i2c_master_cmd_begin(I2C_NUM_0, cmd, timeout);

    if (error == 0) //Device responded
    {
      printf("Temperature: ??\n");
    }
    else
    {
      printf("ERROR: %d\n", error);
    }
it prints out "ERROR: 263". And I want to know what 263 means.


Scalpel78
Posts: 51
Joined: Sun Feb 26, 2017 7:31 am

Re: Documentation for esp_err_t values?

Postby Scalpel78 » Tue Feb 28, 2017 10:37 pm

Thanks, so 263 = 0x107 = ESP_ERR_TIMEOUT.

Who is online

Users browsing this forum: Bing [Bot] and 92 guests