You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-09-06 01:43:59 +03:00
non blocking functions added (#62)
This commit is contained in:
committed by
Sandeep Mistry
parent
07bfead143
commit
9d2a8c9c82
7
API.md
7
API.md
@@ -82,7 +82,7 @@ LoRa.beginPacket(implicitHeader);
|
||||
|
||||
* `implicitHeader` - (optional) `true` enables implicit header mode, `false` enables explicit header mode (default)
|
||||
|
||||
Returns `1` on success, `0` on failure.
|
||||
Returns `1` if radio is ready to transmit, `0` if busy or on failure.
|
||||
|
||||
### Writing
|
||||
|
||||
@@ -109,8 +109,11 @@ Returns the number of bytes written.
|
||||
End the sequence of sending a packet.
|
||||
|
||||
```arduino
|
||||
LoRa.endPacket()
|
||||
LoRa.endPacket();
|
||||
|
||||
LoRa.endPacket(async);
|
||||
```
|
||||
* `async` - (optional) `true` enables non-blocking mode, `false` waits for transmission to be completed (default)
|
||||
|
||||
Returns `1` on success, `0` on failure.
|
||||
|
||||
|
Reference in New Issue
Block a user