![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
bool | get () |
bool | set (bool value) |
bool get | ( | ) |
TRUE | : LoRaWan uplink is not on confirm mode |
FALSE | : LoRaWan uplink is on confirm mode |
void setup() { Serial.begin(115200); Serial.printf("Set confirm mode status %s\n\r", api.lorawan.cfm.set(1) ? "Success" : "Fail"); } void loop() { Serial.printf("Packet is %s\n\r", api.lorawan.cfm.get() ? "CONFIRMED" : "UNCONFIRMED"); delay(1000); }
bool set | ( | bool | value | ) |
value | the mode of confirm mode to set |
TRUE | for setting confirm mode success |
FALSE | for setting confirm mode failure |
void setup() { Serial.begin(115200); Serial.printf("Set confirm mode status %s\n\r", api.lorawan.cfm.set(1) ? "Success" : "Fail"); } void loop() { Serial.printf("Packet is %s\n\r", api.lorawan.cfm.get() ? "CONFIRMED" : "UNCONFIRMED"); delay(1000); }