Basic MAC data interface for LoRa transceiver
Dependents: LoRaBaseStation LoRaTerminal
Diff: AlohaTransceiver.cpp
- Revision:
- 4:c557dec1d1c4
- Parent:
- 3:47fa0a59089a
- Child:
- 5:c3741633dc6f
--- a/AlohaTransceiver.cpp Fri Jul 15 01:52:12 2016 +0000 +++ b/AlohaTransceiver.cpp Fri Jul 15 01:56:05 2016 +0000 @@ -195,7 +195,9 @@ void AlohaTransceiver::send(uint8_t *buffer, int length) { + Radio.Rx( 0 ); Radio.Send(buffer, length); + Radio.Rx( RX_TIMEOUT_VALUE ); } void AlohaTransceiver::registerType(AlohaFrame::AlohaType_t type, aloha_callback_func f)