Closed
Description
I can build an 'esp-idf-template' project. Working good.
Then, inside 'esp-idf-template' folder, I create 'components' folder and clone 'cpp_utils' inside components.
I'm following the instruction here: https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils#compiling-the-c-classes
I also enable BLE in menuconfig.
Then, when I try to 'make all' I get the following error:
CXX build/cpp_utils/BLEDescriptor.o
/home/projects/workspace-esp32/esp-idf-template/components/cpp_utils/./BLEDescriptor.cpp: In member function 'void BLEDescriptor::handleGATTServerEvent(esp_gatts_cb_event_t, esp_gatt_if_t, esp_ble_gatts_cb_param_t*)':
/home/projects/workspace-esp32/esp-idf-template/components/cpp_utils/./BLEDescriptor.cpp:158:53: error: 'struct esp_ble_gatts_cb_param_t::gatts_add_char_descr_evt_param' has no member named 'char_uuid'
m_bleUUID.equals(BLEUUID(param->add_char_descr.char_uuid)) &&
^
/home/projects/workspace-esp32/esp-idf/make/component_wrapper.mk:273: recipe for target 'BLEDescriptor.o' failed
make[1]: *** [BLEDescriptor.o] Error 1
/home/projects/workspace-esp32/esp-idf/make/project.mk:450: recipe for target 'component-cpp_utils-build' failed
make: *** [component-cpp_utils-build] Error 2
Any help would be appreciated. Thanks!
Metadata
Metadata
Assignees
Labels
No labels