2,640
社区成员
发帖
与我相关
我的任务
分享
#define USB_PORT (100)
.............
g____d8handle = dc_init( USB_PORT, 0 );
if( ( int )g____d8handle > 0 )
{
m_reader1.SetWindowText( "非接触式读卡器" );
sprintf( g____readername[ 0 ], "非接触式读卡器" );
i++;
}
在打开USB读卡器的时候,后面的波特率无意义,可以给0.
int st = dc_pro_commandlink( g____d8handle, ( unsigned char )g____SendLen[ cardindex ], g____SendBuf[ cardindex ], &rlen, g____RecvBuf[ cardindex ], 7, 40 );