Page 1 of 1

Documentation for esp_err_t values?

Posted: Tue Feb 28, 2017 10:08 pm
by Scalpel78
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.

Re: Documentation for esp_err_t values?

Posted: Tue Feb 28, 2017 10:30 pm
by WiFive

Re: Documentation for esp_err_t values?

Posted: Tue Feb 28, 2017 10:37 pm
by Scalpel78
Thanks, so 263 = 0x107 = ESP_ERR_TIMEOUT.