boardSetPassword (Function) |
Top Previous Next |
boardSetPassword sets the primary password that is used by the RTCU IDE (or any other RACP1/RACP2) client that will authenticate itself to the device. If the primary password is empty, the RTCU device will not require a password for authentication.
It is also possible to use an alternative password in addition to the primary password with the boardSetPasswordAlt function The primary password can be cleared by calling boardClearPassword.
Input: curpsw : STRING (Max 20 characters) The current password. Must be correct to set new password.
newpsw : STRING (Max 20 characters) The new password. An empty string will disable the password of the device.
Returns: BOOL
Declaration: FUNCTION boardSetPassword : BOOL;
Example: INCLUDE rtcu.inc |