Search found 11 matches

by cskilbeck
Tue Apr 23, 2024 7:32 am
Forum: General Discussion
Topic: Wifi provisioning with Security level 2 - confused
Replies: 2
Views: 232

Re: Wifi provisioning with Security level 2 - confused

But the QR code is generated using those values...?
by cskilbeck
Mon Apr 22, 2024 6:48 pm
Forum: General Discussion
Topic: Wifi provisioning with Security level 2 - confused
Replies: 2
Views: 232

Wifi provisioning with Security level 2 - confused

When using Security level 2, a QR code is used for provisioning via a mobile app. I'm confused about this comment in the wifi_prov_mgr sample. #if CONFIG_EXAMPLE_PROV_SEC2_DEV_MODE /* This pop field represents the password that will be used to generate salt and verifier. * The field is present here ...
by cskilbeck
Mon Apr 22, 2024 4:07 pm
Forum: General Discussion
Topic: Get MAC address using espefuse
Replies: 4
Views: 272

Re: Get MAC address using espefuse

Sure, but unless the output format is guaranteed not to change then it could break when the espefuse tool is updated.
by cskilbeck
Mon Apr 22, 2024 2:47 pm
Forum: General Discussion
Topic: Get MAC address using espefuse
Replies: 4
Views: 272

Get MAC address using espefuse

Hi, I can get the MAC address using espefuse but it means extracting it from the output using sed or some similar pattern matching tool. This isn't ideal as the format of the output from espefuse isn't guaranteed. Is there a method to get the MAC address in a more defined way? Thanks, Charlie. For r...
by cskilbeck
Tue Oct 31, 2023 11:53 am
Forum: ESP-IDF
Topic: Change I2C clock speed without reinitializing
Replies: 2
Views: 652

Re: Change I2C clock speed without reinitializing

Thanks for this - I'm not sure I understand what you mean when you say 'set up {two} of them instead of just one' - can you clarify what functions you're calling to do this?
by cskilbeck
Sat Oct 28, 2023 12:09 pm
Forum: ESP-IDF
Topic: Change I2C clock speed without reinitializing
Replies: 2
Views: 652

Change I2C clock speed without reinitializing

I have two I2C devices, one supports 1Mbit, the other supports 400Kbit. I would like to use the fast device at the fast speed but if I initialize the I2C device with `i2c_param_config` at 1Mbit then, when I want to communicate with the slow device I need to change the clock speed to 400Kbit. At the ...
by cskilbeck
Fri Oct 13, 2023 9:58 am
Forum: ESP-IDF
Topic: WiFi factory reset - how to?
Replies: 1
Views: 620

WiFi factory reset - how to?

Is the following code a reasonable way to factory reset the wifi credentials? void wifi_factory_reset() { wifi_config_t blank_config; memset(&blank_config, 0, sizeof(blank_config)); ESP_ERROR_CHECK(esp_wifi_disconnect()); ESP_ERROR_CHECK(esp_wifi_stop()); ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_...
by cskilbeck
Tue Jul 18, 2023 9:04 am
Forum: ESP-IDF
Topic: Adding source folder to project
Replies: 5
Views: 1241

Re: Adding source folder to project

idf.py reconfigure doesn't list the `common` component and gives no warnings CMakeLists.txt doesn't declare a dependency on `common` Is it a supported scenario to have a component that exists outside the project folder? If so, can you explain the recommended way to make it happen? I'm using cmake ve...
by cskilbeck
Sat Jul 15, 2023 11:20 am
Forum: ESP-IDF
Topic: Adding source folder to project
Replies: 5
Views: 1241

Adding source folder to project

I am trying to add a component ('common') to my project ('esp_project') which is in a folder outside the project folder. I have this folder structure: esp_project/ main/ common/ The file esp_project/CMakeFiles.txt contains this cmake_minimum_required(VERSION 3.5) set(EXTRA_COMPONENT_DIRS ../common) ...
by cskilbeck
Wed Dec 11, 2019 11:25 pm
Forum: General Discussion
Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
Replies: 24
Views: 34835

Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used

Correction, the priority is not the issue, for me the solution is pinning the RMT task to core 1