example_connect 函数的具体行为和返回值取决于其实现细节,但根据命名和常见用法,我们可以推测它用于建立某种连接(可能是网络连接、数据库连接等)。该函数预期在成功建立连接时返回表示成功的错误码(如 ESP_OK),在连接失败时返回表示错误的错误码。 3. esp_error_check(example_connect())这行代码的执行流程 调用exa...
I (1065) example_connect: Waiting for IP(s) E (2415) HUB: Bad transfer status 1: CHECK_SHORT_DEV_DESC E (2415) HUB: Stage failed: CHECK_SHORT_DEV_DESC I (3815) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0 ...
(from a ESP32 example, but have tried other versions). I have tried multiple libraries sourced from different places but with no success and always the same behavior. I did read that the sensor is better run on 5V so have used a level shifter to allow it to connect to the ESP32. ...
I (1065) example_connect: Waiting for IP(s) E (2415) HUB: Bad transfer status 1: CHECK_SHORT_DEV_DESC E (2415) HUB: Stage failed: CHECK_SHORT_DEV_DESC I (3815) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0 ...
I (1065) example_connect: Waiting for IP(s) E (2415) HUB: Bad transfer status 1: CHECK_SHORT_DEV_DESC E (2415) HUB: Stage failed: CHECK_SHORT_DEV_DESC I (3815) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0 ...
I (1065) example_connect: Waiting for IP(s) E (2415) HUB: Bad transfer status 1: CHECK_SHORT_DEV_DESC E (2415) HUB: Stage failed: CHECK_SHORT_DEV_DESC I (3815) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0 I (3815) wifi:state: ...