Search found 37 matches

by william.ferguson.au
Sun Oct 11, 2020 6:26 am
Forum: ESP-IDF
Topic: Do you need to unregister after esp_websocket_register_events() ?
Replies: 2
Views: 131

Re: Do you need to unregister after esp_websocket_register_events() ?

OK, I've tried closing the socket, changing the WS URI and starting the websocket again, instead of destroying the socket and recreating. But I occasionally get instances of : I (807792) wt_websocket: Not stopping WebSocket as it is not currently connected I (807802) wt_websocket: Connecting to Reco...
by william.ferguson.au
Sat Oct 10, 2020 1:58 am
Forum: ESP-IDF
Topic: Do you need to unregister after esp_websocket_register_events() ?
Replies: 2
Views: 131

Do you need to unregister after esp_websocket_register_events() ?

Having created a WebSocket using char websocket_uri[200]; sprintf(websocket_uri, "ws://%s:%d/websocket", host, port); esp_websocket_client_config_t websocket_cfg = {}; websocket_cfg.uri = websocket_uri; ESP_LOGI(TAG, "Connecting to Recorder Websocket : %s", websocket_uri); ws_client = esp_websocket_...
by william.ferguson.au
Tue Sep 15, 2020 2:11 am
Forum: ESP-IDF
Topic: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"
Replies: 9
Views: 475

Re: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"

OK, I've tried again. I uninstalled ESPIDF Tools I uninstalled Python I removed all ESP entries from my Path I removed all Python entries from my Path. I restarted my computer I changed branch on my esp-idf folder to master and pulled latest I installed esp-idf-tools-setup-2.3.exe (which installed P...
by william.ferguson.au
Mon Sep 14, 2020 8:20 am
Forum: ESP-IDF
Topic: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"
Replies: 9
Views: 475

Re: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"

They haven't been added to the path by esp-idf-tools-setup-2.3.exe. But looking at my path I can see that C:\Users\William\AppData\Local\Programs\Python\Python37\Scripts\ C:\Users\William\AppData\Local\Programs\Python\Python37 are there and are ahead of %PYTHON_HOME%\Scripts\ %PYTHON_HOME% Which I a...
by william.ferguson.au
Mon Sep 14, 2020 7:33 am
Forum: ESP-IDF
Topic: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"
Replies: 9
Views: 475

Re: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"

I do have a file association setup.
It points to C:\Users\William\.espressif\python_env\idf4.1_py3.7_env\Scripts

If I don't have the file association then I can't execute

Code: Select all

idf.py build
by william.ferguson.au
Mon Sep 14, 2020 12:53 am
Forum: ESP-IDF
Topic: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"
Replies: 9
Views: 475

Re: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"

After several more iterations of uninstall/reinstall including upgrading CMake to 3.1, on install,bat I now get E:\Dev\Espressif\esp-idf>.\install.bat Installing ESP-IDF tools Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ...
by william.ferguson.au
Sun Sep 13, 2020 3:23 am
Forum: ESP-IDF
Topic: ESPIDF v4.1 Python requirements not satisfied "click>=5.0"
Replies: 9
Views: 475

ESPIDF v4.1 Python requirements not satisfied "click>=5.0"

I am trying to upgrade from v3.3 to 4.1 and have not been able to. I keep getting : E:\Source\test-project>idf.py build The following Python requirements are not satisfied: click>=5.0 pyserial>=3.0 future>=0.15.2 cryptography>=2.1.4 pyparsing>=2.0.3,<2.4.0 pyelftools>=0.22 esp-windows-curses; sys_pl...
by william.ferguson.au
Sun Sep 29, 2019 12:55 pm
Forum: ESP32 Arduino
Topic: Trying to understand BLEUUID.toString().c_str()
Replies: 0
Views: 629

Trying to understand BLEUUID.toString().c_str()

I got caught up in a bug in BLEUUID where it was chopping off the last 2 chars of the UUID. Have created a fix for that https://github.com/espressif/arduino-esp32/pull/3297 But along the way I became derailed because it appeared that the BLECharacteristic UUID and any BLECharacteristic longer than 1...
by william.ferguson.au
Mon Aug 12, 2019 8:44 pm
Forum: ESP-IDF
Topic: Setting CPPFLAGS with CMake and idf.py
Replies: 5
Views: 2690

Re: Setting CPPFLAGS with CMake and idf.py

Scratch that - clearly need some sleep.

As you indicated above - this works.

Code: Select all

# To pass in the ESP32 CPPFlag
target_compile_definitions(${COMPONENT_TARGET} PUBLIC "-DESP32")

Go to advanced search