0 - Table of Contents
Dynamag, DynaMAX, and eDynamo| Secure Card Reader Authenticator | Programmer’s Reference (WCF)
Page 5
Table of Contents
SOFTWARE LICENSE AGREEMENT .................................................................................................. 3
Table of Contents ............................................................................................................................... 5
1 Introduction ................................................................................................................................. 7
1.1 About the MagTek SCRA WCF Demo ............................................................................... 7
1.2 Nomenclature ...................................................................................................................... 7
1.3 SDK Contents ....................................................................................................................... 7
1.4 System Requirements ........................................................................................................ 8
1.5 Interfaces for Operating Systems ..................................................................................... 8
2 How to Set Up the MagTek SCRA Libraries ............................................................................ 9
2.1 How to Setup Up the MagTek SCRA Development Environment ................................ 9
2.2 How to Connect MTSCRA WCF Service to WCF Host Demo ......................................... 9
2.2.1 Connect web service in C# Project ........................................................................... 9
2.2.2 Connect ajax service in web page javascript ........................................................ 11
2.3 How to Connect DynaMAX or eDynamo to a Windows Host via BLE ........................ 11
3 MTSCRA Library Functions ...................................................................................................... 16
3.1 getDeviceList ..................................................................................................................... 16
3.2 getSDKVersion ................................................................................................................... 16
3.3 openDevice ........................................................................................................................ 16
3.4 closeDevice ........................................................................................................................ 16
3.5 isDeviceConnected ........................................................................................................... 17
3.6 isDeviceEMV ....................................................................................................................... 17
3.7 sendCommand .................................................................................................................. 17
3.8 sendCommandWithLength ............................................................................................. 17
3.9 getCardData ....................................................................................................................... 17
3.10 getResultCode ............................................................................................................... 18
3.11 startTransaction (eDynamo Only) ............................................................................... 18
3.12 cancelTransaction (eDynamo Only) ............................................................................ 19
3.13 setUserSelectionResult (eDynamo Only) ................................................................... 19
3.14 setAcquirerResponse (eDynamo Only) ...................................................................... 21
3.15 getTransactionProgress ............................................................................................... 21
4 MTSCRA Library Data Type and Structures .......................................................................... 22
4.1 Device Connection State .................................................................................................. 22
4.2 CardData ............................................................................................................................ 22