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
9
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
27
38 uint16_t chunk_len;
40 uint8_t chunk_cnt;
41} __packed;
42
51bool infuse_memfault_dump_chunks_epacket(const struct device *dev);
52
64int infuse_memfault_queue_dump_all(k_timeout_t delay);
65
69
70#ifdef __cplusplus
71}
72#endif
73
74#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:36
uint16_t chunk_len
Length of the chunk data following this header (bytes)
Definition memfault.h:38
uint8_t chunk_cnt
Chunk counter, incremented for each chunk sent.
Definition memfault.h:40