Comments (2)
Most of my erros refer to arduino_homekit_server_esp32.cpp file. I think it is related to libraries versions my error list looks like this:
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3:
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp: In function 'void homekit_server_on_pair_verify(client_context_t*, const byte*, size_t)':
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:43: error: 'system_get_free_heap_size' was not declared in this scope
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~~~~~~~~~~~~~~~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
#define XPGM_PRINTF(fmt, ...) printf_P(PSTR(fmt) , ##__VA_ARGS__);
^~~~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
INFO_HEAP();
^~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:43: note: suggested alternative: 'esp_get_free_heap_size'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~~~~~~~~~~~~~~~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
#define XPGM_PRINTF(fmt, ...) printf_P(PSTR(fmt) , ##__VA_ARGS__);
^~~~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
#define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
^~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
INFO_HEAP();
^~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp: In function 'void homekit_server_init(homekit_server_config_t*)':
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3439:4: error: 'system_restart' was not declared in this scope
system_restart();
^~~~~~~~~~~~~~
...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3439:4: note: suggested alternative: 'system_event_t'
system_restart();
^~~~~~~~~~~~~~
system_event_t
Using library WiFi at version 2.0.0 in folder:
...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\WiFi
Using library HomeKit-ESP32 at version 1.0.0 in folder:
...\Arduino\libraries\Arduino-HomeKit-ESP32-master
Using library Ticker at version 2.0.0 in folder: ...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\Ticker
Using library ESPmDNS at version 2.0.0 in folder: ...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\ESPmDNS
Compiling in Arduino IDE 2.0.3
Using board 'node32s' from platform in folder: C:\Users\Sensei\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6
Using core 'esp32' from platform in folder: C:\Users\Sensei\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6
I used you sketch before and succsesfully improved it with ESPConnect. How I did it before: I played with different versions of libraries and it worked, but now I got this errors even with your reference
from arduino-homekit-esp32.
I have solved this issue, Inside board manager of your arduino install esp32 by Espressif Systems version 1.0.4
from arduino-homekit-esp32.
Related Issues (15)
- ESP Button For Multiple outputs HOT 1
- Multiple Switch or Light HOT 1
- only-can-work
- error: homekit/types.h: No such file or directory
- Deprecated... Is there a current version / branch?
- ESP32S3
- STA Connection looping HOT 1
- 2 IOS cannot pair with one device HOT 2
- homekit_storage_reset() causes a crash HOT 12
- "Not Response" in iPhone Home.app HOT 2
- Can't update door status in Homekit HOT 1
- lib/Arduino-HomeKit-ESP32/src/arduino_homekit_server_esp32.cpp:5:10: fatal error: ESPmDNS.h: No such file or directory HOT 1
- can't create 2 devices HOT 1
- ESPButton - doubleclick?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-homekit-esp32.