HF-BNO08x
0.1.0-dev
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
HcBin.h
Go to the documentation of this file.
1
/*
2
* Copyright 2015-21 CEVA, Inc.
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 and
6
* any applicable agreements you may have with CEVA, Inc.
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
31
#ifndef HCBIN_H
32
#define HCBIN_H
33
34
#include <stdint.h>
35
47
typedef
struct
HcBin_s
{
52
int (*
open
)(void);
53
58
int (*
close
)(void);
59
65
const
char
* (*getMeta)(
const
char
* key);
66
71
uint32_t (*
getAppLen
)(void);
72
83
uint32_t (*
getPacketLen
)(void);
84
93
int (*
getAppData
)(uint8_t* packet, uint32_t offset, uint32_t len);
94
}
HcBin_t
;
95
96
#endif
HcBin_t
struct HcBin_s HcBin_t
HcBin_s
Definition
HcBin.h:47
HcBin_s::getPacketLen
uint32_t(* getPacketLen)(void)
Definition
HcBin.h:83
HcBin_s::getAppLen
uint32_t(* getAppLen)(void)
Definition
HcBin.h:71
HcBin_s::close
int(* close)(void)
Definition
HcBin.h:58
HcBin_s::open
int(* open)(void)
Definition
HcBin.h:52
HcBin_s::getAppData
int(* getAppData)(uint8_t *packet, uint32_t offset, uint32_t len)
Definition
HcBin.h:93
src
dfu
HcBin.h
Generated by
1.10.0