Question
B-L072Z-LRWAN1 (soft End Node I-CUBE-LRWAN)
Posted on July 03, 2018 at 14:10
Hello ,
I use this demo board B-L072Z-LRWAN1 with the soft End Node I-CUBE-LRWAN
But I don’t understand why I can’t send the data once when I want with function send() or LORA_send() in the main or in the while(1) ? and not with a timer (TX_ON_TIMER) or (TX_ON_EVENT).int main( void )
{ … … LORA_Init( &LoRaMainCallbacks, &LoRaParamInit); LORA_Join(); //LoraStartTx( TX_ON_TIMER) ; send();while(1) { DISABLE_IRQ( ); /* if an interrupt has occurred after DISABLE_IRQ, it is kept pending * and cortex will not enter low power anyway */ #ifndef LOW_POWER_DISABLE LPM_EnterLowPower( ); #endif ENABLE_IRQ();
}
}Thank you.
#b-l072z-lrwan1 #b-l072z #lora