We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9018152 + 8c76111 commit 3404205Copy full SHA for 3404205
libraries/LoRa/src/LoRaWan_APP.cpp
@@ -683,7 +683,7 @@ void LoRaWanClass::join()
683
}
684
685
686
-void LoRaWanClass::send()
+bool LoRaWanClass::send()
687
{
688
if( nextTx == true )
689
@@ -698,7 +698,9 @@ void LoRaWanClass::send()
698
699
700
nextTx = SendFrame( );
701
+ return true;
702
703
+ return false;
704
705
706
void LoRaWanClass::cycle(uint32_t dutyCycle)
libraries/LoRa/src/LoRaWan_APP.h
@@ -58,7 +58,7 @@ class LoRaWanClass{
58
public:
59
void init(DeviceClass_t lorawanClass,LoRaMacRegion_t region);
60
void join();
61
- void send();
+ bool send();
62
void cycle(uint32_t dutyCycle);
63
void sleep();
64
void setDataRateForNoADR(int8_t dataRate);
0 commit comments