9 - IDeviceConfiguration
9
IDeviceConfiguration
Create an instance of the IDeviceConfiguration using getDeviceConfiguration(). Then use the function
calls described in this chapter.
Generally, these functions will run in one of two modes:
Asynchronous functions return data in the event handlers in section IEventSubscriber Delegates.
Synchronous functions return data in the return value. If the data is not available immediately, the
call will block until a wait time has elapsed.
9.1
getChallengeToken
This function retrieves a challenge token from the device. A challenge token consists of a random nonce
or timestamp. A challenge token must be used within the time allowed by the device (generally 5
minutes) of being issued. Only one token can be active at a time. Attempts to use a token for requests
other than the one specified will cause the token to be revoked/erased.
byte[] IDeviceConfiguration.getChallengeToken(byte[] data);
Parameter
data
Return Value:
Returns a byte array containing the challenge token.
9.2
getConfigInfo
This function retrieves device configuration information. For an example, see appendix 12.9B.6
IDeviceConfiguration Walk Through.
byte[] IDeviceConfiguration.getConfigInfo(
byte configType,
byte[] data);
Parameter
configType
data
Return Value:
Returns an array of bytes containing the configuration information.
9.3
getDeviceInfo
This function retrieves device specific information.
String IDeviceConfiguration.getDeviceInfo(InfoType infoType);
Parameter
infoType
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 31
Byte array containing the request ID to be protected.
Type of configuration. For DynaFlex, this is the first number of the
Property OID.
Configuration data to be sent to the device. For DynaFlex, this is the
remainder of the constructed OID. For constructing the OID see
D998200383 DynaFlex Family Programmer's Manual (COMMANDS)
Enumerated information type.
Description
Description
Description
Need help?
Do you have a question about the Universal SDK and is the answer not in the manual?
Questions and answers