Search found 75 matches

by Victoria Nope
Tue Mar 01, 2022 5:33 pm
Forum: ESP-IDF
Topic: source code for esp_wifi_scan_start()
Replies: 3
Views: 3544

Re: source code for esp_wifi_scan_start()

IMHO there is no such. You can find some notes in this thread speaking about ROM content.
by Victoria Nope
Wed Jan 26, 2022 9:01 am
Forum: ESP-IDF
Topic: Get handle of this task?
Replies: 2
Views: 3335

Re: Get handle of this task?

You're looking for the xTaskGetCurrentTaskHandle function.
by Victoria Nope
Tue Dec 21, 2021 8:38 pm
Forum: ESP-IDF
Topic: UART TX Ring Buffer Fill Level
Replies: 3
Views: 5120

Re: UART TX Ring Buffer Fill Level

Would not uart_tx_chars function fit for your needs? According to docs (have not checked the source), it should return immediately when the TX FIFO is full, returning number of bytes enqueued.
by Victoria Nope
Mon Dec 13, 2021 11:41 am
Forum: ESP-IDF
Topic: Choosing flag in bottleneck function: bool or int?
Replies: 3
Views: 6077

Re: Choosing flag in bottleneck function: bool or int?

Coincidentally, how to get ESP32 binary disassembly was one of my first questions in this thread.
by Victoria Nope
Sun Dec 12, 2021 7:23 pm
Forum: ESP-IDF
Topic: Brownout voltage level
Replies: 1
Views: 4475

Re: Brownout voltage level

Where are defined brownout voltage level on esp-idf ? The level is defined by the CONFIG_ESP32_BROWNOUT_DET_LVL_SEL project configuration option. Is it possible to change the default values ? Only for test purpose No, because the voltage levels are fixed in HW by enumeration values of the RTC_CNTL_...
by Victoria Nope
Sun Nov 28, 2021 2:17 pm
Forum: ESP-IDF
Topic: Choosing flag in bottleneck function: bool or int?
Replies: 3
Views: 6077

Re: Choosing flag in bottleneck function: bool or int?

Not an answer, but a note; you may get disassembly by yourself. Because so long you really want the best optimization for your code, you should consult generated assembler code anyway.
by Victoria Nope
Sun Nov 07, 2021 11:12 pm
Forum: ESP-IDF
Topic: how to cancel (stop) a piece of code?
Replies: 2
Views: 2839

Re: how to cancel (stop) a piece of code?

You can use a timer from which you would send the data in turn for each LED with every tick. And such timer you'd then control from button interrupt routine.
by Victoria Nope
Fri Nov 05, 2021 12:13 am
Forum: ESP-IDF
Topic: i2s_adc_dac
Replies: 6
Views: 5480

Re: i2s_adc_dac

and he's telling me to Check the readme file here, but he doesn't tell me where " here " is. It could be inside his house, I don't know. I guess he meant the example's readme (specifically this paragraph , I'd say). If so, it turns you to the same menu item that you've already discovered but could ...
by Victoria Nope
Wed Nov 03, 2021 10:21 pm
Forum: ESP-IDF
Topic: How do I stop a timer?
Replies: 4
Views: 7276

Re: How do I stop a timer?

And I suppose to restart the same timer later when I need it, I'll do: timer_start(TIMER_GROUP_0, TIMER_1); right? That's correct. You may find both methods used e.g. in this example . Any idea why the documentation says: esp_err_t timer_pause(TIMER_GROUP_0, TIMER_1); but in fact we don't need this...
by Victoria Nope
Sun Oct 31, 2021 1:49 am
Forum: ESP-IDF
Topic: "terminated" message
Replies: 7
Views: 4848

Re: "terminated" message

Upload your image to some shareable space and link its URI in the IMG tag in your post. For an example you can follow the forum manual or e.g. this example.

Image