TIM SDK
TIM API C
resource_parameter_type.h File Reference

Description

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Copyright: Worldline.

Typedefs

typedef enum ta_e_resource_parameter_type ta_e_resource_parameter_type_t
 

Enumerations

enum  ta_e_resource_parameter_type {
  ta_c_rpt_undefined = 0, ta_c_rpt_code_check_type = 1, ta_c_rpt_code_check_key_id = 2, ta_c_rpt_code_check_data = 3,
  ta_c_rpt_regular_data_query_type = 4, ta_c_rpt_regular_data = 5, ta_c_rpt_petrol_card_data1 = 6, ta_c_rpt_petrol_card_data2 = 7,
  ta_c_rpt_petrol_card_data3 = 8, ta_c_rpt_active_readers = 9, ta_c_rpt_exponent = 10, ta_c_rpt_key_mode_f1 = 11,
  ta_c_rpt_key_mode_f2 = 12, ta_c_rpt_key_mode_f3 = 13, ta_c_rpt_pin_retry_counter = 14, ta_c_rpt_aid = 15
}
 

Typedef Documentation

◆ ta_e_resource_parameter_type_t

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Guides: petrol, dialog.

Enumeration Type Documentation

◆ ta_e_resource_parameter_type

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Guides: petrol, dialog.

Enumerator
ta_c_rpt_undefined 

Undefined/invalid value.

ta_c_rpt_code_check_type 

Type of code check to perform.

  • 0: EMV - Check using EMV PIN check.
  • 1: SwissPost - SwissPost Card algorithm.
  • 2: Avia - Use Aviacard algorithm.
  • 3: SB - Use Scheit & Bachmann algorithm.
  • 4: ProEDA/Tokheim - Use ProEDA / Tokheim algorithm
  • 5: Agrola - Use Agrola algorithm
  • 6: Bica - Use Bica algorithm
  • 7: CTAC - Use CTAC algorithm
  • 8: DASAG - Use DASAG algorithm
  • 9: DKV - Use DKV algorithm
  • 10: Esso - Use Esso algorithm
  • 11: Migrol - Use Migrol algorithm
  • 12: Oelpool - Use Oelpool algorithm
  • 13: Pronto - Use Pronto algorithm
  • 14: Shell - Use Shell algorithm
  • 15: WLDC - Use WLDC algorithm
  • 16: Hectronic - Use HecPAC algorithm
  • 17: Diplomatkarte - Use Diplomatkarten algorithm
  • 18: Micrelec - Use the Micrelec algorithm
  • 19: Schenk - Use the Schenk algorithm
  • 20: BeBeCo - Use the BeBeCo (Postbetriebe) algorithm

This value is to be encoded as a ascii number i.e. using characters in the range 30h to 39h.

Specification: petrol.

ta_c_rpt_code_check_key_id 

Key id of the key to use for the selected CodeCheckType .

  • 0: Tokheim key id.
  • 1: HecPAC key id.
  • 2: DASAG key id.
  • 3: Diplomatkarten key id.
  • 4: Micrelec key id
  • 5000: Start of test key range.
  • 5002: DASAG test key id.

This value is to be encoded as a ascii number i.e. using characters in the range 30h to 39h.

Specification: petrol.

ta_c_rpt_code_check_data 

Data used in the calculation of some CodeCheckType s. This value is to be encoded as hex string.

Specification: petrol.

ta_c_rpt_regular_data_query_type 

Type of query to receive data about regulars.

  • StfkV1: Version 1 regular data query type in Austria.
  • StfkV4: Version 4 regular data query type in Austria.

This value is to be encoded as a ascii string.

Specification: petrol.

ta_c_rpt_regular_data 

Customer data of the regular.

Specification: petrol.

ta_c_rpt_petrol_card_data1 

Track 1 of a petrol card. This value is to be encoded as a ascii string.

Specification: petrol.

ta_c_rpt_petrol_card_data2 

Track 2 of a petrol card. This value is to be encoded as a ascii string.

Specification: petrol.

ta_c_rpt_petrol_card_data3 

Track 3 of a petrol card. This value is to be encoded as a ascii string.

Specification: petrol.

ta_c_rpt_active_readers 

Defines which card readers are active during the dialog. This is a bitmap. Value 0 = reader not active, 1 = reader active.
Example 1: Only magstripe reader active = 00000001 = 01 hex
Example 2: Only contactless reader active = 00000100 = 04h
Example 3: Magstripe, chip and contactless reader active = 00000111 = 07h

  • Bit 1: Magstripe reader
  • Bit 2: Chip reader
  • Bit 3: Contactless reader
  • Bit 4: RFU
  • Bit 5: RFU
  • Bit 6: RFU
  • Bit 7: RFU
  • Bit 8: RFU

This value is to be transmitted hex encoded. Example: For a value of 00000111 (Magstripe, Chip and Ctless active), the value '07' hex must be transmitted.

Specification: petrol.

ta_c_rpt_exponent 

Currency Exponent e.g. to define input mask for Amount entry. n2 value
Example 1: Exponent = 2 will result in an input mask of XXXX.XX with 2 positions after decimal point.
Example 2: Exponent = 3 will result in an input mask of XXX.XXX with 3 positions after decimal point.

Specification: petrol.

ta_c_rpt_key_mode_f1 

Mode of function key 1. Determines how the terminal handles the key pressed event of function key 1. Valid values are:

  • DISABLED
    : Do not show the function key. No action if the key is pressed.
  • INTERRUPT
    : Default. The key interrupts the InitTransaction process. The press is reported through the ReasonCode.
  • NOTIFY
    : The key does not interrupt the InitTransaction process. The press is reported through a KeyPress Notification.

Specification: petrol.

ta_c_rpt_key_mode_f2 

Mode of function key 2. Determines how the terminal handles the key pressed event of function key 2. Valid values are:

  • DISABLED
    : Do not show the function key. No action if the key is pressed.
  • INTERRUPT
    : Default. The key interrupts the InitTransaction process. The press is reported through the ReasonCode.
  • NOTIFY
    : The key does not interrupt the InitTransaction process. The press is reported through a KeyPress Notification.

Specification: petrol.

ta_c_rpt_key_mode_f3 

Mode of function key 3. Determines how the terminal handles the key pressed event of function key 3. Valid values are:

  • DISABLED
    : Do not show the function key. No action if the key is pressed.
  • INTERRUPT
    : Default. The key interrupts the InitTransaction process. The press is reported through the ReasonCode.
  • NOTIFY
    : The key does not interrupt the InitTransaction process. The press is reported through a KeyPress Notification.

Specification: petrol.

ta_c_rpt_pin_retry_counter 

Defines how many times a PIN or other code entry can be done before failing the dialog.
Example: PinRetryCounter = 3, the PIN (or other code) can be entered 3 times in total before the dialog fails.

Specification: petrol.

ta_c_rpt_aid 

Application identifier of the card that is expected to be used with the corresponding dialog, e.g. for limiting that the terminal only is allowed to read one specific card with the given AID.

Specification: petrol.