You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-09-04 14:42:10 +03:00
OnTxDone
Add callback onTxDone
This commit is contained in:
18
API.md
18
API.md
@@ -117,6 +117,24 @@ LoRa.endPacket(async);
|
||||
|
||||
Returns `1` on success, `0` on failure.
|
||||
|
||||
### Tx Done
|
||||
|
||||
**WARNING**: Not supported on the Arduino MKR WAN 1300 board!
|
||||
|
||||
### Register callback
|
||||
|
||||
Register a callback function for when a packet transmission finish.
|
||||
|
||||
```arduino
|
||||
LoRa.onTxDone(onTxDone);
|
||||
|
||||
void onTxDone() {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
||||
* `onTxDone` - function to call when a packet transmission finish.
|
||||
|
||||
## Receiving data
|
||||
|
||||
### Parsing packet
|
||||
|
Reference in New Issue
Block a user