Chapter 37 Security API | PCI-DMC-A01 / PCI-DMC-B01
37.1 _DMC_01_ read_security
FORMAT
I16 PASCAL _DMC_01_read_security (U16 CardNo, U16 page, U16 array)
Purpose
Reads security data specified by the Master Card from memory.
Parameters
Name
Data Type
CardNo
Page
array
Example
U16 CardNo=0;
U16 Page=0;
U16 array;
I16 status = _ DMC_01_read_security (CardNo, page ,&array);
37.2 _DMC_01_ read_security_status
FORMAT
I16 PASCAL _DMC_01_read_security_status (U16 CardNo, U16 status)
Purpose
Reads current read/write status of the Master Card.
Parameters
Name
Data Type
CardNo
status
Example
U16 CardNo=0;
U16 *status;
I16 status = _DMC_01_read_seacurity_status (CardNo, &status );
37-2
Unit
U16
Number Unit
U16
Number Unit
U16
Number
// 0~F, 16 pages in total
Unit
U16
Number Unit
U16
Flag
Description
CardNo is between 0~15
Specified memory page number for read
Read data from specified memory
Description
CardNo is between 0~15
&H4(Read Only) or &H6(Read/Write)
Revised March, 2012