![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
uint8_t | get () |
bool | set (uint8_t value) |
uint8_t get | ( | ) |
void setup() { Serial.begin(115200); Serial.printf("Set the times of retansmission %s\n\r", api.lorawan.rety.set(1) ? "Success" : "Fail"); } void loop() { Serial.printf("The time of retransmission = %d\n\r", api.lorawan.rety.get()); delay(1000); }
bool set | ( | uint8_t | value | ) |
value | the retry times for retransmission |
TRUE | for setting retry time success |
FALSE | for setting retry times failure |
void setup() { Serial.begin(115200); Serial.printf("Set the times of retansmission %s\n\r", api.lorawan.rety.set(1) ? "Success" : "Fail"); } void loop() { Serial.printf("The times of retransmission = %d\n\r", api.lorawan.rety.get()); delay(1000); }