Host Communication Protocol  2.0
fpc_com_link.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Fingerprint Cards AB
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  * https://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  */
16 
22 #ifndef FPC_COM_LINK_H
23 #define FPC_COM_LINK_H
24 
25 #include <stdbool.h>
26 #include <stdint.h>
27 
28 #include "fpc_com_result.h"
29 #include "fpc_com_chain.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
34 
43 
52 
59 uint16_t fpc_com_link_get_overhead(uint16_t *offset);
60 
61 #ifdef __cplusplus
62 }
63 #endif /* __cplusplus */
64 
65 #endif /* FPC_COM_LINK_H */
Communication result type definitions.
Communication chain type definitions.
uint8_t fpc_com_result_t