Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memfault.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_LIB_MEMFAULT_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_LIB_MEMFAULT_H_
12
13#include <stdbool.h>
14
15#include <zephyr/device.h>
16#include <zephyr/toolchain.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
36 uint16_t chunk_len;
37 uint8_t chunk_cnt;
38} __packed;
39
48bool infuse_memfault_dump_chunks_epacket(const struct device *dev);
49
61int infuse_memfault_queue_dump_all(k_timeout_t delay);
62
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* INFUSE_SDK_INCLUDE_INFUSE_LIB_MEMFAULT_H_ */
bool infuse_memfault_dump_chunks_epacket(const struct device *dev)
Send as many pending Memfault chunks over an ePacket interface as possible.
int infuse_memfault_queue_dump_all(k_timeout_t delay)
Dump all chunks to the default ePacket interface.
Header for Memfault chunks in a binary container.
Definition memfault.h:35
uint16_t chunk_len
Definition memfault.h:36
uint8_t chunk_cnt
Definition memfault.h:37