beautypg.com

Bios_setdefault, Check_aid – Argox PA-20 Programming Guide User Manual

Page 101

background image

PT-20 Programming Guide

99

Purpose: To get the SN of PT10/12.

Syntax: void SN_Get(char *pssSNBuffer);

Example call: SN_Get(SNBuffer);

Includes:

#include “SDK.h ”

Description: The function cab get the SN of PA-20 /PA-2010 / PA-21 / PA-2110. The

string buffer size must longer than 8 bytes.

Returns: None

BIOS_SetDefault

Purpose: Set BIOS setting default.

Syntax: void BIOS_SetDefault(void);

Example call: BIOS_SetDefault();

Includes:

#include “SDK.h “

Description: This function can set BIOS setting to default setting. It takes several

seconds.

Returns: None

Check_AID

Purpose: Check the agency ID correct or not.

Syntax: BOOL Check_AID(char* pssUser, char* pssPassword);

Example call:

if (Check_AID(“USER01”, “AAAAAAAA”))

_printf_color(COLOR_BLACK, “AID Correct!!”);

Includes: #i

nclude “SDK.h “

Description: This function can check the agency ID correct or not. You can write the

agency ID by “AID Maker”.

The pssUser and pssPassword need 4~8 characters.

Returns: TRUE: AID correct.

FALSE: AID not correct.