Browse Source

transmit function: added comment regarding configuration of package length through first byte of payload

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

+ 5 - 0
cc1101/__init__.py

@@ -463,6 +463,11 @@ class CC1101:
 
     def transmit(self, payload: bytes) -> None:
         """
+        > [...], the packet length is configured by the first byte [...].
+        > The packet length is defined as the payload data,
+        > excluding the length byte and the optional CRC.
+        from "15.2 Packet Format"
+
         The most significant bit is transmitted first.
         """
         # see "15.2 Packet Format"