Comments (3)
It turns out if I copy the examples directory into a new directory and use make menuconfig
command, it will not affect the ESP's WiFi bootloader section, why is this and how can I solve this issue?
from esp-homekit-sdk.
@twlawrenceko , do you mean that you see the problem only when you move the example folder somewhere else? Using the default folder structure and examples, I verified that the network indeed changes if I change it via menuconfig. Have you checked if the network name reflects correctly in your sdkconfig file? CONFIG_APP_WIFI_SSID
and CONFIG_APP_WIFI_PASSWORD
are the relevant options to check.
The second question isn't really clear. Did you copy the entire examples folder or just the smart_outlet/lightbulb folder? Did you adjust the paths in the example Makefile so that it can find the appropriate components?
from esp-homekit-sdk.
@twlawrenceko , do you mean that you see the problem only when you move the example folder somewhere else? Using the default folder structure and examples, I verified that the network indeed changes if I change it via menuconfig. Have you checked if the network name reflects correctly in your sdkconfig file?
CONFIG_APP_WIFI_SSID
andCONFIG_APP_WIFI_PASSWORD
are the relevant options to check.The second question isn't really clear. Did you copy the entire examples folder or just the smart_outlet/lightbulb folder? Did you adjust the paths in the example Makefile so that it can find the appropriate components?
Hello, for the second question, I mean of creating another directory which is under the same parent as examples
folder. Since the new folder that I created projects
is at the same level of examples
folder, shouldn't any of the below path be changed?
├───esp-homekit-sdk
│ ├───examples
│ │ smart_outlet
│ └───projects
│ │ smart_outlet
HOMEKIT_PATH ?= $(abspath $(shell pwd)/../..)
COMMON_COMPONENT_PATH ?= $(abspath $(shell pwd)/../common)
PROJECT_NAME := smart_outlet
EXTRA_COMPONENT_DIRS += $(HOMEKIT_PATH)/components/
EXTRA_COMPONENT_DIRS += $(HOMEKIT_PATH)/components/homekit
EXTRA_COMPONENT_DIRS += $(COMMON_COMPONENT_PATH)
include $(IDF_PATH)/make/project.mk
How should I adjust the path accordingly with my directory setup?
Below is the error log:
../main/app_main.c:39:10: fatal error: app_wifi.h: No such file or directory
#include <app_wifi.h>
^~~~~~~~~~~~
compilation terminated.
[1248/1311] Linking C static library esp-idf/wifi_provisioning/libwifi_provisioning.a
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Thank you.
from esp-homekit-sdk.
Related Issues (20)
- Unable to find components to build examples for ESP8266 HOT 2
- How to cleanly add or remove accessories ? (bridge) HOT 2
- HTTPD init error HOT 2
- ESP8266无法使用
- Accessory Not Found HOT 6
- Update examples CMakeLists.txt
- hap_platform_httpd_start failing HOT 1
- Is it possible to remove nvs? HOT 2
- More than 1 accessory support without using bridge HOT 6
- How to change Homekit TCP port? HOT 2
- esp-homekit-sdk network allocation HOT 2
- Lightbulb: save status on flash HOT 3
- Change serial number without re-build source code HOT 2
- Is it possible to return the device status outside the hap_serv_set_write_cb callback function? HOT 3
- idf.py menuconfig fails for aws-iot example
- Mfi license HOT 5
- homekit bridge Decryption error/Connection lost HOT 2
- Problem with some services and features HOT 5
- httpd_start() don't start, has problem with create stack ESP32-S3 SPIRAM 8MB (IDFGH-13325) HOT 3
- Accessories stuck in 'opening' or 'closing' states
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 esp-homekit-sdk.