mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-30 06:33:07 +00:00
8073992925
* RFID: pull antenna down when emulating * Rfid: fixed HID emulation by adding zero pulse every 4 bits * Rfid: HID emulation fixed with DSP based FSK oscillator. * Rfid: receive 125KHz clock for emulation timer from antenna and comparator * Rfid: commented unused variable * Firmware: rollback changes in f6. * Add F7 target based on F6. * F7/F6: update cube projects, apply changes to the targets, update linker scripts with correct RAM start values. * FuriHal: RFID init routine. * Scripts: update OTP tool for v11 board Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
27 lines
435 B
C
27 lines
435 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdbool.h>
|
|
#include "hci_tl.h"
|
|
|
|
typedef enum {
|
|
APP_BLE_IDLE,
|
|
APP_BLE_FAST_ADV,
|
|
APP_BLE_LP_ADV,
|
|
APP_BLE_SCAN,
|
|
APP_BLE_LP_CONNECTING,
|
|
APP_BLE_CONNECTED_SERVER,
|
|
APP_BLE_CONNECTED_CLIENT
|
|
} APP_BLE_ConnStatus_t;
|
|
|
|
bool APP_BLE_Init();
|
|
bool APP_BLE_Start();
|
|
|
|
APP_BLE_ConnStatus_t APP_BLE_Get_Server_Connection_Status();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|