This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Problem with ESP32 C3 super mini
#1
Hello everyone, I am using ESP32 C3 super mini to do experiment with phyphox. When I run code on Aduino IDE, I meet following error, please help me (I using phyphoxble 1.2.5)

/Users/vunguyen/Documents/Arduino/libraries/phyphox_BLE/src/phyphoxBLE_ESP32.cpp:107:40: error: 'esp_ble_gatts_cb_param_t' has not been declared
  107 |    void onConnect(BLEServer* pServer, esp_ble_gatts_cb_param_t *param) {
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/vunguyen/Documents/Arduino/libraries/phyphox_BLE/src/phyphoxBLE_ESP32.cpp: In member function 'void MyServerCallbacks::onConnect(BLEServer*, int*)':
/Users/vunguyen/Documents/Arduino/libraries/phyphox_BLE/src/phyphoxBLE_ESP32.cpp:108:40: error: request for member 'connect' in '* param', which is of non-class type 'int'
  108 |      pServer->updateConnParams(param->connect.remote_bda,PhyphoxBLE::minConInterval,PhyphoxBLE::maxConInterval,PhyphoxBLE:ConfusedlaveLatency,PhyphoxBLE::timeout);
      |                                        ^~~~~~~
exit status 1
Reply


Messages In This Thread
Problem with ESP32 C3 super mini - by vunguyen - 10-14-2025, 08:52 AM

Forum Jump: