Search found 913 matches

by chegewara
Sun Jan 19, 2020 3:26 pm
Forum: ESP32 IDF
Topic: gatt server attr table notify and read not working
Replies: 2
Views: 79

Re: gatt server attr table notify and read not working

Hi, I used the example from here: https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/gatts_table_creat_demo.c Everything works fine but when I want a service to be READ and NOTIFY, I get an error 13 on my mobile app. From the example cha...
by chegewara
Sun Jan 19, 2020 3:16 pm
Forum: ESP32 IDF
Topic: vApplicationStackOverflowHook with custom partitioning and 4MB flash size
Replies: 3
Views: 99

Re: vApplicationStackOverflowHook with custom partitioning and 4MB flash size

***ERROR*** A stack overflow in task main has been detected.
Try to increase main task stack in menuconfig.
by chegewara
Sat Jan 18, 2020 9:35 am
Forum: IDEs for ESP-IDF
Topic: Be Warned, New VS Code Ext. along side other ESP-IDF versions
Replies: 11
Views: 680

Re: Be Warned, New VS Code Ext. along side other ESP-IDF versions

Another bonus, i am using AWSFreeRTOS and i can use espressif plugin to flash and monitor app by using icons at bottom, assuming project is build from CLI.
by chegewara
Fri Jan 17, 2020 11:56 am
Forum: ESP32 IDF
Topic: ESP-IDF used as Submodule like ESP-ADF
Replies: 6
Views: 407

Re: ESP-IDF used as Submodule like ESP-ADF

Ok, ive been overthinking it, but it is very simple. I am using PIO and from PIO terminal i had to do this:

Code: Select all

. ./esp-idf/export.sh
idf.py build
It was with esp-idf v3.3 as submodule described earlier.

PS no changes needed in CMakeLists.txt i mentioned earlier, just forget it
by chegewara
Fri Jan 17, 2020 3:25 am
Forum: General Discussion
Topic: BLE: Change advertised name during runtime?
Replies: 1
Views: 293

Re: BLE: Change advertised name during runtime?

Looks like there is no option in library, but you can call esp_ble_gap_set_device_name anytime to set new name, then restart advertising.
by chegewara
Wed Jan 15, 2020 12:14 am
Forum: ESP32 IDF
Topic: ESP-IDF used as Submodule like ESP-ADF
Replies: 6
Views: 407

Re: ESP-IDF used as Submodule like ESP-ADF

https://github.com/espressif/esp-adf/bl ... .txt#L6-L8

I didnt try it yet, but i believe you need to set IDF_PATH without if, just this line:

Code: Select all

set(ENV{IDF_PATH} "${PROJECT_PATH}/esp-idf/")
set(EXTRA_COMPONENT_DIRS ${PROJECT_PATH}/components)
by chegewara
Tue Jan 14, 2020 8:40 am
Forum: ESP32 IDF
Topic: ESP-IDF used as Submodule like ESP-ADF
Replies: 6
Views: 407

Re: ESP-IDF used as Submodule like ESP-ADF

1) create project and git init 2) ad esp-idf as submodule https://stackoverflow.com/questions/42039633/how-do-i-mount-one-github-repository-as-a-subfolder-of-another-repository 3) go to esp-idf and git commit to version you want 4) git add . & git push https://github.com/chegewara/commit-test Rememb...
by chegewara
Mon Jan 13, 2020 7:05 pm
Forum: IDEs for ESP-IDF
Topic: Be Warned, New VS Code Ext. along side other ESP-IDF versions
Replies: 11
Views: 680

Re: Be Warned, New VS Code Ext. along side other ESP-IDF versions

This makes me wonder when using a PC how are we going to compile for different versions. It is possible, but its not very convenient, in other hand i dont see other option (im not sure it will work with vs code). Lets look at esp-adf project for example. Esp-idf is used as submodule with particular...
by chegewara
Mon Jan 13, 2020 5:52 pm
Forum: General Discussion
Topic: 16 relays controlled by esp32 and mcp23017
Replies: 2
Views: 273

Re: 16 relays controlled by esp32 and mcp23017

What do you mean by lose relays? Do you see smoke or just its state is not kept?

Go to advanced search