Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

1 #148

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"configurations": [
{
"name": "macos-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "${default}",
"cppStandard": "${default}",
"intelliSenseMode": "macos-gcc-x64",
"compilerArgs": [
"-Wall",
"-Wextra",
"-Wpedantic"
]
}
],
"version": 4
}
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"platformio.platformio-ide"
]
}
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"cwd": "/Users/ronnyrohlfs/Documents/GitHub/Arduino-HomeKit-ESP8266",
"environment": [],
"program": "/Users/ronnyrohlfs/Documents/GitHub/Arduino-HomeKit-ESP8266/build/Debug/outDebug",
"internalConsoleOptions": "openOnSessionStart",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/lldb",
"externalConsole": false,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
19 changes: 19 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"C_Cpp_Runner.cCompilerPath": "/usr/bin/clang",
"C_Cpp_Runner.cppCompilerPath": "/usr/bin/clang++",
"C_Cpp_Runner.debuggerPath": "/usr/bin/lldb",
"C_Cpp_Runner.makePath": "/usr/bin/make",
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic"
],
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.excludeSearch": [],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false
}
20 changes: 20 additions & 0 deletions examples/Example02_Switch/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "macos-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "${default}",
"cppStandard": "gnu++17",
"intelliSenseMode": "gcc-arm64",
"compilerArgs": [
"-Wall",
"-Wextra",
"-Wpedantic"
]
}
],
"version": 4
}
26 changes: 26 additions & 0 deletions examples/Example02_Switch/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"cwd": "/Users/ronnyrohlfs/Documents/GitHub/Arduino-HomeKit-ESP8266/examples/Example02_Switch",
"environment": [],
"program": "/Users/ronnyrohlfs/Documents/GitHub/Arduino-HomeKit-ESP8266/examples/Example02_Switch/build/Debug/outDebug",
"internalConsoleOptions": "openOnSessionStart",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/lldb",
"externalConsole": false,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
19 changes: 19 additions & 0 deletions examples/Example02_Switch/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"C_Cpp_Runner.cCompilerPath": "/usr/bin/clang",
"C_Cpp_Runner.cppCompilerPath": "/usr/bin/clang++",
"C_Cpp_Runner.debuggerPath": "/usr/bin/lldb",
"C_Cpp_Runner.makePath": "/usr/bin/make",
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic"
],
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "gnu++17",
"C_Cpp_Runner.excludeSearch": [],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false
}
2 changes: 1 addition & 1 deletion examples/Example02_Switch/my_accessory.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ homekit_accessory_t *accessories[] = {

homekit_server_config_t config = {
.accessories = accessories,
.password = "111-11-111"
.password = "400-17-644"
};


4 changes: 2 additions & 2 deletions examples/Example02_Switch/wifi_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include <WiFi.h>
#endif

const char *ssid = "your-ssid";
const char *password = "your-password";
const char *ssid = "MeineBox";
const char *password = "Ronny23826?";

void wifi_connect() {
WiFi.persistent(false);
Expand Down