| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3224 bảng dữ liệu(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3224 bảng dữ liệu(HTML) 41 Page - STMicroelectronics |
|
41 / 49 page ![]() AN3224 RF ISO 15693 Transparent commands Doc ID 17559 Rev 2 41/49 ' RF WRITE 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 WriteSingleBlockRF = False ‘txtWriteRF_answer.Text = "No detected Tag answer" Else If (Mid(strRespData, 1, 2) = "00") Then WriteSingleBlockRF = True ‘txtWriteRF_answer.Text = strRespData & " = write single block OK" Else WriteSingleBlockRF = False ‘txtWriteRF_answer.Text = strRespData & " = Error code" End If End If End Function 6.3.2 Transparent Write single block command C/C++ source code example int WriteSingleBlockRF (void) { int entry3; int i; int iRspLength=0x18; int iReqLen,iRspLen,iResult; unsigned char sReqData[32]={0}; unsigned char sRspData[32]={0}; /* RF WRITE SINGLE BLOCK request format*/ /* FEIG reader parameters : 021F*/ /* Flag : 0A */ /* RF Write command : 21*/ /* address : 01FA (note: send FA01 = LSB BYTE first) */ /* Data : 01020304*/ /* request = 021F + 0A21FA0101020304*/ sReqData[0] = (UCHAR)0x02; sReqData[1] = (UCHAR)0x1F; sReqData[2] = (UCHAR)0x0A; sReqData[3] = (UCHAR)0x21; sReqData[4] = Address_parameter[1];/* ex: 0x01FA -> FA 01 to be sent */ sReqData[5] = Address_parameter[0]; sReqData[6] = Data_parameter[0]; sReqData[7] = Data_parameter[1]; sReqData[8] = Data_parameter[2]; sReqData[9] = Data_parameter[3]; iReqLen = 10; /* (number of characters :param=2 in request) */ printf("\n\n\n\n"); |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |