Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / clusters / general-commissioning-server / general-commissioning-server.cpp
1 /**
2  *
3  *    Copyright (c) 2021 Project CHIP Authors
4  *
5  *    Licensed under the Apache License, Version 2.0 (the "License");
6  *    you may not use this file except in compliance with the License.
7  *    You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *    Unless required by applicable law or agreed to in writing, software
12  *    distributed under the License is distributed on an "AS IS" BASIS,
13  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *    See the License for the specific language governing permissions and
15  *    limitations under the License.
16  */
17 /****************************************************************************
18  * @file
19  * @brief Routines for the Content Launch plugin, the
20  *server implementation of the Content Launch cluster.
21  *******************************************************************************
22  ******************************************************************************/
23
24 #include <app/util/af.h>
25 #include <lib/support/Span.h>
26
27 using namespace chip;
28
29 bool emberAfGeneralCommissioningClusterArmFailSafeCallback(uint16_t expiryLengthSeconds, uint64_t breadcrumb, uint32_t timeoutMs)
30 {
31     EmberAfStatus status = EMBER_ZCL_STATUS_FAILURE;
32     emberAfSendImmediateDefaultResponse(status);
33     return true;
34 }
35
36 bool emberAfGeneralCommissioningClusterCommissioningCompleteCallback()
37 {
38     EmberAfStatus status = EMBER_ZCL_STATUS_FAILURE;
39     emberAfSendImmediateDefaultResponse(status);
40     return true;
41 }
42
43 bool emberAfGeneralCommissioningClusterSetFabricCallback(ByteSpan fabricId, ByteSpan fabricSecret, uint64_t breadcrumb,
44                                                          uint32_t timeoutMs)
45 {
46     EmberAfStatus status = EMBER_ZCL_STATUS_FAILURE;
47     emberAfSendImmediateDefaultResponse(status);
48     return true;
49 }