Search found 14 matches

by OBDave
Tue Dec 24, 2019 10:55 pm
Forum: ESP-IDF
Topic: questions about mutex and critical sections
Replies: 4
Views: 6739

Re: questions about mutex and critical sections

Thanks. I'm aware of this paper. The esp32 is a slightly different animal. Forcing synchronization between the two processors requires a little help from the rtos. Fortunately, that already exists, in the form of the mutex mechanism that was ported from freeRTOS, with modification to make it work pr...
by OBDave
Tue Dec 24, 2019 9:39 pm
Forum: ESP-IDF
Topic: questions about mutex and critical sections
Replies: 4
Views: 6739

questions about mutex and critical sections

I am trying to understand how mutexes are used (and why) in the context of esp32 critical sections. Googling hasn't led me to any clear answer. The examples I've found all seem to either allocate the mutex as a stack variable, or malloc it. Either way, its scope ends up being limited. For example: b...
by OBDave
Sun Nov 10, 2019 12:22 am
Forum: General Discussion
Topic: redirecting printf to ESP_LOGx
Replies: 3
Views: 5047

Re: redirecting printf to ESP_LOGx

Just to follow up (and for anyone who's as lost as me), now that I've tinkered with this I see they don't quite follow the ESP logging convention. They are not routing their calls through ESP_LOGx, so debug levels are not handled in config, like everyone else. Unless I'm missing something, to change...
by OBDave
Sat Nov 09, 2019 10:07 am
Forum: General Discussion
Topic: redirecting printf to ESP_LOGx
Replies: 3
Views: 5047

Re: redirecting printf to ESP_LOGx

Dang, perfect. High five, WiFive! Thanks much.
by OBDave
Fri Nov 08, 2019 8:05 pm
Forum: General Discussion
Topic: redirecting printf to ESP_LOGx
Replies: 3
Views: 5047

redirecting printf to ESP_LOGx

Hello - hopefully this is the right place for this question. It seems the esp-idf Bluetooth library doesn't have much BT/RFCOMM support, so I'm starting to work on a Bluetooth implementation using Blue Kitchen's BTStack. BTStack is a third-party library that supports many hardware platforms, among t...
by OBDave
Sat Sep 14, 2019 4:52 am
Forum: ESP-IDF
Topic: HTTP Authentication fails when using config with username, password entry
Replies: 8
Views: 14349

Re: HTTP Authentication fails when using config with username, password entry

I came here because I was having the same problem, and looked at the library code. It seems that setting .url is treated differently then setting .host and .path. And yeah, commenting out calls to free() probably will end in tears at some point. I really don't understand why this should work, but th...
by OBDave
Wed Jun 05, 2019 8:03 pm
Forum: General Discussion
Topic: simple standalone bootloader suitable for customers / end users?
Replies: 15
Views: 17550

Re: simple standalone bootloader suitable for customers / end users?

@mikemoy - thanks. I sent you a reply.
by OBDave
Tue Jun 04, 2019 2:16 am
Forum: General Discussion
Topic: simple standalone bootloader suitable for customers / end users?
Replies: 15
Views: 17550

Re: simple standalone bootloader suitable for customers / end users?

@mikemoy oh that would be fantastic! Thanks!
by OBDave
Mon Jun 03, 2019 6:43 pm
Forum: General Discussion
Topic: simple standalone bootloader suitable for customers / end users?
Replies: 15
Views: 17550

Re: simple standalone bootloader suitable for customers / end users?

Been banging away at this for awhile and I found this post https://esp32.com/viewtopic.php?t=7685 . No context is given but it seems that the max HTTP request header length had recently been increased from some unknown value to 512. This was a few years ago, and 512 is now the current default value....