2021-12-07 16:47:20 +03:00
|
|
|
/**
|
2022-01-05 19:10:18 +03:00
|
|
|
* @file furi_hal_info.h
|
2021-12-07 16:47:20 +03:00
|
|
|
* Device info HAL API
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2022-11-29 12:08:08 +03:00
|
|
|
#include <core/string.h>
|
|
|
|
#include <toolbox/property.h>
|
2021-12-07 16:47:20 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/** Get device information
|
|
|
|
*
|
|
|
|
* @param[in] callback callback to provide with new data
|
2022-11-29 12:08:08 +03:00
|
|
|
* @param[in] sep category separator character
|
2021-12-07 16:47:20 +03:00
|
|
|
* @param[in] context context to pass to callback
|
|
|
|
*/
|
2022-11-29 12:08:08 +03:00
|
|
|
void furi_hal_info_get(PropertyValueCallback callback, char sep, void* context);
|
2021-12-07 16:47:20 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|