Skip to content

Commit

Permalink
Temperature app measurement does not build anymore on the esp32
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple committed Nov 18, 2020
1 parent 18badf3 commit eb43c93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

static const char * TAG = "echo-devicecallbacks";

using namespace ::chip;
using namespace ::chip::Inet;
using namespace ::chip::System;
using namespace ::chip::DeviceLayer;
Expand Down
2 changes: 2 additions & 0 deletions examples/temperature-measurement-app/esp32/main/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ COMPONENT_SRCDIRS :=
gen \
../third_party/connectedhomeip/examples/common/chip-app-server \
../third_party/connectedhomeip/src/app/util \
../third_party/connectedhomeip/src/app/reporting \
../third_party/connectedhomeip/src/app/clusters/basic \
../third_party/connectedhomeip/src/app/clusters/temperature-measurement-server \


COMPONENT_EXTRA_INCLUDES := $(PROJECT_PATH)/third_party/connectedhomeip/src/app/util \
$(PROJECT_PATH)/third_party/connectedhomeip/src/app/reporting \
$(PROJECT_PATH)/third_party/connectedhomeip/examples/common/chip-app-server/include \
$(PROJECT_PATH)/third_party/connectedhomeip/src

Expand Down
2 changes: 1 addition & 1 deletion examples/temperature-measurement-app/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ using namespace ::chip::DeviceLayer;
// Used to indicate that an IP address has been added to the QRCode
#define EXAMPLE_VENDOR_TAG_IP 1

extern void PairingComplete(SecurePairingSession * pairing);
extern void PairingComplete(NodeId assignedNodeId, NodeId peerNodeId, SecurePairingSession * pairing);

const char * TAG = "temperature-measurement-app";

Expand Down

0 comments on commit eb43c93

Please sign in to comment.