KNX IoT
KNX IoT Point API stack implementation
oc_knx_fb.h
Go to the documentation of this file.
1 /*
2 // Copyright (c) 2021 Cascoda Ltd
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 */
27 #ifndef OC_KNX_FB_INTERNAL_H
28 #define OC_KNX_FB_INTERNAL_H
29 
30 #include <stddef.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
53  size_t device_index,
54  size_t *response_length, int *matches,
55  int *skipped, int first_entry,
56  int last_entry);
57 
64 void oc_create_knx_fb_resources(size_t device);
65 
70 int oc_count_functional_blocks(size_t device_index);
71 
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* OC_KNX_FB_INTERNAL_H */
bool oc_filter_functional_blocks(oc_request_t *request)
check if functional blocks should be added to the response
int oc_count_functional_blocks(size_t device_index)
count functional blocks in a device
void oc_create_knx_fb_resources(size_t device)
Creation of the KNX function block resources.
bool oc_add_function_blocks_to_response(oc_request_t *request, size_t device_index, size_t *response_length, int *matches, int *skipped, int first_entry, int last_entry)
add functional blocks to the response
request information structure
Definition: oc_ri.h:412