@@ -683,11 +683,11 @@ def send(
683
683
self ,
684
684
data : ReadableBuffer ,
685
685
* ,
686
- keep_listening : Optional [ int ] = False ,
687
- destination = None ,
688
- node = None ,
689
- identifier = None ,
690
- flags = None
686
+ keep_listening : bool = False ,
687
+ destination : Optional [ int ] = None ,
688
+ node : Optional [ int ] = None ,
689
+ identifier : Optional [ int ] = None ,
690
+ flags : Optional [ int ] = None
691
691
) -> bool :
692
692
"""Send a string of data using the transmitter.
693
693
You can only send 252 bytes at a time
@@ -760,7 +760,7 @@ def send(
760
760
self ._write_u8 (_RH_RF95_REG_12_IRQ_FLAGS , 0xFF )
761
761
return not timed_out
762
762
763
- def send_with_ack (self , data ) -> bool :
763
+ def send_with_ack (self , data : ReadableBuffer ) -> bool :
764
764
"""Reliable Datagram mode:
765
765
Send a packet with data and wait for an ACK response.
766
766
The packet header is automatically generated.
@@ -800,7 +800,7 @@ def send_with_ack(self, data) -> bool:
800
800
def receive (
801
801
self ,
802
802
* ,
803
- keep_listening : Optional [ int ] = True ,
803
+ keep_listening : bool = True ,
804
804
with_header : bool = False ,
805
805
with_ack : bool = False ,
806
806
timeout : Optional [float ] = None
0 commit comments