![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Functions | |
bool | set (char *passwd, uint32_t len) |
void | lock (void) |
void | unlock (void) |
bool set | ( | char * | passwd, |
uint32_t | len | ||
) |
passwd_Str | the password to lock the Default Serial(Type: String) |
passwd_Char | the password to lock the Default Serial(Type: cahr *) |
len | the length of passwod |
TRUE | for successfully set a password |
FALSE | for set a password failure |
int loopCount = 0; void setup() { String password = "12345678"; api.system.pword.set(password); // set the password to 12345678 api.system.pword.lock(); // lock the default port } void loop() { loopCount++; if (loopCount == 60) api.system.pword.unlock(); // unlock the default port after 60 seconds delay(1000); }
void lock | ( | void | ) |
int loopCount = 0; void setup() { String password = "12345678"; api.system.pword.set(password); // set the password to 12345678 api.system.pword.lock(); // lock the default port } void loop() { loopCount++; if (loopCount == 60) api.system.pword.unlock(); // unlock the default port after 60 seconds delay(1000); }
void unlock | ( | void | ) |
int loopCount = 0; void setup() { String password = "12345678"; api.system.pword.set(password); // set the password to 12345678 api.system.pword.lock(); // lock the default port } void loop() { loopCount++; if (loopCount == 60) api.system.pword.unlock(); // unlock the default port after 60 seconds delay(1000); }