поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN3224 датащи(PDF) 20 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
Logo STMICROELECTRONICS - STMicroelectronics

AN3224 датащи(HTML) 20 Page - STMicroelectronics

Back Button AN3224 Datasheet HTML 16Page - STMicroelectronics AN3224 Datasheet HTML 17Page - STMicroelectronics AN3224 Datasheet HTML 18Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 49 page
background image
PR101-USB and MR101-USB reader detection
AN3224
20/49
Doc ID 17559 Rev 2
4.2
Detection and connection sequence
The sequence required to perform reader detection and connection is the following:
1.
Call the FEUSB_ClearScanList function to re-initialize the USB detection process.
2.
Call the FEUSB_Scan function to create the list of USB readers connected to the host
ports. The list is stored in the oSearch variable. An error code is sent back if no reader
have been detected.
3.
Call the FEUSB_GetScanListSize function to obtain the number of detected
readers.
4.
Call the FEUSB_GetScanListPara function to retrieve the data related to the
detected readers, together with the identifiers (Device-ID) assigned to each detected
reader.
5.
Call the FEUSB_OpenDevice function to open a communication channel between an
USB reader, identified by Device-ID, and the FEUSB dll. The function sends back the
USB handle that will be used to manage further FEUSB communication with the
reader.
6.
Call the FEISC_NewReader function to open a communication channel between an
USB reader, identified by its USB handle, and the FEISC dll. The function sends back
the attached device handle (lngAttachedDeviceHandle variable) that will be used to
manage further FEISC communication with the reader.
The detect_FEIG_USB_reader() function returns TRUE if a FEIG USB reader is
detected and FALSE otherwise.
7.
When data transmissions and receptions have completed, call the
FEUSB_CloseDevice
function to close USB communication.
Hereafter are source code examples of reader detection and connection examples in Visual
Basic and C/C++.
4.3
Visual Basic source code example
‘--- global variable to manage FEUSB handle
Public glngFEUSBhandle as long
‘--- global variable to manage FEISC handle
Public lngAttachedDeviceHandle() as long
'--- Detect FEIG USB readers (detected=true, non-detected=false) ---
Private Function detect_USB_FEIG_reader() As Boolean
Dim Back As Long
Dim i As Long
Dim Cnt As Integer
Dim Char As String
Dim CharCnt As Integer
Dim oSearch As FEUSB_SCANSEARCH
Dim lngReaderNumber As Long
Dim error As Long
Dim DeviceHnd As Long
Dim lngDeviceId(0 To 15) As Long
Dim strFamilyName(0 To 15) As String
Dim strDeviceName(0 To 15) As String
Dim lngPresent(0 To 15) As Long



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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