Svcinfoplatform() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

S
F
ERVICE
UNCTIONS

svcInfoPlatform()

svcInfoPlatform()
NOTE
152
M
X
800 S
P
ERIES
ROGRAMMERS
This function provides information about the terminal running the application.
feature can be one of the following values:
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
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:
Table 9
Bits
Definition
0
Ethernet
1
Smartcard
2
Audio
3-15
Reserved
If feature = 1, then the value in result for the lithium battery status will be:
1
If the lithium battery is OK
0
If the lithium batter is bad
The lithium battery is used to preserve the SRAM on the M
when the power is off.
If feature = 2, then the value in result will be the lithium battery voltage, in tenths of
a Volt (0.1V).
G
UIDE
Value
1 = installed
1 = installed
1 = installed, 0 = buzzer
x
800 series terminal

Advertisement

Table of Contents
loading

Table of Contents