sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.64k stars 627 forks source link

TxDone Callback #320

Closed ricaun closed 4 years ago

ricaun commented 4 years ago

Create a non-blocking callback using the dio0 interrupt.

Based on the #214

IoTThinks commented 4 years ago

This txDone would be great. Hopefully, this one will go to new release, soon. (y)

Normally, I have to wait LoRa.endPacket() to complete before switching it back to receive mode. Will txDone made the process faster?

ricaun commented 4 years ago

@IoTThinks process faster maybe, it is really necessary to create a really neat protocol using the LoRa library. Make the process free to do other things when the module is sending some data.

morganrallen commented 4 years ago

Cool, I'll take a look at this as soon as I can

artemen commented 4 years ago

you need to manually install master repo, it hasn't been pushed into arduino library manager

On Tue, Feb 11, 2020 at 5:23 AM NRamdat notifications@github.com wrote:

It's not implemented right. Still the following error:

'class LoRaClass' has no member named 'onTxDone'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sandeepmistry/arduino-LoRa/pull/320?email_source=notifications&email_token=AB3MVF5RQPNH4EFVHSX2JB3RCKRDTA5CNFSM4KGJ5QIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELMMLEQ#issuecomment-584631698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3MVFZ2BEJDWOOARWPOKDDRCKRDTANCNFSM4KGJ5QIA .

-- A rtem Nikitin Travel Adviser Gabriel Travel 5111 College Oak Dr. Ste G Sacramento CA 95841 888.505.4196 toll free 916.348.3500 fax Like us on Facebook! http://www.facebook.com/GabrielTravel and receive $20 off next purchase http://www.facebook.com/GabrielTravel