Search found 13 matches

by ESP_tuanpm
Wed Dec 19, 2018 4:10 am
Forum: ESP-IDF 中文讨论版
Topic: 請問一下以 Sample code 為框架的一些開發觀念問題!!
Replies: 10
Views: 655

Re: 請問一下以 Sample code 為框架的一些開發觀念問題!!

Hi YutingLin

Yes, If you want to use esp_http_client you need to include "esp_http_client.h".
Similarly to other libraries, you need to include the header file before use. This is easy to see in the examples.
by ESP_tuanpm
Tue Dec 18, 2018 8:50 am
Forum: ESP-IDF 中文讨论版
Topic: 請問一下以 Sample code 為框架的一些開發觀念問題!!
Replies: 10
Views: 655

Re: 請問一下以 Sample code 為框架的一些開發觀念問題!!

Hi YutingLing,

Could you please provide the error logs after you #include "esp_http_client.h" and compile success?
by ESP_tuanpm
Thu Nov 29, 2018 3:16 am
Forum: General Discussion
Topic: issue in using esp_http_client
Replies: 7
Views: 429

Re: issue in using esp_http_client

I have one http client application which communicates to the Cloud. I use http client API's as follows: 1> esp_http_client_init. 2> esp_http_client_set_header to set the headers. 3> then 'esp_http_client_open' to open the connection. 4> esp_http_client_get_content_length 5> esp_http_client_write 6>...
by ESP_tuanpm
Tue Nov 27, 2018 3:50 am
Forum: General Discussion
Topic: Recommendations for MQTT Library with ESPIDF
Replies: 15
Views: 2713

Re: Recommendations for MQTT Library with ESPIDF

Hi @ESP_tuanpm I think it's not about re-send the failed packet. The esp-mqtt library is *not* thread safe at all. Just think about 2 tasks calling any of esp_mqtt_client_subscribe()/esp_mqtt_client_unsubscribe()/esp_mqtt_client_ping()/ esp_mqtt_client_publish() APIs at the same time on differnct C...
by ESP_tuanpm
Mon Nov 26, 2018 8:56 am
Forum: General Discussion
Topic: Recommendations for MQTT Library with ESPIDF
Replies: 15
Views: 2713

Re: Recommendations for MQTT Library with ESPIDF

Since this post was originally made last year, the esp-mqtt library has been integrated into ESP-IDF. Is the esp-mqtt library thread safe? I don't find locking mechanism in the esp-mqtt library code. So I'm wondering if it is ok to call esp_mqtt_client_publish() in another task? The example code ca...
by ESP_tuanpm
Thu Oct 04, 2018 4:19 pm
Forum: ESP32 ADF
Topic: Failed to run ADF bt_sink demo - keeps resetting.
Replies: 2
Views: 668

Re: Failed to run ADF bt_sink demo - keeps resetting.

Hi @fernando306

Please erase the flash and try again, maybe resolve your problem

Code: Select all

make erase_flash
by ESP_tuanpm
Tue Jul 03, 2018 11:29 am
Forum: ESP32 ADF
Topic: Guru Meditation Error
Replies: 4
Views: 1840

Re: Guru Meditation Error

Hi @jiang123

Could you please help setup gdb debug: http://esp-idf.readthedocs.io/en/latest ... nitor.html

When the reset occurs, it will jump to gdb, then type bt and copy full backtrace information to here

Thanks
by ESP_tuanpm
Fri May 18, 2018 8:28 am
Forum: ESP32 ADF
Topic: pipeline_baidu_speech_mp3 ERROR
Replies: 2
Views: 1012

Re: pipeline_baidu_speech_mp3 ERROR

Hi

I think this problem because the access key is incorrect,
My access key and access secret like the attached picture
by ESP_tuanpm
Fri Apr 27, 2018 2:47 am
Forum: ESP32 ADF
Topic: where could i get more detail about the get-started guide of esp-adf ?
Replies: 2
Views: 992

Re: where could i get more detail about the get-started guide of esp-adf ?

Hi @mksevent32

Please retry to clone ADF project with recursive flag and try compile again:

Code: Select all

git clone --recursive https://github.com/espressif/esp-adf.git

Go to advanced search