sandeepmistry / arduino-LoRa

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

How to receive and send at the same time? #13

Closed 846354866 closed 7 years ago

846354866 commented 7 years ago

Hi, how to receive and send at the same time? I put the example in the reception and send written together, but still can not get the results I want. I need your help. Thank you!

anthonywebb commented 7 years ago

I am also interested in an example of sending a "ping" and waiting for a "pong" back. Sending and receiving in the same sketch would be a common use case. Most messages would want an ack of some sort.

sandeepmistry commented 7 years ago

@846354866 could you please share the sketch you were trying?

846354866 commented 7 years ago

@sandeepmistry I read the SX1278 data manual found only half duplex, I think to send and receive before switching to enter the 'IDLE' mode.

sandeepmistry commented 7 years ago

@846354866 that's correct.

sandeepmistry commented 7 years ago

Please see the new duplex examples from @tigoe in: