Search found 1976 matches

by WiFive
Mon Oct 15, 2018 7:15 am
Forum: ESP32 IDF
Topic: strings in queue
Replies: 9
Views: 115

Re: strings in queue

XQueueReceive

You also have to free the allocated string
by WiFive
Mon Oct 15, 2018 7:07 am
Forum: ESP32 IDF
Topic: strings in queue
Replies: 9
Views: 115

Re: strings in queue

Receive an item from a queue without removing the item from the queue.


https://www.freertos.org/xQueuePeek.html
by WiFive
Mon Oct 15, 2018 6:51 am
Forum: General Discussion
Topic: UART as wake-up source in Light sleep mode
Replies: 19
Views: 615

Re: UART as wake-up source in Light sleep mode

The example docs are out of date

https://github.com/espressif/esp-idf/bl ... #L293-L295

Also notice how console example uses ref_tick as uart clock
by WiFive
Sun Oct 14, 2018 9:50 am
Forum: General Discussion
Topic: WiFi scanning procedure without AP to connect to
Replies: 1
Views: 69

Re: WiFi scanning procedure without AP to connect to

Don't put esp_wifi_connect() in your event handler under SYSTEM_EVENT_STA_START
by WiFive
Sun Oct 14, 2018 4:51 am
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 7
Views: 199

Re: File upload using socket succeeds but not with esp_http_client

Code: Select all

esp_http_client_write(client, buffer, ret);
by WiFive
Sat Oct 13, 2018 10:16 pm
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 7
Views: 199

Re: File upload using socket succeeds but not with esp_http_client

Code: Select all

esp_http_client_write(client, buffer, MAX_HTTP_RECV_BUFFER);
by WiFive
Sat Oct 13, 2018 4:28 am
Forum: General Discussion
Topic: GPIO as trigger source for wake-up sleep mode,When the wake-up event is triggered, get the pin number is 0.
Replies: 3
Views: 114

Re: GPIO as trigger source for wake-up sleep mode,When the wake-up event is triggered, get the pin number is 0.

If you have 3 trigger pins ALL_LOW means all 3 pins have to be low at the same time to wake up, you can't tell in which order they went low. There is no setting for ANY_LOW.
by WiFive
Fri Oct 12, 2018 7:52 am
Forum: General Discussion
Topic: UART as wake-up source in Light sleep mode
Replies: 19
Views: 615

Re: UART as wake-up source in Light sleep mode

Did you use default pin gpio3? Try console example.
by WiFive
Fri Oct 12, 2018 5:46 am
Forum: ESP32 IDF
Topic: encryption is working on one device not other
Replies: 28
Views: 787

Re: encryption is working on one device not other

@ESP_Angus thanks for the useful info why does BLK3_PART_RESERVE auto select 3/4? There's no technical reason for this. The two changes are unrelated apart from the fact they were applied at the same time, and have been removed at the same time. Well the TRM says When the value of BLK3_part_reserve ...