Search found 2210 matches

by chegewara
Thu May 20, 2021 9:34 am
Forum: Hardware
Topic: C3 bluetooth
Replies: 1
Views: 2200

C3 bluetooth

I feel a bit confused. I have read that C3 supports only BLE and does not support classic BT, but for some reason documentation still shows API for classic BT:
https://docs.espressif.com/projects/esp ... index.html
Any help with that?
by chegewara
Thu May 20, 2021 5:03 am
Forum: ESP32 Arduino
Topic: BLEDevice::setPower has no effect?
Replies: 8
Views: 10642

Re: BLEDevice::setPower has no effect?

Hi, nice to see you find BLE5 features in arduino useful. For extended advertising you have to set TX power in esp_ble_gap_ext_adv_params_t struct (which was omitted in examples). https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/bluetooth/esp_gap_ble.html#_CPPv428esp_ble_g...
by chegewara
Thu May 20, 2021 4:23 am
Forum: Hardware
Topic: ESP32-C3 Mini Devkit: Configure for Built in USB JTAG?
Replies: 22
Views: 30136

Re: ESP32-C3 Mini Devkit: Configure for Built in USB JTAG?

Is not that you need devkit rev 3 to get USB to JTAG to work? I thought it was broken in older versions.
by chegewara
Thu May 20, 2021 4:15 am
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 39487

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

Yes, it is get configuration descriptor request. http://eleccelerator.com/usbdescreqparser/ This request STALLed: https://github.com/chegewara/esp32s2-usb-host-example/blob/master/main/ctrl_pipe.c#L285-L299 I would try to decrease TRANSFER_DATA_MAX_BYTES, just in case, even if that should not be a p...
by chegewara
Tue May 18, 2021 11:15 am
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 52
Views: 39487

Re: I would like to use USB host on ESP32-S2 in ESP-IDF

- I assume you have the components/usb in there because of your issue #6887, correct? Actually i decided to go this path because esp-idf usb component is not providing header files, they are hidden in private_include. It is kept like that because usb host component is not ready yet (just guessing)....
by chegewara
Thu May 13, 2021 5:34 pm
Forum: ESP32 Arduino
Topic: Problem using BLE scan with WiFi webserver
Replies: 2
Views: 2736

Re: Problem using BLE scan with WiFi webserver

1) use BBCode to format code you are posting to make it easier readable 2) why you init BLE in loop instead of setup? 3) you didnt say what is wrong with your code, what is not working for you 4) i would personally change this code, but it all depends on your needs: pBLEScan->setInterval(189); pBLES...
by chegewara
Wed May 12, 2021 5:11 pm
Forum: ESP-IDF
Topic: Pairing mode on ESP32
Replies: 7
Views: 6946

Re: Pairing mode on ESP32

All depends what security settings you have. I know it works with Kolban's C++ library/arduino BLE library, which is just wrapper around esp-idf.
by chegewara
Tue May 11, 2021 6:58 pm
Forum: ESP-IDF
Topic: Pairing mode on ESP32
Replies: 7
Views: 6946

Re: Pairing mode on ESP32

You have few options how to do it. One option is to return true in ESP_GAP_BLE_SEC_REQ_EVT event if you want to bond with peer device. This can be controlled with button. You have to use any security request params with bonding enabled. Then device will connect next time without need to enter pin co...