1098
Appendix A: System Routines — Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
AB_serno
Declaration:
BOOL
AB_sern
o (char
serno
[])
Category(ies):
Utilities
Description:
Get the calculator’s serial number. The serial number is returned in a string
of the form “pphnn nnnnn vvvv”.
pp — platform ID: 01 for TI
-
92 Plus, 03 for TI
-
89
h — hardware revision level
nn nnnnn — unique ID number
vvvv — verification number
All the above fields consist of hexadecimal digits.
Inputs:
None
Outputs:
serno
— A buffer large enough (
≥
17 bytes) to hold the calculator’s serial
number.
Returns TRUE if the calculator has a serial number, FALSE if the serial
number cannot be found in the calculator’s certificate memory.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: AB_prodid, AB_prodname
Example:
char serno[17];
if (AB_serno(serno))
{
/* Do something with serial number */
}