3 * Copyright (c) 2021 Project CHIP Authors
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 // THIS FILE IS GENERATED BY ZAP
24 // Global Response Callbacks
25 typedef void (*DefaultSuccessCallback)(void * context);
26 typedef void (*DefaultFailureCallback)(void * context, uint8_t status);
27 typedef void (*BooleanAttributeCallback)(void * context, bool value);
28 typedef void (*Int8uAttributeCallback)(void * context, uint8_t value);
29 typedef void (*Int8sAttributeCallback)(void * context, int8_t value);
30 typedef void (*Int16uAttributeCallback)(void * context, uint16_t value);
31 typedef void (*Int16sAttributeCallback)(void * context, int16_t value);
32 typedef void (*Int32uAttributeCallback)(void * context, uint32_t value);
33 typedef void (*Int32sAttributeCallback)(void * context, int32_t value);
34 typedef void (*Int64uAttributeCallback)(void * context, uint64_t value);
35 typedef void (*Int64sAttributeCallback)(void * context, int64_t value);
36 typedef void (*ReadReportingConfigurationReportedCallback)(void * context, uint16_t minInterval, uint16_t maxInterval);
37 typedef void (*ReadReportingConfigurationReceivedCallback)(void * context, uint16_t timeout);
39 // Cluster Specific Response Callbacks