| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #pragma once
- #include <furi.h>
- #include <furi_hal.h>
- /** SubGhzNotification state */
- typedef enum {
- SubGhzNotificationStateStarting,
- SubGhzNotificationStateIDLE,
- SubGhzNotificationStateTx,
- SubGhzNotificationStateRx,
- SubGhzNotificationStateRxDone,
- } SubGhzNotificationState;
- /** SubGhzTxRx state */
- typedef enum {
- SubGhzTxRxStateIDLE,
- SubGhzTxRxStateRx,
- SubGhzTxRxStateTx,
- SubGhzTxRxStateSleep,
- } SubGhzTxRxState;
- /** SubGhzHopperState state */
- typedef enum {
- SubGhzHopperStateOFF,
- SubGhzHopperStateRunnig,
- SubGhzHopperStatePause,
- SubGhzHopperStateRSSITimeOut,
- } SubGhzHopperState;
- /** SubGhzSpeakerState state */
- typedef enum {
- SubGhzSpeakerStateDisable,
- SubGhzSpeakerStateShutdown,
- SubGhzSpeakerStateEnable,
- } SubGhzSpeakerState;
- /** SubGhzRadioDeviceType */
- typedef enum {
- SubGhzRadioDeviceTypeAuto,
- SubGhzRadioDeviceTypeInternal,
- SubGhzRadioDeviceTypeExternalCC1101,
- } SubGhzRadioDeviceType;
- /** SubGhzRxKeyState state */
- typedef enum {
- SubGhzRxKeyStateIDLE,
- SubGhzRxKeyStateNoSave,
- SubGhzRxKeyStateNeedSave,
- SubGhzRxKeyStateBack,
- SubGhzRxKeyStateStart,
- SubGhzRxKeyStateAddKey,
- SubGhzRxKeyStateExit,
- SubGhzRxKeyStateRAWLoad,
- SubGhzRxKeyStateRAWMore,
- SubGhzRxKeyStateRAWSave,
- } SubGhzRxKeyState;
- /** SubGhzLoadKeyState state */
- typedef enum {
- SubGhzLoadKeyStateUnknown,
- SubGhzLoadKeyStateOK,
- SubGhzLoadKeyStateParseErr,
- SubGhzLoadKeyStateProtocolDescriptionErr,
- } SubGhzLoadKeyState;
- /** SubGhzLock */
- typedef enum {
- SubGhzLockOff,
- SubGhzLockOn,
- } SubGhzLock;
- typedef enum {
- SubGhzViewIdMenu,
- SubGhzViewIdReceiver,
- SubGhzViewIdPopup,
- SubGhzViewIdTextInput,
- SubGhzViewIdWidget,
- SubGhzViewIdTransmitter,
- SubGhzViewIdVariableItemList,
- SubGhzViewIdFrequencyAnalyzer,
- SubGhzViewIdReadRAW,
- } SubGhzViewId;
- /** SubGhz load type file */
- typedef enum {
- SubGhzLoadTypeFileNoLoad,
- SubGhzLoadTypeFileKey,
- SubGhzLoadTypeFileRaw,
- } SubGhzLoadTypeFile;
|