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
24extern "C" {
25#endif
26
37int memfault_ncs_device_id_set(const char *device_id, size_t len);
38
46
47#ifdef __cplusplus
48}
49#endif
50
55#endif /* _MEMFAULT_NCS_H_ */
int memfault_ncs_device_id_set(const char *device_id, size_t len)
Set the Memfault device ID.
void memfault_ncs_metrics_collect_data(void)
Trigger NCS metrics collection. Called by default from NCS memfault_metrics_heartbeat_collect_data(),...