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