数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3224 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN3224
功能描述  Developing an application allowing PR101-USB and MR101-USB FEIG readers to communicate with M24LRXX transponders
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3224 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN3224 Datasheet HTML 19Page - STMicroelectronics AN3224 Datasheet HTML 20Page - STMicroelectronics AN3224 Datasheet HTML 21Page - STMicroelectronics AN3224 Datasheet HTML 22Page - STMicroelectronics AN3224 Datasheet HTML 23Page - STMicroelectronics AN3224 Datasheet HTML 24Page - STMicroelectronics AN3224 Datasheet HTML 25Page - STMicroelectronics AN3224 Datasheet HTML 26Page - STMicroelectronics AN3224 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 49 page
background image
AN3224
PR101-USB and MR101-USB reader detection
Doc ID 17559 Rev 2
23/49
'- txtDeviceID.Text = "Device-ID : " & lngDeviceId(i)
Next i
End If
'--- analysis if FEIG USB readers are connected and how much
If (lngReaderNumber = 0) Then
'--- NO FEIG USB device detected
‘txtDetectResult.Text = "No FEIG USB Reader detected"
detect_USB_FEIG_reader = False
ElseIf (lngReaderNumber > 1) Then
'--- TOO MUCH DETECTED FEIG USB READERs
‘txtDetectResult.Text = "Too much FEIG USB Reader detected"
detect_USB_FEIG_reader = False
ElseIf (lngReaderNumber = 1) Then
'--- only One FEIG USB device detected OK
glngFEUSBhandle = FEUSB_OpenDevice(lngDeviceId(1))
If (glngFEUSBhandle < 0) Then
error = FEUSB_CloseDevice(glngFEUSBhandle)
detect_USB_FEIG_reader = False
Else
lngAttachedDeviceHandle(0) = FEISC_NewReader(glngFEUSBhandle)
detect_USB_FEIG_reader = True
End If
End If
End Function
4.4
C/C++ source code example
/* global variables */
int iDeviceHandle;
int iFeiscHandle;
int main ()
{
char
sDeviceHandle[32];
char
sDeviceName[32];
char
sDeviceSerialNumber[32];
char
sDeviceFamilyName[32];
char
sDevicePresence[2];
DWORD dwDeviceSerialNumber = 0;
FEUSB_ClearScanList();/* check USB device connected */
while (FEUSB_Scan(FEUSB_SCAN_FIRST,NULL) < 0)
{
/* time out to be added toexit while loop If no reader connected
*/
/*return 0;
}
/* GetScanListPara : Get Detected FEIG USB device parameters */
FEUSB_GetScanListPara( 0, "DeviceName", sDeviceName ) ;
FEUSB_GetScanListPara( 0, "Device-ID", sDeviceSerialNumber ) ;
FEUSB_GetScanListPara( 0, "DeviceHnd", sDeviceHandle ) ;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com