furi_hal_info.h 527 B

123456789101112131415161718192021222324252627
  1. /**
  2. * @file furi_hal_info.h
  3. * Device info HAL API
  4. */
  5. #pragma once
  6. #include <stdbool.h>
  7. #include <stdint.h>
  8. #include <core/string.h>
  9. #include <toolbox/property.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /** Get device information
  14. *
  15. * @param[in] callback callback to provide with new data
  16. * @param[in] sep category separator character
  17. * @param[in] context context to pass to callback
  18. */
  19. void furi_hal_info_get(PropertyValueCallback callback, char sep, void* context);
  20. #ifdef __cplusplus
  21. }
  22. #endif