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 =
"";
154 std::string atqa =
"";
155 std::string sak =
"";
156 std::string ats =
"";
169 std::string deviceid =
"";
170 std::string socket =
"";
171 std::string samuid =
"";
178 std::string timestamp =
"";
193 char32_t priority = 0;
195 std::string timestamp =
"";
201 std::string deviceId =
"";
208 std::string deviceId =
"";
210 std::string timestamp =
"";
216 std::string deviceId =
"";
224 std::string port =
"";
225 std::string filename =
"";
226 std::string timeoutMs =
"";
227 std::string protocol =
"";
228 std::string user =
"";
229 std::string pass =
"";
235 std::string adkVersion =
"";
236 std::string sdkVersion =
"";
237 std::string serialNumber =
"";
238 std::string osVersion =
"";
239 std::string appVersion =
"";
240 std::string paymentAppVersion =
"";
246 std::string deviceId =
"";
253 std::string localIpAddress =
"";
254 std::string netmask =
"";
255 std::string gateway =
"";
256 std::string dnsServer =
"";
257 std::string dhcp =
"";
258 std::string hostName =
"";
264 std::string deviceId =
"";
295 std::string deviceId =
"";
316 std::string protocolVersion =
"";
317 std::string timestamp =
"";
324 std::string deviceId =
"";
365 std::string value =
"";
377 std::string deviceId =
"";
393 std::string uid =
"";
394 std::string price =
"";
401 std::string deviceId =
"";
458 std::string uid =
"";
462 std::string PAN =
"";
463 std::string operationId =
"";
466 std::string appId =
"";
467 std::string countryId =
"";
468 std::string timestamp =
"";
474 std::string deviceId =
"";
481 std::string deviceId =
"";
487 std::string uid =
"";
494 std::string deviceId =
"";
501 std::string readerId =
"";
508 std::string deviceId =
"";
515 std::string deviceId =
"";
516 unsigned int hour = 0;
517 unsigned int minute = 0;
518 unsigned int sec = 0;
549 std::string deviceId =
"";
556 unsigned int tone_hz = 0;
557 unsigned int duration_ms = 0;
601 unsigned int duration_ms = 0;
607 std::string profileId =
"";
616 std::string deviceId =
"";
625 char32_t errorCode = 0;
631 std::string readerId =
"";
632 std::string uid =
"";
639 std::string deviceId =
"";
646 std::string uid =
"";
647 std::uint8_t counter = 0;
648 unsigned int value = 0;
713 std::string address =
"";
714 unsigned int port = 0;
715 unsigned int rebootsUntilLoggingDisabled = 0;
System component.
Definition: scmTypes.h:694
Request of charging to a smart card.
Definition: scmTypes.h:391
std::string address
Network address to be checked, it can be an IP or Name address.
Definition: scmTypes.h:674
The status of the network connectivity.
Definition: scmTypes.h:678
Extra information, such us expedition.
Definition: scmTypes.h:358
Basic information for get the version.
Definition: scmTypes.h:233
REMOVED.
Definition: scmTypes.h:143
Access point type. Available values: "input", "output".
Definition: scmTypes.h:333
Structure for UltraLight counter requests.
Definition: scmTypes.h:644
All the date related to the reader information.
Definition: scmTypes.h:167
Query for printing the last online copy.
Definition: scmTypes.h:424
EMV NFC contactless card.
Definition: scmTypes.h:447
Banc contactless card.
Definition: scmTypes.h:448
Increment command.
Definition: scmTypes.h:95
KeyType keytype
The key type.
Definition: scmTypes.h:62
Debug Logging Level.
Definition: scmTypes.h:702
Mifare desfire.
Definition: scmTypes.h:37
Timer in minutes for updating the black list in the payment terminal.
Definition: scmTypes.h:343
Property
It defines the basic setting for the transport operator.
Definition: scmTypes.h:329
The terminal shall work in offline mode the online mode fails. Available values: "on", "off".
Definition: scmTypes.h:338
std::vector< Key > key
Vector of keys.
Definition: scmTypes.h:194
The payment terminal is not operational.
Definition: scmTypes.h:304
Device payment application information.
Definition: scmTypes.h:322
Reset slot 3.
Definition: scmTypes.h:724
NA_LED.
Definition: scmTypes.h:563
No know technology.
Definition: scmTypes.h:452
All the date related to the device information.
Definition: scmTypes.h:175
The device network configuration.
Definition: scmTypes.h:262
Not available.
Definition: scmTypes.h:384
Device full version.
Definition: scmTypes.h:244
FunctionalityIndicator
Functionality indicator.
Definition: scmTypes.h:300
PaymentAppStatus paymentAppStatus
Payment application status.
Definition: scmTypes.h:296
Authentication operation.
Definition: scmTypes.h:89
DateTime struct which contains the response received from the service.
Definition: scmTypes.h:652
INSTALLING.
Definition: scmTypes.h:528
std::string mediaProfileId
Media profile ID.
Definition: scmTypes.h:502
The transaction was refused.
Definition: scmTypes.h:410
SRT_512.
Definition: scmTypes.h:44
A type.
Definition: scmTypes.h:55
State wait rollback.
Definition: scmTypes.h:539
ChargeResult chargeResult
Charge result.
Definition: scmTypes.h:475
Standby.
Definition: scmTypes.h:21
NetworkConfiguration networkConfiguration
Configuration.
Definition: scmTypes.h:265
Transaction mode configuration.
Definition: scmTypes.h:340
std::vector< Reader > readers
List of readers.
Definition: scmTypes.h:209
MAGENTA.
Definition: scmTypes.h:585
Device payment terminal configuration.
Definition: scmTypes.h:375
Device request of charging.
Definition: scmTypes.h:399
The payment terminal has communications with Redsys.
Definition: scmTypes.h:273
RequestCharge requestCharge
Charge request.
Definition: scmTypes.h:402
Mifare 4K.
Definition: scmTypes.h:34
Enable Payment application.
Definition: scmTypes.h:280
ApduRxData rxData
APDU exchange for receptions.
Definition: scmTypes.h:121
LED9.
Definition: scmTypes.h:572
Configuration component.
Definition: scmTypes.h:690
Info Logging Level.
Definition: scmTypes.h:703
std::uint32_t seconds
seconds
Definition: scmTypes.h:655
State idle.
Definition: scmTypes.h:537
Not available.
Definition: scmTypes.h:408
Transfer command.
Definition: scmTypes.h:93
It contains the information related to set the Payment Application configuration. ...
Definition: scmTypes.h:285
Not available.
Definition: scmTypes.h:302
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:199
Reset slot 2.
Definition: scmTypes.h:723
Key group.
Definition: scmTypes.h:191
A structure to fix the authentication keys.
Definition: scmTypes.h:60
List of property configurations.
Definition: scmTypes.h:369
std::string deviceId
Device name.
Definition: scmTypes.h:680
Mifare ultra light C.
Definition: scmTypes.h:36
Not available.
Definition: scmTypes.h:417
The transaction was authorized.
Definition: scmTypes.h:409
Commercial card.
Definition: scmTypes.h:436
Component
Defines the type of components or applications inside the SCM device.
Definition: scmTypes.h:686
LED4.
Definition: scmTypes.h:567
Hibernate.
Definition: scmTypes.h:24
Structure defining a sound inside a media profile.
Definition: scmTypes.h:554
ECO query.
Definition: scmTypes.h:427
Maximum number of attempts that can be done with bank card.
Definition: scmTypes.h:350
std::uint32_t minutes
minutes
Definition: scmTypes.h:656
std::vector< PaymentAppConfiguration > paymentAppProperty
Properties.
Definition: scmTypes.h:371
std::string inRawData
Data structure for inputs.
Definition: scmTypes.h:623
ChargeConfirmation chargeConfirmation
charge confirmation
Definition: scmTypes.h:495
UPDATE_DOWNLOADED.
Definition: scmTypes.h:526
The payment terminal has not been initialised.
Definition: scmTypes.h:305
Sale.
Definition: scmTypes.h:418
Mifare mini.
Definition: scmTypes.h:38
Play profile.
Definition: scmTypes.h:499
unsigned int time_ms
Average time on reaching that address.
Definition: scmTypes.h:682
Ticket price.
Definition: scmTypes.h:339
Calypso.
Definition: scmTypes.h:41
Query for assigning the trade allocation.
Definition: scmTypes.h:426
The result of the charge request.
Definition: scmTypes.h:456
Server component.
Definition: scmTypes.h:696
SamSlot
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:719
Structure used to send commands (input) in raw data form and store the response (output) ...
Definition: scmTypes.h:621
Terminal language. Available languages: "spanish", "catalan", "english", "french", "german", "italian", "portuguese", "galician", "basque", "valencian".
Definition: scmTypes.h:351
Not available technology.
Definition: scmTypes.h:445
Reset slot 1.
Definition: scmTypes.h:722
std::uint32_t day
day
Definition: scmTypes.h:658
The payment terminal is operational.
Definition: scmTypes.h:303
LED6.
Definition: scmTypes.h:569
Unknow result.
Definition: scmTypes.h:411
EMV contactless card.
Definition: scmTypes.h:446
LED10.
Definition: scmTypes.h:573
std::string outRawData
Data structure for outputs.
Definition: scmTypes.h:624
B type.
Definition: scmTypes.h:56
WHITE.
Definition: scmTypes.h:581
std::uint32_t month
month
Definition: scmTypes.h:659
At which time it is made the shift change.
Definition: scmTypes.h:341
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:479
State transferring.
Definition: scmTypes.h:540
It contains the information related to get the Payment Application information.
Definition: scmTypes.h:312
Device pass through.
Definition: scmTypes.h:637
State updating.
Definition: scmTypes.h:538
Restore command.
Definition: scmTypes.h:94
A structure to store keys.
Definition: scmTypes.h:183
OperationType
Different types of operation.
Definition: scmTypes.h:86
IDLE_STATE.
Definition: scmTypes.h:524
The Logging Configuration to be applied or being applied.
Definition: scmTypes.h:709
ADDED or INSERTED.
Definition: scmTypes.h:142
Error Logging Level.
Definition: scmTypes.h:705
Reboot complete device.
Definition: scmTypes.h:667
Device charge result.
Definition: scmTypes.h:472
The payment terminal has not communication with Redsys.
Definition: scmTypes.h:272
LED3.
Definition: scmTypes.h:566
It indicates the employee id.
Definition: scmTypes.h:356
Mifare plus.
Definition: scmTypes.h:39
std::vector< std::string > address
The addresses of the devices.
Definition: scmTypes.h:179
Device payment application information.
Definition: scmTypes.h:293
Disable Payment application.
Definition: scmTypes.h:281
LED2.
Definition: scmTypes.h:565
Decrement command.
Definition: scmTypes.h:96
Enable/disable white list. Available values: "on", "off".
Definition: scmTypes.h:347
Enable/disable financial blacklist. Available values: "on", "off".
Definition: scmTypes.h:346
Query for detailing single operations.
Definition: scmTypes.h:422
Number of hours without updating the black list.
Definition: scmTypes.h:345
Enable/disable ODA cards. Available values: "on", "off".
Definition: scmTypes.h:348
YELLOW.
Definition: scmTypes.h:586
No know product.
Definition: scmTypes.h:439
Add Keys.
Definition: scmTypes.h:214
Structure containing information needed to execute a pass through.
Definition: scmTypes.h:629
ApduTxData txData
APDU exchange for transmissions.
Definition: scmTypes.h:120
PlayProfile playProfile
play profile
Definition: scmTypes.h:509
CYAN.
Definition: scmTypes.h:587
Contains the network address to be tested on that device.
Definition: scmTypes.h:671
PassThrough passThrough
Pass through.
Definition: scmTypes.h:640
Structure defining LED parameters.
Definition: scmTypes.h:591
std::string address
The IP address of the request.
Definition: scmTypes.h:681
Some private card.
Definition: scmTypes.h:438
It indicates the stop where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:355
CardInfo cardinfo
The cad information.
Definition: scmTypes.h:163
State
The different types of upgrade events.
Definition: scmTypes.h:522
Basic information for transferring a file through the network.
Definition: scmTypes.h:221
The terminal shall work in online mode. Available values: "on", "off".
Definition: scmTypes.h:336
boost::system::error_code errorCode
Transaction code result.
Definition: scmTypes.h:459
All of the components/applications.
Definition: scmTypes.h:689
Mifare 1K.
Definition: scmTypes.h:33
State rolling back.
Definition: scmTypes.h:541
std::uint32_t hours
hours
Definition: scmTypes.h:657
The terminal shall work in offline mode. Available values: "on", "off".
Definition: scmTypes.h:337
The payment terminal has some failure.
Definition: scmTypes.h:307
Deepsy SCM namespace that includes the different enums, structs or method signatures that should be u...
Netowrk Configuration.
Definition: scmTypes.h:251
TechTypeId
Identifier for the technology type of the payment application.
Definition: scmTypes.h:443
Credit card.
Definition: scmTypes.h:435
ProductTypeId
Product type identifier.
Definition: scmTypes.h:431
Transport_nfc component.
Definition: scmTypes.h:692
Query for grand total.
Definition: scmTypes.h:419
std::string deviceId
Device name.
Definition: scmTypes.h:654
Unused value.
Definition: scmTypes.h:88
Device confirmation charge.
Definition: scmTypes.h:492
DataBlock structure.
Definition: scmTypes.h:131
std::string deviceId
Device name.
Definition: scmTypes.h:673
RebootType
Reboot type, it defines different reboot types.
Definition: scmTypes.h:664
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:704
Exchange APDU commands.
Definition: scmTypes.h:92
Reset all device slots.
Definition: scmTypes.h:721
RED.
Definition: scmTypes.h:582
NA_COLOR.
Definition: scmTypes.h:580
ROLLBACK_DONE.
Definition: scmTypes.h:531
KeyType
Keys types.
Definition: scmTypes.h:52
std::vector< Command > commands
Command list.
Definition: scmTypes.h:633
std::uint32_t year
year
Definition: scmTypes.h:660
std::vector< std::string > device
The name of the device which belongs to.
Definition: scmTypes.h:177
Not available.
Definition: scmTypes.h:279
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:598
EMV contact card.
Definition: scmTypes.h:450
std::vector< CardOperation > operation
Operation to be performance.
Definition: scmTypes.h:202
std::vector< KeyGroup > keys
List of keys.
Definition: scmTypes.h:217
std::string rxData
The data structure.
Definition: scmTypes.h:71
RequestType
Type of request.
Definition: scmTypes.h:415
AppStatus
Payment Application status.
Definition: scmTypes.h:277
LED7.
Definition: scmTypes.h:570
Increment command.
Definition: scmTypes.h:97
The kind of event and the card information.
Definition: scmTypes.h:160
INSTALLING_ROLLBACK_PACKAGE.
Definition: scmTypes.h:530
Updates component.
Definition: scmTypes.h:695
LedColor
Led color.
Definition: scmTypes.h:578
LEDLOGO1.
Definition: scmTypes.h:574
Not available.
Definition: scmTypes.h:331
List of readers.
Definition: scmTypes.h:206
All data card structure.
Definition: scmTypes.h:112
The payment terminal has no GPRS signal or connectivity.
Definition: scmTypes.h:308
Read operation.
Definition: scmTypes.h:90
Band NFC contactless card.
Definition: scmTypes.h:449
SolutionCode
Solution code for the reuslt of the operation.
Definition: scmTypes.h:406
It indicates the zone where is the transport vehicle which has installed the payment terminal...
Definition: scmTypes.h:354
It indicates which pricing plan is configured. Available values: "variable-kft", "fix-kft", "pinpad", "0-mtt", "1-mtt".
Definition: scmTypes.h:335
How much updating retries can be done before refusing bank cards.
Definition: scmTypes.h:344
std::vector< Led > leds
List of LEDs existing in the device.
Definition: scmTypes.h:600
Device PCI Reboot Time.
Definition: scmTypes.h:513
Sam_reader component.
Definition: scmTypes.h:693
State state
State.
Definition: scmTypes.h:550
APDU TX exchange command.
Definition: scmTypes.h:75
State rebooting.
Definition: scmTypes.h:543
PREPARED_TO_INSTALL.
Definition: scmTypes.h:527
Debit card.
Definition: scmTypes.h:434
WorkMode
Work mode indicator, it defines which configuration is been used.
Definition: scmTypes.h:269
LogLevel
Logging Level values indicating severity of the logs.
Definition: scmTypes.h:700
PaymentAppConfigurations paymentAppConfigurations
Payment configurations.
Definition: scmTypes.h:378
Prepaid card.
Definition: scmTypes.h:437
Transport operator identifier.
Definition: scmTypes.h:334
UPDATE_INSTALLED.
Definition: scmTypes.h:529
Query for printing some online copy.
Definition: scmTypes.h:425
Action
Power action events.
Definition: scmTypes.h:17
State installing.
Definition: scmTypes.h:542
Query for detailing general operations.
Definition: scmTypes.h:421
Query for countable closing.
Definition: scmTypes.h:420
Shutdown.
Definition: scmTypes.h:26
SRI_512.
Definition: scmTypes.h:45
BLUE.
Definition: scmTypes.h:583
A simple card operation.
Definition: scmTypes.h:102
Magnetic band card.
Definition: scmTypes.h:451
LED1.
Definition: scmTypes.h:564
TicketMode
Ticket printing configurations.
Definition: scmTypes.h:382
Deep sleep.
Definition: scmTypes.h:23
Query for printing a local copy.
Definition: scmTypes.h:423
Decrement command.
Definition: scmTypes.h:98
The payment terminal shall generate the client ticket.
Definition: scmTypes.h:386
Reboot only application.
Definition: scmTypes.h:666
Version version
Version.
Definition: scmTypes.h:247
Empty key.
Definition: scmTypes.h:54
Device play profile.
Definition: scmTypes.h:506
None of the components/applications.
Definition: scmTypes.h:688
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:342
LED5.
Definition: scmTypes.h:568
Vehicle id.
Definition: scmTypes.h:357
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:362
Access point code.
Definition: scmTypes.h:332
The payment terminal has no keys.
Definition: scmTypes.h:306
Not available product.
Definition: scmTypes.h:433
CardType
Available card types.
Definition: scmTypes.h:30
EMV.
Definition: scmTypes.h:46
Device upgrade status.
Definition: scmTypes.h:547
LedId
Led identifier.
Definition: scmTypes.h:561
Sleep.
Definition: scmTypes.h:22
The payment terminal must not generate operation ticket.
Definition: scmTypes.h:385
Not available.
Definition: scmTypes.h:271
LED8.
Definition: scmTypes.h:571
DOWNLOADING_UPDATES.
Definition: scmTypes.h:525
Confirmation charge.
Definition: scmTypes.h:485
GREEN.
Definition: scmTypes.h:584
Timer for counting the consecutive logins.
Definition: scmTypes.h:349
Destination mode configuration.
Definition: scmTypes.h:352
The payment terminal shall generate the trade and client tickets.
Definition: scmTypes.h:387
UpdateState
Defines the UPDATE STATES.
Definition: scmTypes.h:535
Default value.
Definition: scmTypes.h:32
Reset slot 4.
Definition: scmTypes.h:725
It indicates the route which is done in the vehicle where is installed the payment terminal...
Definition: scmTypes.h:353
PaymentAppInfo paymentAppInfo
Payment application information.
Definition: scmTypes.h:325
Libpap emv component.
Definition: scmTypes.h:691
Boot device.
Definition: scmTypes.h:19