Search found 1546 matches

by chegewara
Sat Jun 12, 2021 7:59 pm
Forum: ESP-IDF
Topic: Update 'adv_data_raw' in my BLE ADV application
Replies: 3
Views: 135

Re: Update 'adv_data_raw' in my BLE ADV application

Why not update adv_raw_data in app_main or any other place you want? Maybe you will need to add some flag in events, that will tell you when you can setup advertising first time, but i believe you can try without it. because Im using the esp_ble_gap_config_adv_data_raw() function, and its a blockin...
by chegewara
Sat Jun 12, 2021 12:40 am
Forum: ESP-IDF
Topic: Update 'adv_data_raw' in my BLE ADV application
Replies: 3
Views: 135

Re: Update 'adv_data_raw' in my BLE ADV application

Why not update adv_raw_data in app_main or any other place you want?
Maybe you will need to add some flag in events, that will tell you when you can setup advertising first time, but i believe you can try without it.
by chegewara
Thu Jun 10, 2021 4:56 pm
Forum: ESP-IDF
Topic: How to set random static address using controller_vhci_ble_adv example?
Replies: 3
Views: 246

Re: How to set random static address using controller_vhci_ble_adv example?

The above API is required to enable random addressing on BLE in normal usage. I dont know how it works with VHCI.
by chegewara
Thu Jun 10, 2021 11:17 am
Forum: ESP-IDF
Topic: How to set random static address using controller_vhci_ble_adv example?
Replies: 3
Views: 246

Re: How to set random static address using controller_vhci_ble_adv example?

https://github.com/espressif/esp-idf/blob/1cb31e50943bb757966ca91ed7f4852692a5b0ed/examples/bluetooth/bluedroid/ble/gatt_security_client/tutorial/Gatt_Security_Client_Example_Walkthrough.md#configuring-local-privacy-of-the-security-client https://docs.espressif.com/projects/esp-idf/en/latest/esp32/a...
by chegewara
Thu Jun 10, 2021 10:26 am
Forum: Showcase
Topic: Yet another USB example (hid host)
Replies: 1
Views: 465

Re: Yet another USB example

Its me again,
this time it is only announcement of esp32S2 USB host library that is working on arduino, but should be compatible with esp-idf:
https://github.com/chegewara/esp32S2-usb-host-library
by chegewara
Wed Jun 09, 2021 3:06 pm
Forum: ESP32 Arduino
Topic: How to upload "data" to an ESP32 under Arduino 2.0
Replies: 7
Views: 519

Re: How to upload "data" to an ESP32 under Arduino 2.0

so my only options are LittleFS and FFat. Anything available for those? There is another way, but very hacky and not elegant and can be used with SPIFFS and FFat. Steps: - use arduino-esp32 v1.0.x to flash data using plugin, you can use empty schetch to do it, - use esptool to dump that partition t...
by chegewara
Wed Jun 09, 2021 10:51 am
Forum: ESP32 Arduino
Topic: How to upload "data" to an ESP32 under Arduino 2.0
Replies: 7
Views: 519

Re: How to upload "data" to an ESP32 under Arduino 2.0

1. command line tool great idea. Which one? spiffsgen.py https://github.com/espressif/esp-idf/tree/master/examples/storage/spiffsgen https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spiffs.html Then you can flash with esptool or with flash download tool on windows.
by chegewara
Wed Jun 09, 2021 1:13 am
Forum: Hardware
Topic: ESP32 won't Boot after pulling GPIO12 up in program
Replies: 2
Views: 272

Re: ESP32 won't Boot after pulling GPIO12 up in program

From your question we can assume you are having connected some device or peripheral to pin GPIO 12.
This is important that you should read then:
https://github.com/espressif/esptool/wi ... -Selection
by chegewara
Tue Jun 08, 2021 9:10 pm
Forum: ESP-IDF
Topic: I would like to use USB host on ESP32-S2 in ESP-IDF
Replies: 51
Views: 6527

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

But for now I would like to know if there is a special reason why you used a Descriptor Index of 1. It's not clear to me what it does. SET_CONFIGURATION When the host has got all the information it requires it loads a driver for the device based on the VID/PID combination in the device descriptor, ...
by chegewara
Tue Jun 08, 2021 6:29 pm
Forum: ESP-IDF
Topic: OTA failed : "image at 0x180000 has invalid magic byte error" in Secure boot Flash encryption
Replies: 3
Views: 349

Re: OTA failed : "image at 0x180000 has invalid magic byte error" in Secure boot Flash encryption

You have few not related issues here: 1) partition ota1 is only 200kB is size, i doubt you have any app that will fit it, especially AWSFreeRTOS app 2) for some reason your app is trying to flash at offset 1286144, which is incorrect (not 4 bytes aligned) and you should ask on AWS github repo E (552...

Go to advanced search