Search found 64 matches

by kurtzweber
Fri Jun 09, 2017 11:46 am
Forum: General Discussion
Topic: Socket.io (Websocket) Client Example
Replies: 6
Views: 19723

Re: Socket.io (Websocket) Client Example

Hi just note that websocket and socket.io are different things... you cannot connect to a socket.io server using a "generic" websocket client: https://en.wikipedia.org/wiki/Socket.IO so if your goal is to implement a connection from ESP32 to a Socket.IO server you have to implement the full "socket....
by kurtzweber
Fri Jun 09, 2017 7:55 am
Forum: General Discussion
Topic: Get data from ESP32 using I2S
Replies: 3
Views: 5795

Re: Get data from ESP32 using I2S

Hi I suppose in the title you meant "i2c" and not "i2s"... anyway if I undestood correctly your question: sensors --(i2c)--> esp32 --(???)--> raspberry there are a lot of different ways to make the esp32 chip "talk" with your raspberry... personally I'd use MQTT, installing an MQTT broker (Mosquitto...
by kurtzweber
Thu Jun 01, 2017 1:37 pm
Forum: ESP-IDF
Topic: mbedTLS server mode
Replies: 8
Views: 13234

Re: mbedTLS server mode

Hi and thanks for your reply!

At the moment I'm working in blocking mode... I also sent a message to mbedTLS support forum with the full trace:
https://tls.mbed.org/discussions/generi ... erver-mode
by kurtzweber
Thu Jun 01, 2017 1:06 pm
Forum: ESP-IDF
Topic: mbedTLS server mode
Replies: 8
Views: 13234

mbedTLS server mode

Hello! I'm working on a project using mbedTLS in server mode (MBEDTLS_SSL_IS_SERVER). I found this example from the official github repo: https://github.com/ARMmbed/mbedtls/blob/master/programs/ssl/ssl_pthread_server.c and I'm adapting it for esp-idf... at the moment to keep it simple I'm not workin...
by kurtzweber
Thu Jun 01, 2017 12:58 pm
Forum: General Discussion
Topic: http post in https_request example
Replies: 10
Views: 22321

Re: http post in https_request example

Hi

use a tool like Fiddler or some browser extensions to "sniff" the real request the browser send and implement the same in your code
by kurtzweber
Thu Jun 01, 2017 9:04 am
Forum: General Discussion
Topic: http post in https_request example
Replies: 10
Views: 22321

Re: http post in https_request example

Reeshma give a look to the HTTP protocol specs: https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html Request = Request-Line ; Section 5.1 *(( general-header ; Section 4.5 | request-header ; Section 5.3 | entity-header ) CRLF) ; Section 7.1 CRLF [ message-body ] ; Section 4.3 you have to put all th...
by kurtzweber
Tue May 30, 2017 8:10 am
Forum: General Discussion
Topic: Any Database connect (odbc like) ?
Replies: 3
Views: 6521

Re: Any Database connect (odbc like) ?

Is there some ESP32 available API, similar to Windows ODBC, to access any databases ? Tks Hi Renato ODBC is an interface that allows a programmer to connect to a DBMS without learning its specific protocol. It works because of the DBMS vendor provides a client "driver" that implements the protocol....
by kurtzweber
Tue May 23, 2017 8:58 am
Forum: General Discussion
Topic: Setting up Development Toolchain for ESP32
Replies: 17
Views: 22398

Re: Setting up Development Toolchain for ESP32

No, you must run minigw32.exe as explained in the guide:

http://esp-idf.readthedocs.io/en/latest ... setup.html

Check it Out
Open an MSYS2 terminal window by running C:\msys32\mingw32.exe. The environment in this window is a bash shell.
by kurtzweber
Tue May 23, 2017 6:45 am
Forum: General Discussion
Topic: Setting up Development Toolchain for ESP32
Replies: 17
Views: 22398

Re: Setting up Development Toolchain for ESP32

Hi

make sure to run "minigw32.exe" (or 64) and not "msys2.exe"
by kurtzweber
Tue May 09, 2017 7:19 pm
Forum: General Discussion
Topic: sys/termios.h missing
Replies: 0
Views: 3123

sys/termios.h missing

Hi! I'm trying to use an external library that requires thermios.h... The include folder of newlib does contain the header file, but it only links to the same file in /sys folder: https://github.com/espressif/esp-idf/blob/master/components/newlib/include/termios.h but the file is missing... do you k...