Search found 45 matches

by kbaud1
Thu Jul 18, 2019 1:59 pm
Forum: General Discussion
Topic: 2 COM ports in Windows when Bluetooth SPP connects
Replies: 3
Views: 130

Re: 2 COM ports in Windows when Bluetooth SPP connects

Thank you for the link. So it appears to be normal. I will need to figure out how the application will know which port to use since it varies from connection to connection. I could test both, might be able to find a register value, etc.
by kbaud1
Tue Jul 16, 2019 5:26 pm
Forum: General Discussion
Topic: Bluetooth SPP stops after ~150 bytes
Replies: 0
Views: 49

Bluetooth SPP stops after ~150 bytes

I am using the ESP32 to communicate with my Windows 10 PC via a Bluetooth classic SPP profile. This creates a com port in windows. I then wrote a simple program on the windows side that tests the connection through the serial port. However, after a 100 bytes or so, the connection freezes. I have to ...
by kbaud1
Tue Jul 16, 2019 4:39 pm
Forum: General Discussion
Topic: 2 COM ports in Windows when Bluetooth SPP connects
Replies: 3
Views: 130

Re: 2 COM ports in Windows when Bluetooth SPP connects

I did notice that under "Bluetooth settings" in windows, one port is listed at incoming and one is listed as outgoing. but when I connect to the correct port (whichever one it is at that time), I can send and receive. how to only get one port? the "outgoing" port seems to be the one that works. but ...
by kbaud1
Tue Jul 16, 2019 3:48 pm
Forum: General Discussion
Topic: 2 COM ports in Windows when Bluetooth SPP connects
Replies: 3
Views: 130

2 COM ports in Windows when Bluetooth SPP connects

When I connect the ESP32 to my PC, I see 2 com ports in windows. I searched online for an answer. Found some examples but they showed two com ports as well. One of the ports (which one changes randomly) does not work. You have to try both. The 2 ports show up in windows device manager and at the com...
by kbaud1
Wed Jun 26, 2019 6:14 pm
Forum: General Discussion
Topic: Bluetooth classic SPP port to Windows COM port
Replies: 1
Views: 705

Re: Bluetooth classic SPP port to Windows COM port

It's been about a year since I posted this. Does anyone know of a working example in Windows?
by kbaud1
Fri Apr 26, 2019 3:51 pm
Forum: General Discussion
Topic: stack overflow while using multiple UARTs
Replies: 7
Views: 433

Re: stack overflow while using multiple UARTs

printf("%.20s\n",(const char *)data); works. Thanks. It does insert occasional new lines that are not necessary:
1267

1264
1264
1264
12
64
1264
1264
1264

1267
1264
1264

1267
by kbaud1
Thu Apr 25, 2019 8:00 pm
Forum: General Discussion
Topic: stack overflow while using multiple UARTs
Replies: 7
Views: 433

Re: stack overflow while using multiple UARTs

Good idea. I changed it to 4096. This changed the behavior although it is erratic. Sometimes now it will print ~100 readings before crashing while other times it just crashes right away. I (360) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. UART test 1264 ...
by kbaud1
Thu Apr 25, 2019 6:04 pm
Forum: General Discussion
Topic: stack overflow while using multiple UARTs
Replies: 7
Views: 433

stack overflow while using multiple UARTs

I am getting a stack overflow error when I try to display to the monitor ("make monitor") data received on UART 1 or 2. I am wondering if this is related to the the buffer sync problem (https://github.com/espressif/arduino-esp32/pull/1849) or is there something else I am missing? /* UART Echo Exampl...
by kbaud1
Wed Apr 04, 2018 1:54 pm
Forum: General Discussion
Topic: pins available on the WROOM 32
Replies: 2
Views: 1119

Re: pins available on the WROOM 32

Added asterisks.
by kbaud1
Wed Apr 04, 2018 12:07 am
Forum: General Discussion
Topic: pins available on the WROOM 32
Replies: 2
Views: 1119

pins available on the WROOM 32

Ok, didn't find a handy list anywhere so made my own: GPIO 0* 1 2* 3 4* 5* 6-11 are used by SPI flash exclusively 12* 13 14 15* 16 17 18 19 20 is not there 21 22 23 24 is not there 25 26 27 28-31 is not there 32 33 total GPIO: 22 pins GPI (input only) 34 35 36 37 not on WROOM 38 not on WROOM 39 Tota...

Go to advanced search