Loading...
Searching...
No Matches
dolphin_deed.h
1#pragma once
2
3#include <stdint.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9typedef enum {
10 DolphinAppSubGhz,
11 DolphinAppRfid,
12 DolphinAppNfc,
13 DolphinAppIr,
14 DolphinAppIbutton,
15 DolphinAppBadusb,
16 DolphinAppPlugin,
17 DolphinAppMAX,
18} DolphinApp;
19
20typedef enum {
21 DolphinDeedSubGhzReceiverInfo,
22 DolphinDeedSubGhzSave,
23 DolphinDeedSubGhzRawRec,
24 DolphinDeedSubGhzAddManually,
25 DolphinDeedSubGhzSend,
26 DolphinDeedSubGhzFrequencyAnalyzer,
27
28 DolphinDeedRfidRead,
29 DolphinDeedRfidReadSuccess,
30 DolphinDeedRfidSave,
31 DolphinDeedRfidEmulate,
32 DolphinDeedRfidAdd,
33
34 DolphinDeedNfcRead,
35 DolphinDeedNfcReadSuccess,
36 DolphinDeedNfcSave,
37 DolphinDeedNfcDetectReader,
38 DolphinDeedNfcEmulate,
39 DolphinDeedNfcMfcAdd,
40 DolphinDeedNfcAddSave,
41 DolphinDeedNfcAddEmulate,
42
43 DolphinDeedIrSend,
44 DolphinDeedIrLearnSuccess,
45 DolphinDeedIrSave,
46
47 DolphinDeedIbuttonRead,
48 DolphinDeedIbuttonReadSuccess,
49 DolphinDeedIbuttonSave,
50 DolphinDeedIbuttonEmulate,
51 DolphinDeedIbuttonAdd,
52
53 DolphinDeedBadUsbPlayScript,
54
55 DolphinDeedU2fAuthorized,
56 DolphinDeedGpioUartBridge,
57
58 DolphinDeedPluginStart,
59 DolphinDeedPluginGameStart,
60 DolphinDeedPluginGameWin,
61
62 DolphinDeedMAX,
63
64 DolphinDeedTestLeft,
65 DolphinDeedTestRight,
66} DolphinDeed;
67
68typedef struct {
69 uint8_t icounter;
70 DolphinApp app;
72
73typedef struct {
74 DolphinApp app;
75 uint8_t icounter_limit;
77
78DolphinApp dolphin_deed_get_app(DolphinDeed deed);
79uint8_t dolphin_deed_get_app_limit(DolphinApp app);
80uint8_t dolphin_deed_get_weight(DolphinDeed deed);
81
82#ifdef __cplusplus
83}
84#endif
Definition dolphin_deed.h:73
Definition dolphin_deed.h:68