@@ -280,8 +280,8 @@ class RFM9x:
280
280
281
281
Also note this library tries to be compatible with raw RadioHead Arduino
282
282
library communication. This means the library sets up the radio modulation
283
- to match RadioHead's defaults. Features like addressing and guaranteed
284
- delivery need to be implemented at an application level .
283
+ to match RadioHead's defaults and assumes that each packet contains a
284
+ 4 byte header compatible with RadioHead's implementation .
285
285
"""
286
286
287
287
# Global buffer for SPI commands
@@ -793,10 +793,10 @@ def send(
793
793
return not timed_out
794
794
795
795
def send_with_ack (self , data ):
796
- """Reliabe Datagram mode:
796
+ """Reliable Datagram mode:
797
797
Send a packet with data and wait for an ACK response.
798
798
The packet header is automatically generated.
799
- If enabled, the packet tranmsiion will be retried on failure
799
+ If enabled, the packet transmission will be retried on failure
800
800
"""
801
801
if self .ack_retries :
802
802
retries_remaining = self .ack_retries
@@ -839,7 +839,7 @@ def receive(
839
839
If keep_listening is True (the default) the chip will immediately enter listening mode
840
840
after reception of a packet, otherwise it will fall back to idle mode and ignore any
841
841
future reception.
842
- All packets must have a 4 byte header A 4 -byte header for compatibilty with the
842
+ All packets must have a 4-byte header for compatibilty with the
843
843
RadioHead library.
844
844
The header consists of 4 bytes (To,From,ID,Flags). The default setting will strip
845
845
the header before returning the packet to the caller.
0 commit comments