| 数据搜索系统,热门电子元器件搜索 |
|
AN3224 数据表(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3224 数据表(HTML) 28 Page - STMicroelectronics |
|
28 / 49 page ![]() RF ISO 15693 High-level commands AN3224 28/49 Doc ID 17559 Rev 2 5.2 RF ISO 15693 High-level Inventory command To issue an RF ISO 15693 High-level Inventory command, send the FEISC_0xB0_ISOCmd function with the strReqData set to ‘0100’ (Inventory request). At the end of an inventory request, all the transponders are put in Quiet mode (ISO 15693 “STAY QUIET”). To be able to communicate with the detected transponder. A “RESET TO READY” RF request must be issued. Below are code examples in Visual Basic and C/C++. 5.2.1 Example of High-level Inventory command Visual Basic source code Private Function Cmd_Inventory_FEIG() As Boolean Dim strReqData As String Dim lngReqDataLen As Long Dim lngRspLength As Long Dim strRespData As String * 512 Dim lngRespDataLen As Long Dim lngStatus As Long Dim i As Long Dim lngTranspNumber As Long Dim strtransponder As String 'init display ‘txtInventoryRF_answer.Text = "" ‘For i = 0 To 2 ‘ txtTransponderUID(i).Text = "" ‘ txtTransponderDSFID(i).Text = "" ‘Next i ' Inventory request Host mode : 0x0100 strReqData = "0100" lngReqDataLen = Len(strReqData) ' FEIG USB INVENTORY request in Host mode lngStatus = FEISC_0xB0_ISOCmd(lngAttachedDeviceHandle(0), &HFF, _ strReqData, lngReqDataLen, strRespData, _ lngRespDataLen, 1) ' RF INVENTORY REQUEST RESULT ' if(lngStatus = 0) then PASS else FAIL ' if (lngRespDataLen = 0) then No transponder answer ' else strRespData contains the transponder(s) answer(s) If (lngRespDataLen = 0) Then Cmd_Inventory_FEIG = False ‘txtInventoryRF_answer.Text = "No Tag answer detected" Else lngTranspNumber = CLng("&h" & Mid(strRespData, 1, 2)) If (lngRespDataLen > 1 And lngTranspNumber > 3) Then Cmd_Inventory_FEIG = False ‘Too much Tags detected : |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |