Search found 53 matches

by BrianP
Wed Sep 15, 2021 4:55 pm
Forum: Sample Code
Topic: Fork of Android SimpleBluetoothLeTerminal supporting ESP32 ble_spp_server_demo
Replies: 1
Views: 12723

Fork of Android SimpleBluetoothLeTerminal supporting ESP32 ble_spp_server_demo

I thought people might be interested in this fork of the Android app SimpleBluetoothLeTerminal. https://github.com/BrianAtDocumentedDesigns/SimpleBluetoothLeTerminal It allows you to interact with the ESP32 ble_spp_server_demo. I came across the original because I was looking for open source sample ...
by BrianP
Thu Aug 19, 2021 4:54 pm
Forum: Sample Code
Topic: BLE Client for Windows 10
Replies: 2
Views: 14364

Re: BLE Client for Windows 10

Thanks for the reply!

I'm assembling my hardware at the moment and as soon as I do I'll try and adjust the parameters.
by BrianP
Mon Aug 16, 2021 2:51 pm
Forum: Sample Code
Topic: BLE Client for Windows 10
Replies: 2
Views: 14364

BLE Client for Windows 10

I have managed to write a BLE client for Windows 10 console example. It allows you to exchange data with a device running the ESP32 ble_spp_server example. I believe with modification (changing the UUIDs and devices names) it would likely be useable for other BLE devices as well. Since it is a conso...
by BrianP
Wed Aug 04, 2021 2:02 pm
Forum: ESP-IDF
Topic: ESP32-C3 - Access Built in USB CDC / Serial Port?
Replies: 11
Views: 17424

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

Ah. I get it. In the interim I added int count = 0; char outbuf[100]; while( true ) { DelaySeconds( 5 ); snprintf( outbuf, sizeof(outbuf), "\nHello %d", count++); PrintBlueTooth(outbuf ); } to app_main and count does indeed get reset to 0 when I close the serial terminal so that is the problem right...
by BrianP
Wed Aug 04, 2021 2:12 am
Forum: ESP-IDF
Topic: ESP32-C3 - Access Built in USB CDC / Serial Port?
Replies: 11
Views: 17424

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

I can try but I put a line into the code to add a "Reset" string to be sent via Bluetooth (i.e. Long delay to let me re-pair the link Send out via Bluetooth "Restarted" Loop Send String "Hello Brian" Long Delay End Loop The "Restarted" string is only sent once but I can see if I can verify if there ...
by BrianP
Tue Aug 03, 2021 2:05 pm
Forum: ESP-IDF
Topic: ESP32-C3 - Access Built in USB CDC / Serial Port?
Replies: 11
Views: 17424

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

If I select the config option the default for printf, getchar, etc., is the USB so I don't need the fopen but that is good to know. I thought loss of Bluetooth was connected to printf but just the act of connecting/disconnecting via USB seems to kill the connection. I connect to the ESP via an Andro...
by BrianP
Tue Aug 03, 2021 2:48 am
Forum: ESP-IDF
Topic: ESP32-C3 - Access Built in USB CDC / Serial Port?
Replies: 11
Views: 17424

ESP32-C3 - Access Built in USB CDC / Serial Port?

I know I can configure the ESP32-C3 to use the built-in serial port as console IO. This allows me to use things like printf and getchar. I have looked through the documentation and I can't find the API for the USB CDC serial port. I find this odd since the USB is a peripheral like a UART or I2C port...
by BrianP
Fri Jul 23, 2021 3:33 pm
Forum: IDEs for ESP-IDF
Topic: Updated "How to" Set Up Eclipse for ESP32-C3 Built in JTAG Debugging
Replies: 0
Views: 5171

Updated "How to" Set Up Eclipse for ESP32-C3 Built in JTAG Debugging

The various devs have fixed many of the issues I created workarounds for in an earlier topic. Great work! The fixes are not yet part of esp-idf or the Eclipse plugin so I thought I would provide an updated how to. 1) Download and install esp-idf MASTER branch. Run install and export. Build a project...
by BrianP
Wed Jul 14, 2021 2:50 pm
Forum: Hardware
Topic: JTAG programming ESP32-C3 devKit M
Replies: 2
Views: 3506

Re: JTAG programming ESP32-C3 devKit M

You might find the suggestions here https://www.esp32.com/viewtopic.php?f=40&t=21809 helpful (including how to download a working OpenOCD).
by BrianP
Fri Jul 09, 2021 2:12 pm
Forum: IDEs for ESP-IDF
Topic: Unresolved dependencies - Include path settings
Replies: 2
Views: 3345

Re: Unresolved dependencies - Include path settings

This tends to happen if you change (or sometimes modify) the Run or Debug configuration. Somehow Eclipse ends up with a bad "index" in the build directory and it doesn't know it so re-indexing doesn't fix the issue.

Delete the build directory of the project and do a build all.