12 #include <boost/system/error_code.hpp> 77 char32_t class_instruction = 0;
78 char32_t instruction = 0;
81 char32_t expectedResponseLen = 0;
106 char32_t priority = -1;
107 std::string buffer =
"";
108 char32_t errorCode = 0;
116 std::string uid =
"";
122 std::string timestamp =
"";
123 char32_t errorCode = 0;
124 char32_t priority = -1;
135 char32_t priority = -1;
149 std::string readerName =
"";
150 std::string uid =
"";
152 bool collision =
true;
153 std::string timestamp =
"";
166 std::string deviceid =
"";
167 std::string socket =
"";
168 std::string samuid =
"";
175 std::string timestamp =
"";
189 char32_t priority = 0;
191 std::string timestamp =
"";
197 std::string deviceId =
"";
204 std::string deviceId =
"";
206 std::string timestamp =
"";
212 std::string deviceId =
"";
220 std::string port =
"";
221 std::string filename =
"";
222 std::string timeoutMs =
"";
223 std::string protocol =
"";
224 std::string user =
"";
225 std::string pass =
"";
231 std::string adkVersion =
"";
232 std::string sdkVersion =
"";
233 std::string serialNumber =
"";
234 std::string osVersion =
"";
235 std::string appVersion =
"";
236 std::string paymentAppVersion =
"";
242 std::string deviceId =
"";
249 std::string localIpAddress =
"";
250 std::string netmask =
"";
251 std::string gateway =
"";
252 std::string dnsServer =
"";
253 std::string dhcp =
"";
254 std::string hostName =
"";
260 std::string deviceId =
"";
291 std::string deviceId =
"";
312 std::string protocolVersion =
"";
313 std::string timestamp =
"";
320 std::string deviceId =
"";
361 std::string value =
"";
373 std::string deviceId =
"";
389 std::string uid =
"";
390 std::string price =
"";
397 std::string deviceId =
"";
454 std::string uid =
"";
458 std::string PAN =
"";
459 std::string operationId =
"";
462 std::string appId =
"";
463 std::string countryId =
"";
464 std::string timestamp =
"";
470 std::string deviceId =
"";
477 std::string deviceId =
"";
483 std::string uid =
"";
490 std::string deviceId =
"";
497 std::string readerId =
"";
504 std::string deviceId =
"";
511 std::string deviceId =
"";
512 unsigned int hour = 0;
513 unsigned int minute = 0;
514 unsigned int sec = 0;
545 std::string deviceId =
"";
552 unsigned int tone_hz = 0;
553 unsigned int duration_ms = 0;
597 unsigned int duration_ms = 0;
603 std::string profileId =
"";
612 std::string deviceId =
"";
621 char32_t errorCode = 0;
627 std::string readerId =
"";
628 std::string uid =
"";
635 std::string deviceId =
"";
642 std::string uid =
"";
643 std::uint8_t counter = 0;
644 unsigned int value = 0;
709 std::string address =
"";
710 unsigned int port = 0;
711 unsigned int rebootsUntilLoggingDisabled = 0;
System component.
Definition: scmTypes.h:690
Request of charging to a smart card.
Definition: scmTypes.h:387
std::string address
Network address to be checked, it can be an IP or Name address.
Definition: scmTypes.h:670
The status of the network connectivity.
Definition: scmTypes.h:674
Extra information, such us expedition.
Definition: scmTypes.h:354
Basic information for get the version.
Definition: scmTypes.h:229
REMOVED.
Definition: scmTypes.h:143
Access point type. Available values: "input", "output".
Definition: scmTypes.h:329
Structure for UltraLight counter requests.
Definition: scmTypes.h:640
All the date related to the reader information.
Definition: scmTypes.h:164
Query for printing the last online copy.
Definition: scmTypes.h:420
EMV NFC contactless card.
Definition: scmTypes.h:443
Banc contactless card.
Definition: scmTypes.h:444
Increment command.
Definition: scmTypes.h:95
KeyType keytype
The key type.
Definition: scmTypes.h:62
Debug Logging Level.
Definition: scmTypes.h:698
Mifare desfire.
Definition: scmTypes.h:37
Timer in minutes for updating the black list in the payment terminal.
Definition: scmTypes.h:339
Property
It defines the basic setting for the transport operator.
Definition: scmTypes.h:325
The terminal shall work in offline mode the online mode fails. Available values: "on", "off".
Definition: scmTypes.h:334
std::vector< Key > key
Vector of keys.
Definition: scmTypes.h:190
The payment terminal is not operational.
Definition: scmTypes.h:300
Device payment application information.
Definition: scmTypes.h:318
Reset slot 3.
Definition: scmTypes.h:720
NA_LED.
Definition: scmTypes.h:559
No know technology.
Definition: scmTypes.h:448
All the date related to the device information.
Definition: scmTypes.h:172
The device network configuration.
Definition: scmTypes.h:258
Not available.
Definition: scmTypes.h:380
Device full version.
Definition: scmTypes.h:240
FunctionalityIndicator
Functionality indicator.
Definition: scmTypes.h:296
PaymentAppStatus paymentAppStatus
Payment application status.
Definition: scmTypes.h:292
Authentication operation.
Definition: scmTypes.h:89
DateTime struct which contains the response received from the service.
Definition: scmTypes.h:648
INSTALLING.
Definition: scmTypes.h:524
std::string mediaProfileId
Media profile ID.
Definition: scmTypes.h:498
The transaction was refused.
Definition: scmTypes.h:406
SRT_512.
Definition: scmTypes.h:44
A type.
Definition: scmTypes.h:55
State wait rollback.
Definition: scmTypes.h:535
ChargeResult chargeResult
Charge result.
Definition: scmTypes.h:471
Standby.
Definition: scmTypes.h:21
NetworkConfiguration networkConfiguration
Configuration.
Definition: scmTypes.h:261
Transaction mode configuration.
Definition: scmTypes.h:336
std::vector< Reader > readers
List of readers.
Definition: scmTypes.h:205
MAGENTA.
Definition: scmTypes.h:581
Device payment terminal configuration.
Definition: scmTypes.h:371
Device request of charging.
Definition: scmTypes.h:395
The payment terminal has communications with Redsys.
Definition: scmTypes.h:269
RequestCharge requestCharge
Charge request.
Definition: scmTypes.h:398
Mifare 4K.
Definition: scmTypes.h:34
Enable Payment application.
Definition: scmTypes.h:276
ApduRxData rxData
APDU exchange for receptions.
Definition: scmTypes.h:121
LED9.
Definition: scmTypes.h:568
Configuration component.
Definition: scmTypes.h:686
Info Logging Level.
Definition: scmTypes.h:699
std::uint32_t seconds
seconds
Definition: scmTypes.h:651
State idle.
Definition: scmTypes.h:533
Not available.
Definition: scmTypes.h:404
Transfer command.
Definition: scmTypes.h:93
It contains the information related to set the Payment Application configuration. ...
Definition: scmTypes.h:281
Not available.
Definition: scmTypes.h:298
Mifare ultra light EV1.
Definition: scmTypes.h:35
CTS512B.
Definition: scmTypes.h:42
Write operation.
Definition: scmTypes.h:91
Transaction operation device.
Definition: scmTypes.h:195
Reset slot 2.
Definition: scmTypes.h:719
Key group.
Definition: scmTypes.h:187
A structure to fix the authentication keys.
Definition: scmTypes.h:60
List of property configurations.
Definition: scmTypes.h:365
std::string deviceId
Device name.
Definition: scmTypes.h:676
Mifare ultra light C.
Definition: scmTypes.h:36
Not available.
Definition: scmTypes.h:413
The transaction was authorized.
Definition: scmTypes.h:405
Commercial card.
Definition: scmTypes.h:432
Component
Defines the type of components or applications inside the SCM device.
Definition: scmTypes.h:682
LED4.
Definition: scmTypes.h:563
Hibernate.
Definition: scmTypes.h:24
Structure defining a sound inside a media profile.
Definition: scmTypes.h:550
ECO query.
Definition: scmTypes.h:423
Maximum number of attempts that can be done with bank card.
Definition: scmTypes.h:346
std::uint32_t minutes
minutes
Definition: scmTypes.h:652
std::vector< PaymentAppConfiguration > paymentAppProperty
Properties.
Definition: scmTypes.h:367
std::string inRawData
Data structure for inputs.
Definition: scmTypes.h:619
ChargeConfirmation chargeConfirmation
charge confirmation
Definition: scmTypes.h:491
UPDATE_DOWNLOADED.
Definition: scmTypes.h:522
The payment terminal has not been initialised.
Definition: scmTypes.h:301
Sale.
Definition: scmTypes.h:414
Mifare mini.
Definition: scmTypes.h:38
Play profile.
Definition: scmTypes.h:495
unsigned int time_ms
Average time on reaching that address.
Definition: scmTypes.h:678
Ticket price.
Definition: scmTypes.h:335
Calypso.
Definition: scmTypes.h:41
Query for assigning the trade allocation.
Definition: scmTypes.h:422
The result of the charge request.
Definition: scmTypes.h:452
Server component.
Definition: scmTypes.h:692
SamSlot
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:715
Structure used to send commands (input) in raw data form and store the response (output) ...
Definition: scmTypes.h:617
Terminal language. Available languages: "spanish", "catalan", "english", "french", "german", "italian", "portuguese", "galician", "basque", "valencian".
Definition: scmTypes.h:347
Not available technology.
Definition: scmTypes.h:441
Reset slot 1.
Definition: scmTypes.h:718
std::uint32_t day
day
Definition: scmTypes.h:654
The payment terminal is operational.
Definition: scmTypes.h:299
LED6.
Definition: scmTypes.h:565
Unknow result.
Definition: scmTypes.h:407
EMV contactless card.
Definition: scmTypes.h:442
LED10.
Definition: scmTypes.h:569
std::string outRawData
Data structure for outputs.
Definition: scmTypes.h:620
B type.
Definition: scmTypes.h:56
WHITE.
Definition: scmTypes.h:577
std::uint32_t month
month
Definition: scmTypes.h:655
At which time it is made the shift change.
Definition: scmTypes.h:337
std::string outRawData
Data structure for outputs.
Definition: scmTypes.h:119
Force the connection of the smart reader with its payment gateway.
Definition: scmTypes.h:475
State transferring.
Definition: scmTypes.h:536
It contains the information related to get the Payment Application information.
Definition: scmTypes.h:308
Device pass through.
Definition: scmTypes.h:633
State updating.
Definition: scmTypes.h:534
Restore command.
Definition: scmTypes.h:94
A structure to store keys.
Definition: scmTypes.h:179
OperationType
Different types of operation.
Definition: scmTypes.h:86
IDLE_STATE.
Definition: scmTypes.h:520
The Logging Configuration to be applied or being applied.
Definition: scmTypes.h:705
ADDED or INSERTED.
Definition: scmTypes.h:142
Error Logging Level.
Definition: scmTypes.h:701
Reboot complete device.
Definition: scmTypes.h:663
Device charge result.
Definition: scmTypes.h:468
The payment terminal has not communication with Redsys.
Definition: scmTypes.h:268
LED3.
Definition: scmTypes.h:562
It indicates the employee id.
Definition: scmTypes.h:352
Mifare plus.
Definition: scmTypes.h:39
Device payment application information.
Definition: scmTypes.h:289
Disable Payment application.
Definition: scmTypes.h:277
LED2.
Definition: scmTypes.h:561
Decrement command.
Definition: scmTypes.h:96
Enable/disable white list. Available values: "on", "off".
Definition: scmTypes.h:343
Enable/disable financial blacklist. Available values: "on", "off".
Definition: scmTypes.h:342
Query for detailing single operations.
Definition: scmTypes.h:418
Number of hours without updating the black list.
Definition: scmTypes.h:341
Enable/disable ODA cards. Available values: "on", "off".
Definition: scmTypes.h:344
YELLOW.
Definition: scmTypes.h:582
No know product.
Definition: scmTypes.h:435
Add Keys.
Definition: scmTypes.h:210
Structure containing information needed to execute a pass through.
Definition: scmTypes.h:625
ApduTxData txData
APDU exchange for transmissions.
Definition: scmTypes.h:120
PlayProfile playProfile
play profile
Definition: scmTypes.h:505
CYAN.
Definition: scmTypes.h:583
Contains the network address to be tested on that device.
Definition: scmTypes.h:667
PassThrough passThrough
Pass through.
Definition: scmTypes.h:636
Structure defining LED parameters.
Definition: scmTypes.h:587
std::string address
The IP address of the request.
Definition: scmTypes.h:677
Some private card.
Definition: scmTypes.h:434
It indicates the stop where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:351
CardInfo cardinfo
The cad information.
Definition: scmTypes.h:160
State
The different types of upgrade events.
Definition: scmTypes.h:518
Basic information for transferring a file through the network.
Definition: scmTypes.h:217
The terminal shall work in online mode. Available values: "on", "off".
Definition: scmTypes.h:332
boost::system::error_code errorCode
Transaction code result.
Definition: scmTypes.h:455
All of the components/applications.
Definition: scmTypes.h:685
Mifare 1K.
Definition: scmTypes.h:33
State rolling back.
Definition: scmTypes.h:537
std::uint32_t hours
hours
Definition: scmTypes.h:653
The terminal shall work in offline mode. Available values: "on", "off".
Definition: scmTypes.h:333
The payment terminal has some failure.
Definition: scmTypes.h:303
Deepsy SCM namespace that includes the different enums, structs or method signatures that should be u...
Netowrk Configuration.
Definition: scmTypes.h:247
TechTypeId
Identifier for the technology type of the payment application.
Definition: scmTypes.h:439
Credit card.
Definition: scmTypes.h:431
ProductTypeId
Product type identifier.
Definition: scmTypes.h:427
Transport_nfc component.
Definition: scmTypes.h:688
Query for grand total.
Definition: scmTypes.h:415
std::string deviceId
Device name.
Definition: scmTypes.h:650
Unused value.
Definition: scmTypes.h:88
Device confirmation charge.
Definition: scmTypes.h:488
DataBlock structure.
Definition: scmTypes.h:131
std::string deviceId
Device name.
Definition: scmTypes.h:669
RebootType
Reboot type, it defines different reboot types.
Definition: scmTypes.h:660
Reboot.
Definition: scmTypes.h:25
Event
The type of event related to the smart card.
Definition: scmTypes.h:140
Active.
Definition: scmTypes.h:20
Warn Logging Level.
Definition: scmTypes.h:700
Exchange APDU commands.
Definition: scmTypes.h:92
Reset all device slots.
Definition: scmTypes.h:717
RED.
Definition: scmTypes.h:578
NA_COLOR.
Definition: scmTypes.h:576
ROLLBACK_DONE.
Definition: scmTypes.h:527
KeyType
Keys types.
Definition: scmTypes.h:52
std::vector< Command > commands
Command list.
Definition: scmTypes.h:629
std::uint32_t year
year
Definition: scmTypes.h:656
std::vector< std::string > device
The name of the device which belongs to.
Definition: scmTypes.h:174
Not available.
Definition: scmTypes.h:275
std::string keys
The key.
Definition: scmTypes.h:63
APDU RX exchange command.
Definition: scmTypes.h:67
Structure defining a group of LEDs inside a media profile.
Definition: scmTypes.h:594
EMV contact card.
Definition: scmTypes.h:446
std::vector< CardOperation > operation
Operation to be performance.
Definition: scmTypes.h:198
std::vector< KeyGroup > keys
List of keys.
Definition: scmTypes.h:213
std::string rxData
The data structure.
Definition: scmTypes.h:71
RequestType
Type of request.
Definition: scmTypes.h:411
AppStatus
Payment Application status.
Definition: scmTypes.h:273
LED7.
Definition: scmTypes.h:566
Increment command.
Definition: scmTypes.h:97
The kind of event and the card information.
Definition: scmTypes.h:157
INSTALLING_ROLLBACK_PACKAGE.
Definition: scmTypes.h:526
Updates component.
Definition: scmTypes.h:691
LedColor
Led color.
Definition: scmTypes.h:574
LEDLOGO1.
Definition: scmTypes.h:570
Not available.
Definition: scmTypes.h:327
List of readers.
Definition: scmTypes.h:202
All data card structure.
Definition: scmTypes.h:112
The payment terminal has no GPRS signal or connectivity.
Definition: scmTypes.h:304
Read operation.
Definition: scmTypes.h:90
Band NFC contactless card.
Definition: scmTypes.h:445
SolutionCode
Solution code for the reuslt of the operation.
Definition: scmTypes.h:402
It indicates the zone where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:350
It indicates which pricing plan is configured. Available values: "variable-kft", "fix-kft", "pinpad", "0-mtt", "1-mtt".
Definition: scmTypes.h:331
How much updating retries can be done before refusing bank cards.
Definition: scmTypes.h:340
std::vector< Led > leds
List of LEDs existing in the device.
Definition: scmTypes.h:596
Device PCI Reboot Time.
Definition: scmTypes.h:509
Sam_reader component.
Definition: scmTypes.h:689
State state
State.
Definition: scmTypes.h:546
APDU TX exchange command.
Definition: scmTypes.h:75
State rebooting.
Definition: scmTypes.h:539
PREPARED_TO_INSTALL.
Definition: scmTypes.h:523
Debit card.
Definition: scmTypes.h:430
WorkMode
Work mode indicator, it defines which configuration is been used.
Definition: scmTypes.h:265
LogLevel
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:696
PaymentAppConfigurations paymentAppConfigurations
Payment configurations.
Definition: scmTypes.h:374
Prepaid card.
Definition: scmTypes.h:433
Transport operator identifier.
Definition: scmTypes.h:330
UPDATE_INSTALLED.
Definition: scmTypes.h:525
Query for printing some online copy.
Definition: scmTypes.h:421
Action
Power action events.
Definition: scmTypes.h:17
State installing.
Definition: scmTypes.h:538
Query for detailing general operations.
Definition: scmTypes.h:417
Query for countable closing.
Definition: scmTypes.h:416
Shutdown.
Definition: scmTypes.h:26
SRI_512.
Definition: scmTypes.h:45
BLUE.
Definition: scmTypes.h:579
A simple card operation.
Definition: scmTypes.h:102
Magnetic band card.
Definition: scmTypes.h:447
LED1.
Definition: scmTypes.h:560
TicketMode
Ticket printing configurations.
Definition: scmTypes.h:378
Deep sleep.
Definition: scmTypes.h:23
Query for printing a local copy.
Definition: scmTypes.h:419
Decrement command.
Definition: scmTypes.h:98
The payment terminal shall generate the client ticket.
Definition: scmTypes.h:382
Reboot only application.
Definition: scmTypes.h:662
Version version
Version.
Definition: scmTypes.h:243
Empty key.
Definition: scmTypes.h:54
Device play profile.
Definition: scmTypes.h:502
None of the components/applications.
Definition: scmTypes.h:684
CTS256B.
Definition: scmTypes.h:43
Felica.
Definition: scmTypes.h:40
std::string txData
Data structure.
Definition: scmTypes.h:82
std::string inRawData
Data structure for inputs.
Definition: scmTypes.h:118
Enable/disable blacklist. Available values: "on", "off".
Definition: scmTypes.h:338
LED5.
Definition: scmTypes.h:564
Vehicle id.
Definition: scmTypes.h:353
All the data related to the new card event information.
Definition: scmTypes.h:147
SAM.
Definition: scmTypes.h:47
Relation between the property and its value.
Definition: scmTypes.h:358
Access point code.
Definition: scmTypes.h:328
The payment terminal has no keys.
Definition: scmTypes.h:302
Not available product.
Definition: scmTypes.h:429
CardType
Available card types.
Definition: scmTypes.h:30
EMV.
Definition: scmTypes.h:46
Device upgrade status.
Definition: scmTypes.h:543
LedId
Led identifier.
Definition: scmTypes.h:557
Sleep.
Definition: scmTypes.h:22
The payment terminal must not generate operation ticket.
Definition: scmTypes.h:381
Not available.
Definition: scmTypes.h:267
LED8.
Definition: scmTypes.h:567
DOWNLOADING_UPDATES.
Definition: scmTypes.h:521
Confirmation charge.
Definition: scmTypes.h:481
GREEN.
Definition: scmTypes.h:580
Timer for counting the consecutive logins.
Definition: scmTypes.h:345
Destination mode configuration.
Definition: scmTypes.h:348
The payment terminal shall generate the trade and client tickets.
Definition: scmTypes.h:383
UpdateState
Defines the UPDATE STATES.
Definition: scmTypes.h:531
Default value.
Definition: scmTypes.h:32
Reset slot 4.
Definition: scmTypes.h:721
It indicates the route which is done in the vehicle where is installed the payment terminal...
Definition: scmTypes.h:349
PaymentAppInfo paymentAppInfo
Payment application information.
Definition: scmTypes.h:321
Libpap emv component.
Definition: scmTypes.h:687
Boot device.
Definition: scmTypes.h:19