SERVICE FUNCTIONS
svcInfoPlatform()
152 M
X
800 SERIES PROGRAMMERS GUIDE
svcInfoPlatform()
This function provides information about the terminal running the application.
feature can be one of the following values:
Prototype
result = svcInfoPlatform(feature);
int result, feature;
Return Values
The information is returned in result.
If feature = 0, then the following bit values are returned for unit configuration:
If feature = 1, then the value in result for the lithium battery status will be:
If feature = 2, then the value in result will be the lithium battery voltage, in tenths of
a Volt (0.1V).
Table 8
Feature Definition
0 Unit Configuration
1 Lithium Battery Status
2 Lithium Battery Voltage in tenths of a Volt
3 SDRAM size in KB
4 Multi-port Cable Status
5 I/O Module Configuration
6 Smart Card Version
7-15 Reserved
Table 9
Bits Definition Value
0 Ethernet 1 = installed
1 Smartcard 1 = installed
2 Audio 1 = installed, 0 = buzzer
3-15 Reserved
1
If the lithium battery is OK
0
If the lithium batter is bad
NOTE
The lithium battery is used to preserve the SRAM on the M
x
800 series terminal
when the power is off.