IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ CGI_SetCredentials()

int CGI_SetCredentials ( const char *  username,
const char *  password,
int  accType,
int  accIdx 

This function sets the web server's user names and passwords.

The modified user name and password entries will only change for this run. The CHIP.INI will not be updated by this function. It lies within the responsibility of the user to call BIOS_Set_Ini_String() for the modified entries.

usernameUser name. Maximum length is 19 characters.
passwordPassword. Maximum length is 19 characters.
accTypeAccount type: 1=Secure account
accIdxAccount index: 0=User0/Password0, 1=User1/Password1 etc
zero on success, non-zero on failure.

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Jun 8 2018 12:48:20 by Doxygen 1.8.13