nRF Connect SDK API
0.1.0
Loading...
Searching...
No Matches
memfault_ncs.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
11
#ifndef _MEMFAULT_NCS_H_
12
#define _MEMFAULT_NCS_H_
13
21
#include <zephyr/kernel.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
37
int
memfault_ncs_device_id_set
(
const
char
*device_id,
size_t
len);
38
45
void
memfault_ncs_metrics_collect_data
(
void
);
46
47
#ifdef __cplusplus
48
}
49
#endif
50
55
#endif
/* _MEMFAULT_NCS_H_ */
memfault_ncs_device_id_set
int memfault_ncs_device_id_set(const char *device_id, size_t len)
Set the Memfault device ID.
memfault_ncs_metrics_collect_data
void memfault_ncs_metrics_collect_data(void)
Trigger NCS metrics collection. Called by default from NCS memfault_metrics_heartbeat_collect_data(),...
include
memfault_ncs.h
Generated on Thu Sep 26 2024 10:53:16 for nRF Connect SDK API by
1.9.6