mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 05:48:08 +03:00
c209ec56fc
* Notification: use all input for backlight, otherwise it is causing issues on repeat. Dolphin: rework debug tools. * Notification: remove unused variable * Applications: fix incorrect count in system apps list * SubGhz: fix memory leak in settings * SubGhz: fix incorrect frequency in newly created keys * Loader: make cli command parallel safe
78 lines
1.5 KiB
C
78 lines
1.5 KiB
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
DolphinAppSubGhz,
|
|
DolphinAppRfid,
|
|
DolphinAppNfc,
|
|
DolphinAppIr,
|
|
DolphinAppIbutton,
|
|
DolphinAppBadusb,
|
|
DolphinAppU2f,
|
|
DolphinAppMAX,
|
|
} DolphinApp;
|
|
|
|
typedef enum {
|
|
DolphinDeedSubGhzReceiverInfo,
|
|
DolphinDeedSubGhzSave,
|
|
DolphinDeedSubGhzRawRec,
|
|
DolphinDeedSubGhzAddManually,
|
|
DolphinDeedSubGhzSend,
|
|
DolphinDeedSubGhzFrequencyAnalyzer,
|
|
|
|
DolphinDeedRfidRead,
|
|
DolphinDeedRfidReadSuccess,
|
|
DolphinDeedRfidSave,
|
|
DolphinDeedRfidEmulate,
|
|
DolphinDeedRfidAdd,
|
|
|
|
DolphinDeedNfcRead,
|
|
DolphinDeedNfcReadSuccess,
|
|
DolphinDeedNfcSave,
|
|
DolphinDeedNfcEmulate,
|
|
DolphinDeedNfcAdd,
|
|
|
|
DolphinDeedIrSend,
|
|
DolphinDeedIrLearnSuccess,
|
|
DolphinDeedIrSave,
|
|
DolphinDeedIrBruteForce,
|
|
|
|
DolphinDeedIbuttonRead,
|
|
DolphinDeedIbuttonReadSuccess,
|
|
DolphinDeedIbuttonSave,
|
|
DolphinDeedIbuttonEmulate,
|
|
DolphinDeedIbuttonAdd,
|
|
|
|
DolphinDeedBadUsbPlayScript,
|
|
|
|
DolphinDeedU2fAuthorized,
|
|
|
|
DolphinDeedMAX,
|
|
|
|
DolphinDeedTestLeft,
|
|
DolphinDeedTestRight,
|
|
} DolphinDeed;
|
|
|
|
typedef struct {
|
|
uint8_t icounter;
|
|
DolphinApp app;
|
|
} DolphinDeedWeight;
|
|
|
|
typedef struct {
|
|
DolphinApp app;
|
|
uint8_t icounter_limit;
|
|
} DolphinDeedLimits;
|
|
|
|
DolphinApp dolphin_deed_get_app(DolphinDeed deed);
|
|
uint8_t dolphin_deed_get_app_limit(DolphinApp app);
|
|
uint8_t dolphin_deed_get_weight(DolphinDeed deed);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|