Browse Source

marcstate enum: add RX & RXFIFO_OVERFLOW to prepare for future receive support

Fabian Peter Hammerle 3 years ago
parent
commit
caa0c3d324
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cc1101/__init__.py

+ 3 - 0
cc1101/__init__.py

@@ -61,7 +61,10 @@ class MainRadioControlStateMachineState(enum.IntEnum):
     STARTCAL = 0x08  # after IDLE
     BWBOOST = 0x09  # after STARTCAL
     FS_LOCK = 0x0A
+    RX = 0x0D
+    RXFIFO_OVERFLOW = 0x11
     TX = 0x13
+    # TXFIFO_UNDERFLOW = 0x16
 
 
 class CC1101: