mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 11:43:09 +00:00
73ecc7cde6
* Rename Irukagotchi to Dolphin. Add basic game state structures. * Dolphin: state, counters, api. BT: shared access to flash. Flash: write api. * add fake -1 deeds, example of changing icounter Co-authored-by: coreglitch <mail@s3f.ru>
27 lines
479 B
C
27 lines
479 B
C
#pragma once
|
|
|
|
#include <m-string.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initialize */
|
|
void api_hal_bt_init();
|
|
|
|
/* Get BT/BLE system component state */
|
|
void api_hal_bt_dump_state(string_t buffer);
|
|
|
|
/* Get BT/BLE system component state */
|
|
bool api_hal_bt_is_alive();
|
|
|
|
/* Lock shared access to flash controller */
|
|
void api_hal_bt_lock_flash();
|
|
|
|
/* Unlock shared access to flash controller */
|
|
void api_hal_bt_unlock_flash();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|