![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
int | get () |
bool | set (int value) |
int get | ( | ) |
void setup() { Serial.begin(115200); } void loop() { Serial.printf("The received delay on RX window 2 is %d\r\n", api.lorawan.rdx2dl.get()); delay(1000); }
bool set | ( | int | value | ) |
value | the delay of the received window 2 |
TRUE | for setting delay success |
FALSE | for setting delay failure |
void setup() { Serial.begin(115200); Serial.printf("Set the received delay on RX window 2 %s\r\n", api.lorawan.rx2dl.set(2000) ? "Success" : "Fail"); } void loop() { Serial.printf("The received delay on RX window 2 is %d\r\n", api.lorawan.rx2dl.get()); delay(1000); }