Search found 30 matches

by dastoned
Fri Jan 08, 2021 9:38 am
Forum: ESP-IDF
Topic: Garbled Characters in ESP-IDF with MacBook
Replies: 4
Views: 232

Re: Garbled Characters in ESP-IDF with MacBook

The physical USB port doesn't matter. The documentation I linked says that your device will create 2 or 3 virtual serial devices (probably "/dev/cu.usbmodemEPUCK1", "/dev/cu.usbmodemEPUCK2" and "/dev/cu.usbmodemEPUCK3"). They serve different purposes, and you need to open the correct one to see outp...
by dastoned
Thu Jan 07, 2021 9:51 am
Forum: ESP-IDF
Topic: Garbled Characters in ESP-IDF with MacBook
Replies: 4
Views: 232

Re: Garbled Characters in ESP-IDF with MacBook

According to the documentation in https://www.gctronic.com/doc/index.php/ ... ports_used your device creates 2-3 virtual serial ports. You've probably connected to the wrong one. Specifically, try serial device number 2 instead of 3.
by dastoned
Wed Jan 06, 2021 5:25 pm
Forum: ESP-IDF
Topic: ESP32 HTTPS Server Example
Replies: 6
Views: 537

Re: ESP32 HTTPS Server Example

Great, I'm glad you got it :) In reality, this is a bad user experience. When I type in the address "mydevice.local" to my browser, there should be something listening on port 80 which accepts HTTP and immediately redirects to HTTPS/443. This probably requires starting up a second HTTP server. Anywa...
by dastoned
Wed Jan 06, 2021 1:40 pm
Forum: ESP-IDF
Topic: ESP32 HTTPS Server Example
Replies: 6
Views: 537

Re: ESP32 HTTPS Server Example

I've been using the HTTPS server without any problems (after increasing CONFIG_HTTPD_MAX_REQ_HDR_LEN). The error message you're getting seems to indicate that your browser does not attempt to create a TLS connection. What exactly are you typing into the browser's address bar? Does it start with "htt...
by dastoned
Mon Jan 04, 2021 10:32 pm
Forum: General Discussion
Topic: Tools setup - python packages dependency problem?
Replies: 2
Views: 199

Re: Tools setup - python packages dependency problem?

ESP IDF 4.2 needs Python 3, not 2:
https://docs.espressif.com/projects/esp ... setup.html

Go ahead and upgrade your Python.
by dastoned
Sat Dec 19, 2020 10:58 pm
Forum: ESP-IDF
Topic: Connect ESP32 to PostgreSQL database.
Replies: 1
Views: 195

Re: Connect ESP32 to PostgreSQL database.

Sounds like your PostgreSQL server drops the connection to the client. I'd start by looking at the server's logs, possibly after increasing the logging verbosity.
by dastoned
Sat Dec 19, 2020 10:53 pm
Forum: General Discussion
Topic: Need help updating from a v4.1-dirty release to the current clean version of 4.1
Replies: 10
Views: 942

Re: Need help updating from a v4.1-dirty release to the current clean version of 4.1

Yeah, might be the line endings. This comes into play when you open a file in some zombie editor which "helpfully" converts Unix line endings into Windows ones and then saves the changed files. Some editors also clean up trailing whitespace etc. Any change you or your editor make is flagged by git a...
by dastoned
Fri Dec 18, 2020 7:57 pm
Forum: General Discussion
Topic: Need help updating from a v4.1-dirty release to the current clean version of 4.1
Replies: 10
Views: 942

Re: Need help updating from a v4.1-dirty release to the current clean version of 4.1

As the output from git suggests, discarding changes to a file is done with command "git checkout -- <target>". To discard everything in current directory, do "git checkout -- ." Unless you have made changes to ESP IDF source code which you want to keep, perhaps it would be easiest to delete the git ...
by dastoned
Fri Dec 18, 2020 9:12 am
Forum: General Discussion
Topic: Need help updating from a v4.1-dirty release to the current clean version of 4.1
Replies: 10
Views: 942

Re: Need help updating from a v4.1-dirty release to the current clean version of 4.1

Did you actually do a git clone? In such case: git reset --hard git submodule update --init git submodule foreach git reset --hard Proceeded by checking out whatever version you want, presumably the branch "release/v4.1" git checkout -b release/v4.1 origin/release/v4.1 If you downloaded a packaged s...
by dastoned
Thu Dec 17, 2020 2:21 pm
Forum: General Discussion
Topic: where to find FreeRTOS kernel version?
Replies: 3
Views: 325

Re: where to find FreeRTOS kernel version?

Oh, right, there was news that FreeRTOS 10 is coming with 4.3
viewtopic.php?f=10&t=15322

Go to advanced search