13 #include <boost/system/error_code.hpp> 78 char32_t class_instruction = 0;
79 char32_t instruction = 0;
82 char32_t expectedResponseLen = 0;
107 char32_t priority = -1;
108 std::string buffer =
"";
109 char32_t errorCode = 0;
117 std::string uid =
"";
123 std::string timestamp =
"";
124 char32_t errorCode = 0;
125 char32_t priority = -1;
136 char32_t priority = -1;
150 std::string readerName =
"";
151 std::string uid =
"";
153 bool collision =
true;
154 std::string timestamp =
"";
155 std::string atqa =
"";
156 std::string sak =
"";
157 std::string ats =
"";
170 std::string deviceid =
"";
171 std::string socket =
"";
172 std::string samuid =
"";
179 std::string timestamp =
"";
194 char32_t priority = 0;
196 std::string timestamp =
"";
202 std::string deviceId =
"";
209 std::string deviceId =
"";
211 std::string timestamp =
"";
217 std::string deviceId =
"";
225 std::string port =
"";
226 std::string filename =
"";
227 std::string timeoutMs =
"";
228 std::string protocol =
"";
229 std::string user =
"";
230 std::string pass =
"";
236 std::string adkVersion =
"";
237 std::string sdkVersion =
"";
238 std::string serialNumber =
"";
239 std::string osVersion =
"";
240 std::string appVersion =
"";
241 std::string paymentAppVersion =
"";
247 std::string deviceId =
"";
254 std::string localIpAddress =
"";
255 std::string netmask =
"";
256 std::string gateway =
"";
257 std::string dnsServer =
"";
258 std::string dhcp =
"";
259 std::string hostName =
"";
265 std::string deviceId =
"";
296 std::string deviceId =
"";
317 std::string protocolVersion =
"";
318 std::string timestamp =
"";
325 std::string deviceId =
"";
366 std::string value =
"";
378 std::string deviceId =
"";
394 std::string uid =
"";
395 std::string price =
"";
402 std::string deviceId =
"";
459 std::string uid =
"";
463 std::string PAN =
"";
464 std::string operationId =
"";
467 std::string appId =
"";
468 std::string countryId =
"";
469 std::string timestamp =
"";
475 std::string deviceId =
"";
482 std::string deviceId =
"";
488 std::string uid =
"";
495 std::string deviceId =
"";
502 std::string readerId =
"";
509 std::string deviceId =
"";
516 std::string deviceId =
"";
517 unsigned int hour = 0;
518 unsigned int minute = 0;
519 unsigned int sec = 0;
550 std::string deviceId =
"";
557 unsigned int tone_hz = 0;
558 unsigned int duration_ms = 0;
602 unsigned int duration_ms = 0;
608 std::string profileId =
"";
617 std::string deviceId =
"";
626 char32_t errorCode = 0;
632 std::string readerId =
"";
633 std::string uid =
"";
640 std::string deviceId =
"";
647 std::string uid =
"";
648 std::uint8_t counter = 0;
649 unsigned int value = 0;
714 std::string address =
"";
715 unsigned int port = 0;
716 unsigned int rebootsUntilLoggingDisabled = 0;
739 std::string name =
"";
740 std::string filename =
"";
742 std::string md5 =
"";
744 std::string version =
"";
749 std::string deviceId =
"";
751 std::string timestamp =
"";
756 std::string deviceId =
"";
757 std::string plugin_name =
"";
758 std::map<std::string, std::string>
data;
System component.
Definition: scmTypes.h:695
Request of charging to a smart card.
Definition: scmTypes.h:392
std::string address
Network address to be checked, it can be an IP or Name address.
Definition: scmTypes.h:675
The status of the network connectivity.
Definition: scmTypes.h:679
Plugin.
Definition: scmTypes.h:732
Extra information, such us expedition.
Definition: scmTypes.h:359
Basic information for get the version.
Definition: scmTypes.h:234
REMOVED.
Definition: scmTypes.h:144
Access point type. Available values: "input", "output".
Definition: scmTypes.h:334
Structure for UltraLight counter requests.
Definition: scmTypes.h:645
All the date related to the reader information.
Definition: scmTypes.h:168
Query for printing the last online copy.
Definition: scmTypes.h:425
EMV NFC contactless card.
Definition: scmTypes.h:448
Banc contactless card.
Definition: scmTypes.h:449
Increment command.
Definition: scmTypes.h:96
KeyType keytype
The key type.
Definition: scmTypes.h:63
Debug Logging Level.
Definition: scmTypes.h:703
Mifare desfire.
Definition: scmTypes.h:38
Timer in minutes for updating the black list in the payment terminal.
Definition: scmTypes.h:344
Property
It defines the basic setting for the transport operator.
Definition: scmTypes.h:330
The terminal shall work in offline mode the online mode fails. Available values: "on", "off".
Definition: scmTypes.h:339
std::vector< Key > key
Vector of keys.
Definition: scmTypes.h:195
The payment terminal is not operational.
Definition: scmTypes.h:305
Device payment application information.
Definition: scmTypes.h:323
Reset slot 3.
Definition: scmTypes.h:725
NA_LED.
Definition: scmTypes.h:564
No know technology.
Definition: scmTypes.h:453
All the date related to the device information.
Definition: scmTypes.h:176
The device network configuration.
Definition: scmTypes.h:263
Not available.
Definition: scmTypes.h:385
Device full version.
Definition: scmTypes.h:245
FunctionalityIndicator
Functionality indicator.
Definition: scmTypes.h:301
PaymentAppStatus paymentAppStatus
Payment application status.
Definition: scmTypes.h:297
Authentication operation.
Definition: scmTypes.h:90
DateTime struct which contains the response received from the service.
Definition: scmTypes.h:653
INSTALLING.
Definition: scmTypes.h:529
std::string mediaProfileId
Media profile ID.
Definition: scmTypes.h:503
The transaction was refused.
Definition: scmTypes.h:411
SRT_512.
Definition: scmTypes.h:45
A type.
Definition: scmTypes.h:56
State wait rollback.
Definition: scmTypes.h:540
ChargeResult chargeResult
Charge result.
Definition: scmTypes.h:476
Standby.
Definition: scmTypes.h:22
NetworkConfiguration networkConfiguration
Configuration.
Definition: scmTypes.h:266
Transaction mode configuration.
Definition: scmTypes.h:341
std::vector< Reader > readers
List of readers.
Definition: scmTypes.h:210
MAGENTA.
Definition: scmTypes.h:586
Device payment terminal configuration.
Definition: scmTypes.h:376
Device request of charging.
Definition: scmTypes.h:400
The payment terminal has communications with Redsys.
Definition: scmTypes.h:274
RequestCharge requestCharge
Charge request.
Definition: scmTypes.h:403
Mifare 4K.
Definition: scmTypes.h:35
Enable Payment application.
Definition: scmTypes.h:281
std::uint32_t size
File size in bytes.
Definition: scmTypes.h:743
ApduRxData rxData
APDU exchange for receptions.
Definition: scmTypes.h:122
LED9.
Definition: scmTypes.h:573
Configuration component.
Definition: scmTypes.h:691
Info Logging Level.
Definition: scmTypes.h:704
std::uint32_t seconds
seconds
Definition: scmTypes.h:656
State idle.
Definition: scmTypes.h:538
Not available.
Definition: scmTypes.h:409
Transfer command.
Definition: scmTypes.h:94
It contains the information related to set the Payment Application configuration. ...
Definition: scmTypes.h:286
Not available.
Definition: scmTypes.h:303
std::vector< ArtifactInfo > artifacts
List of artifacts information.
Definition: scmTypes.h:750
Mifare ultra light EV1.
Definition: scmTypes.h:36
CTS512B.
Definition: scmTypes.h:43
Write operation.
Definition: scmTypes.h:92
Transaction operation device.
Definition: scmTypes.h:200
Reset slot 2.
Definition: scmTypes.h:724
ArtifactType
Definition: scmTypes.h:729
Key group.
Definition: scmTypes.h:192
A structure to fix the authentication keys.
Definition: scmTypes.h:61
List of property configurations.
Definition: scmTypes.h:370
std::string deviceId
Device name.
Definition: scmTypes.h:681
Mifare ultra light C.
Definition: scmTypes.h:37
Not available.
Definition: scmTypes.h:418
The transaction was authorized.
Definition: scmTypes.h:410
Commercial card.
Definition: scmTypes.h:437
Component
Defines the type of components or applications inside the SCM device.
Definition: scmTypes.h:687
LED4.
Definition: scmTypes.h:568
Hibernate.
Definition: scmTypes.h:25
std::map< std::string, std::string > data
Plugin data map.
Definition: scmTypes.h:758
Structure defining a sound inside a media profile.
Definition: scmTypes.h:555
ECO query.
Definition: scmTypes.h:428
Maximum number of attempts that can be done with bank card.
Definition: scmTypes.h:351
std::uint32_t minutes
minutes
Definition: scmTypes.h:657
std::vector< PaymentAppConfiguration > paymentAppProperty
Properties.
Definition: scmTypes.h:372
std::string inRawData
Data structure for inputs.
Definition: scmTypes.h:624
ChargeConfirmation chargeConfirmation
charge confirmation
Definition: scmTypes.h:496
UPDATE_DOWNLOADED.
Definition: scmTypes.h:527
The payment terminal has not been initialised.
Definition: scmTypes.h:306
Sale.
Definition: scmTypes.h:419
Mifare mini.
Definition: scmTypes.h:39
Play profile.
Definition: scmTypes.h:500
unsigned int time_ms
Average time on reaching that address.
Definition: scmTypes.h:683
Ticket price.
Definition: scmTypes.h:340
Calypso.
Definition: scmTypes.h:42
Query for assigning the trade allocation.
Definition: scmTypes.h:427
The result of the charge request.
Definition: scmTypes.h:457
Server component.
Definition: scmTypes.h:697
SamSlot
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:720
Structure used to send commands (input) in raw data form and store the response (output) ...
Definition: scmTypes.h:622
Terminal language. Available languages: "spanish", "catalan", "english", "french", "german", "italian", "portuguese", "galician", "basque", "valencian".
Definition: scmTypes.h:352
Not available technology.
Definition: scmTypes.h:446
Reset slot 1.
Definition: scmTypes.h:723
std::uint32_t day
day
Definition: scmTypes.h:659
The payment terminal is operational.
Definition: scmTypes.h:304
LED6.
Definition: scmTypes.h:570
Unknow result.
Definition: scmTypes.h:412
EMV contactless card.
Definition: scmTypes.h:447
LED10.
Definition: scmTypes.h:574
std::string outRawData
Data structure for outputs.
Definition: scmTypes.h:625
B type.
Definition: scmTypes.h:57
WHITE.
Definition: scmTypes.h:582
std::uint32_t month
month
Definition: scmTypes.h:660
At which time it is made the shift change.
Definition: scmTypes.h:342
std::string outRawData
Data structure for outputs.
Definition: scmTypes.h:120
Force the connection of the smart reader with its payment gateway.
Definition: scmTypes.h:480
State transferring.
Definition: scmTypes.h:541
It contains the information related to get the Payment Application information.
Definition: scmTypes.h:313
Device pass through.
Definition: scmTypes.h:638
State updating.
Definition: scmTypes.h:539
Restore command.
Definition: scmTypes.h:95
A structure to store keys.
Definition: scmTypes.h:184
OperationType
Different types of operation.
Definition: scmTypes.h:87
IDLE_STATE.
Definition: scmTypes.h:525
The Logging Configuration to be applied or being applied.
Definition: scmTypes.h:710
Structure containing information of an artifact.
Definition: scmTypes.h:737
ADDED or INSERTED.
Definition: scmTypes.h:143
Error Logging Level.
Definition: scmTypes.h:706
Reboot complete device.
Definition: scmTypes.h:668
Device charge result.
Definition: scmTypes.h:473
The payment terminal has not communication with Redsys.
Definition: scmTypes.h:273
LED3.
Definition: scmTypes.h:567
It indicates the employee id.
Definition: scmTypes.h:357
Mifare plus.
Definition: scmTypes.h:40
std::vector< std::string > address
The addresses of the devices.
Definition: scmTypes.h:180
Device payment application information.
Definition: scmTypes.h:294
Disable Payment application.
Definition: scmTypes.h:282
LED2.
Definition: scmTypes.h:566
Decrement command.
Definition: scmTypes.h:97
Enable/disable white list. Available values: "on", "off".
Definition: scmTypes.h:348
Enable/disable financial blacklist. Available values: "on", "off".
Definition: scmTypes.h:347
Query for detailing single operations.
Definition: scmTypes.h:423
Number of hours without updating the black list.
Definition: scmTypes.h:346
Enable/disable ODA cards. Available values: "on", "off".
Definition: scmTypes.h:349
YELLOW.
Definition: scmTypes.h:587
No know product.
Definition: scmTypes.h:440
Add Keys.
Definition: scmTypes.h:215
ArtifactType type
Type of artifact.
Definition: scmTypes.h:741
Structure containing information needed to execute a pass through.
Definition: scmTypes.h:630
ApduTxData txData
APDU exchange for transmissions.
Definition: scmTypes.h:121
PlayProfile playProfile
play profile
Definition: scmTypes.h:510
CYAN.
Definition: scmTypes.h:588
Contains the network address to be tested on that device.
Definition: scmTypes.h:672
PassThrough passThrough
Pass through.
Definition: scmTypes.h:641
Structure defining LED parameters.
Definition: scmTypes.h:592
std::string address
The IP address of the request.
Definition: scmTypes.h:682
Some private card.
Definition: scmTypes.h:439
It indicates the stop where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:356
CardInfo cardinfo
The cad information.
Definition: scmTypes.h:164
State
The different types of upgrade events.
Definition: scmTypes.h:523
Basic information for transferring a file through the network.
Definition: scmTypes.h:222
The terminal shall work in online mode. Available values: "on", "off".
Definition: scmTypes.h:337
boost::system::error_code errorCode
Transaction code result.
Definition: scmTypes.h:460
All of the components/applications.
Definition: scmTypes.h:690
Mifare 1K.
Definition: scmTypes.h:34
State rolling back.
Definition: scmTypes.h:542
std::uint32_t hours
hours
Definition: scmTypes.h:658
The terminal shall work in offline mode. Available values: "on", "off".
Definition: scmTypes.h:338
The payment terminal has some failure.
Definition: scmTypes.h:308
Deepsy SCM namespace that includes the different enums, structs or method signatures that should be u...
Netowrk Configuration.
Definition: scmTypes.h:252
TechTypeId
Identifier for the technology type of the payment application.
Definition: scmTypes.h:444
Credit card.
Definition: scmTypes.h:436
ProductTypeId
Product type identifier.
Definition: scmTypes.h:432
Transport_nfc component.
Definition: scmTypes.h:693
Query for grand total.
Definition: scmTypes.h:420
std::string deviceId
Device name.
Definition: scmTypes.h:655
Unused value.
Definition: scmTypes.h:89
Device confirmation charge.
Definition: scmTypes.h:493
DataBlock structure.
Definition: scmTypes.h:132
std::string deviceId
Device name.
Definition: scmTypes.h:674
RebootType
Reboot type, it defines different reboot types.
Definition: scmTypes.h:665
Reboot.
Definition: scmTypes.h:26
Event
The type of event related to the smart card.
Definition: scmTypes.h:141
Active.
Definition: scmTypes.h:21
Warn Logging Level.
Definition: scmTypes.h:705
Exchange APDU commands.
Definition: scmTypes.h:93
Reset all device slots.
Definition: scmTypes.h:722
RED.
Definition: scmTypes.h:583
NA_COLOR.
Definition: scmTypes.h:581
ROLLBACK_DONE.
Definition: scmTypes.h:532
KeyType
Keys types.
Definition: scmTypes.h:53
std::vector< Command > commands
Command list.
Definition: scmTypes.h:634
std::uint32_t year
year
Definition: scmTypes.h:661
std::vector< std::string > device
The name of the device which belongs to.
Definition: scmTypes.h:178
Not available.
Definition: scmTypes.h:280
std::string keys
The key.
Definition: scmTypes.h:64
APDU RX exchange command.
Definition: scmTypes.h:68
Structure defining a group of LEDs inside a media profile.
Definition: scmTypes.h:599
EMV contact card.
Definition: scmTypes.h:451
Definition: scmTypes.h:754
std::vector< CardOperation > operation
Operation to be performance.
Definition: scmTypes.h:203
std::vector< KeyGroup > keys
List of keys.
Definition: scmTypes.h:218
std::string rxData
The data structure.
Definition: scmTypes.h:72
RequestType
Type of request.
Definition: scmTypes.h:416
AppStatus
Payment Application status.
Definition: scmTypes.h:278
LED7.
Definition: scmTypes.h:571
Increment command.
Definition: scmTypes.h:98
Unused value.
Definition: scmTypes.h:731
The kind of event and the card information.
Definition: scmTypes.h:161
INSTALLING_ROLLBACK_PACKAGE.
Definition: scmTypes.h:531
Updates component.
Definition: scmTypes.h:696
LedColor
Led color.
Definition: scmTypes.h:579
LEDLOGO1.
Definition: scmTypes.h:575
Not available.
Definition: scmTypes.h:332
List of readers.
Definition: scmTypes.h:207
All data card structure.
Definition: scmTypes.h:113
The payment terminal has no GPRS signal or connectivity.
Definition: scmTypes.h:309
Read operation.
Definition: scmTypes.h:91
Band NFC contactless card.
Definition: scmTypes.h:450
SolutionCode
Solution code for the reuslt of the operation.
Definition: scmTypes.h:407
It indicates the zone where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:355
It indicates which pricing plan is configured. Available values: "variable-kft", "fix-kft", "pinpad", "0-mtt", "1-mtt".
Definition: scmTypes.h:336
How much updating retries can be done before refusing bank cards.
Definition: scmTypes.h:345
std::vector< Led > leds
List of LEDs existing in the device.
Definition: scmTypes.h:601
Device PCI Reboot Time.
Definition: scmTypes.h:514
Sam_reader component.
Definition: scmTypes.h:694
State state
State.
Definition: scmTypes.h:551
APDU TX exchange command.
Definition: scmTypes.h:76
State rebooting.
Definition: scmTypes.h:544
PREPARED_TO_INSTALL.
Definition: scmTypes.h:528
Debit card.
Definition: scmTypes.h:435
WorkMode
Work mode indicator, it defines which configuration is been used.
Definition: scmTypes.h:270
LogLevel
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:701
PaymentAppConfigurations paymentAppConfigurations
Payment configurations.
Definition: scmTypes.h:379
Prepaid card.
Definition: scmTypes.h:438
Transport operator identifier.
Definition: scmTypes.h:335
UPDATE_INSTALLED.
Definition: scmTypes.h:530
Query for printing some online copy.
Definition: scmTypes.h:426
Action
Power action events.
Definition: scmTypes.h:18
State installing.
Definition: scmTypes.h:543
Query for detailing general operations.
Definition: scmTypes.h:422
Query for countable closing.
Definition: scmTypes.h:421
Shutdown.
Definition: scmTypes.h:27
SRI_512.
Definition: scmTypes.h:46
BLUE.
Definition: scmTypes.h:584
A simple card operation.
Definition: scmTypes.h:103
Magnetic band card.
Definition: scmTypes.h:452
LED1.
Definition: scmTypes.h:565
TicketMode
Ticket printing configurations.
Definition: scmTypes.h:383
Deep sleep.
Definition: scmTypes.h:24
Query for printing a local copy.
Definition: scmTypes.h:424
Decrement command.
Definition: scmTypes.h:99
Definition: scmTypes.h:747
The payment terminal shall generate the client ticket.
Definition: scmTypes.h:387
Reboot only application.
Definition: scmTypes.h:667
Version version
Version.
Definition: scmTypes.h:248
Empty key.
Definition: scmTypes.h:55
Device play profile.
Definition: scmTypes.h:507
None of the components/applications.
Definition: scmTypes.h:689
CTS256B.
Definition: scmTypes.h:44
Felica.
Definition: scmTypes.h:41
std::string txData
Data structure.
Definition: scmTypes.h:83
std::string inRawData
Data structure for inputs.
Definition: scmTypes.h:119
Enable/disable blacklist. Available values: "on", "off".
Definition: scmTypes.h:343
LED5.
Definition: scmTypes.h:569
Vehicle id.
Definition: scmTypes.h:358
All the data related to the new card event information.
Definition: scmTypes.h:148
SAM.
Definition: scmTypes.h:48
Relation between the property and its value.
Definition: scmTypes.h:363
Access point code.
Definition: scmTypes.h:333
The payment terminal has no keys.
Definition: scmTypes.h:307
Standard file.
Definition: scmTypes.h:733
Not available product.
Definition: scmTypes.h:434
CardType
Available card types.
Definition: scmTypes.h:31
EMV.
Definition: scmTypes.h:47
Device upgrade status.
Definition: scmTypes.h:548
LedId
Led identifier.
Definition: scmTypes.h:562
Sleep.
Definition: scmTypes.h:23
The payment terminal must not generate operation ticket.
Definition: scmTypes.h:386
Not available.
Definition: scmTypes.h:272
LED8.
Definition: scmTypes.h:572
DOWNLOADING_UPDATES.
Definition: scmTypes.h:526
Confirmation charge.
Definition: scmTypes.h:486
GREEN.
Definition: scmTypes.h:585
Timer for counting the consecutive logins.
Definition: scmTypes.h:350
Destination mode configuration.
Definition: scmTypes.h:353
The payment terminal shall generate the trade and client tickets.
Definition: scmTypes.h:388
UpdateState
Defines the UPDATE STATES.
Definition: scmTypes.h:536
Default value.
Definition: scmTypes.h:33
Reset slot 4.
Definition: scmTypes.h:726
It indicates the route which is done in the vehicle where is installed the payment terminal...
Definition: scmTypes.h:354
PaymentAppInfo paymentAppInfo
Payment application information.
Definition: scmTypes.h:326
Libpap emv component.
Definition: scmTypes.h:692
Boot device.
Definition: scmTypes.h:20