/** * @file ble_beacon_app.h * @brief BLE beacon example. */ #pragma once #include "extra_beacon.h" #include #include #include #include #include #include #include #include #include #include #include #include #include "scenes/scenes.h" #include typedef struct { Gui* gui; SceneManager* scene_manager; ViewDispatcher* view_dispatcher; Submenu* submenu; ByteInput* byte_input; DialogEx* dialog_ex; FuriString* status_string; GapExtraBeaconConfig beacon_config; uint8_t beacon_data[EXTRA_BEACON_MAX_DATA_SIZE]; uint8_t beacon_data_len; bool is_beacon_active; } BleBeaconApp; typedef enum { BleBeaconAppViewSubmenu, BleBeaconAppViewByteInput, BleBeaconAppViewDialog, } BleBeaconAppView; typedef enum { BleBeaconAppCustomEventDataEditResult = 100, } BleBeaconAppCustomEvent; void ble_beacon_app_update_state(BleBeaconApp* app);