furi_hal_info.h 598 B

1234567891011121314151617181920212223242526272829
  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. void furi_hal_info_get_api_version(uint16_t* major, uint16_t* minor);
  14. /** Get device information
  15. *
  16. * @param[in] callback callback to provide with new data
  17. * @param[in] sep category separator character
  18. * @param[in] context context to pass to callback
  19. */
  20. void furi_hal_info_get(PropertyValueCallback callback, char sep, void* context);
  21. #ifdef __cplusplus
  22. }
  23. #endif