Search found 52 matches

by kbaud1
Mon Mar 19, 2018 2:10 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

Already bought the book (see first post in this thread). It is helpful.
by kbaud1
Sun Mar 18, 2018 11:16 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

That did it! Thank you Kolban!

Not familiar with "virtual coffee". How about paypal instead?

Peter
by kbaud1
Sat Mar 17, 2018 11:34 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

I have tried other code examples with the same result. also updated the IDF to latest. installed wireshark. here's what happens once the client and listener find each other: 688 103.012844 192.168.0.34 192.168.0.52 TCP 60 7777 → 52319 [RST, ACK] Seq=1 Ack=1 Win=5744 Len=0 689 103.514148 192.168.0.52...
by kbaud1
Sat Mar 17, 2018 1:43 am
Forum: General Discussion
Topic: Bluetooth classic SPP port to Windows COM port
Replies: 1
Views: 948

Bluetooth classic SPP port to Windows COM port

I have been uses the bt examples in the IDF: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth Got several to work. can connect to them with my phone and pair with them in Windows. however, even if I manually add a comm port it will not connect to the SPP devices in Windows. How is...
by kbaud1
Tue Mar 13, 2018 4:51 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

serial logs of connections (or attempts) with PC... AP and beServer = 1 (softAP acting as listening server) $ make monitor MONITOR --- idf_monitor on com10 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_...
by kbaud1
Tue Mar 13, 2018 4:36 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

Of course I am using android :roll: Downloaded the tcp tools (nice app) and it connected fine while esp was in client mode (softAP). error in server mode is "connection error:control port or ip address".
by kbaud1
Tue Mar 13, 2018 3:40 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

when is it a softAP, the esp32 has a 192.168.4.1 address and the first connecting station is 4.2 when in station mode, the esp32 has a 192.168.0.34 address and the remote is at 0.52 here's the full code: #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos...
by kbaud1
Tue Mar 13, 2018 3:06 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

oh, another thing, the port is fine when in client mode (station and softAP modes). It is just this listening mode that is not working.
by kbaud1
Tue Mar 13, 2018 2:29 pm
Forum: General Discussion
Topic: listening server
Replies: 20
Views: 4894

Re: listening server

Thank you again Kolban for looking at this. I have tried everything I can think of. Bumped stack sizes to 4096. Tried it again this time in softAP mode (bypassing my router). Same thing, "connection actively refused". Verified that windows has that port open. I have a log message right before the ac...
by kbaud1
Mon Mar 12, 2018 10:16 pm
Forum: General Discussion
Topic: using pulse counter to read optical (quadrature) decoder?
Replies: 4
Views: 3530

using pulse counter to read optical (quadrature) decoder?

Does anyone know an example of using the pulse counter peripheral as a quadrature decoder?

http://esp-idf.readthedocs.io/en/v3.0-r ... /pcnt.html