| 전자부품 데이터시트 검색엔진 |
|
AN3224 데이터시트(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3224 데이터시트(HTML) 37 Page - STMicroelectronics |
|
37 / 49 page ![]() AN3224 RF ISO 15693 Transparent commands Doc ID 17559 Rev 2 37/49 1) ' RF READ REQUEST RESULT ' if(lngStatus = 0) then PASS else FAIL ' if (lngRespDataLen = 0) then No transponder answer ' else strRespData contains the transponder answer If (lngRespDataLen = 0) Then RFReadsingleBlock = False ‘txtReadRF_answer.Text = "No detected Tag answer" Else If (Mid(strRespData, 1, 2) = "00") Then RFReadsingleBlock = True ‘txtReadRF_answer.Text = strRespData & " = read single block OK" ‘txtReadData.Text = Mid(strRespData, 3, 8) Else RFReadsingleBlock = False ‘txtReadRF_answer.Text = strRespData & " = Error code" End If End If End Function 6.2.2 Transparent Read single block command C/C++ source code example int RFReadsingleBlock (void) { int entry3; int i; int iRspLength=56; int iReqLen,iRspLen,iResult; unsigned char sReqData[32]={0}; unsigned char sRspData[32]={0}; /* RF READ SINGLE BLOCK request format */ /* FEIG reader parameters : 021F*/ /* Flag : 0A */ /* RF Read single block command : 20*/ /* Address :01FA (note : send FA01 = LSB BYTE first)*/ /* request = 021F + 0A20FA01*/ sReqData[0] = (UCHAR)0x02; sReqData[1] = (UCHAR)0x1F; sReqData[2] = (UCHAR)0x0A; sReqData[3] = (UCHAR)0x20; sReqData[4] = 0xFA sReqData[5] = 0x01 iReqLen = 6; /* (number of characters :param=2 in request) */ printf("\n\n\n\n"); printf("\n>>> RF Read at adress %.2x%.2x : ",Address_parameter[0], Address_parameter[1]); printf("\n --> request : {021F} "); for (i=2; i<iReqLen; i++) printf("%.2X",sReqData[i]); /* FEIG USB request in transparent mode */ |
|
링크 URL |
| 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 |