




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
ShenZhenBRD-公司:功能簡 功能特 技術參 管腳定 電路圖 封 天線接 通訊協(xié) RS232數據格 數據格 數據 數據幀各字段說 命 命令描 系統(tǒng)命 設置波特率 設置蜂鳴器 設置LED燈 模塊休眠SET_HALT ISO14443命 認證卡片密鑰PICCAUTHKEY 讀卡 寫卡 寫untralight卡 初始化電子錢包 電子錢包值操作 備份電子錢包值 讀電子錢包值 卡片復位 激活卡片 請求應答 數據交互命令 讀 讀 激活Felica卡 尋卡 讀卡 寫卡 鎖塊 寫AFI 鎖AFI 寫DSFID 鎖DSFID 獲取卡片信息 DC工作溫度:-20°C~+80°C溫度:-40°C~ 地地 99打開里的IPX封裝庫,用Pro 99軟件打開。固定:8固定:1固定:1811121N1121N1卡片認證-讀讀AFIDSFIDDSFID異或校驗錯誤—LRC命令不存在—NOTHIS:intSetUARTBaudRate(unsignedcharucRates)ucRates:(ParameterReturn:0(OK)orError0000:intSetBuzzer(unsignedcharucRates,unsignedcharucTimes)beepkeetimeswillbeucRates*50msandbeepucTimesReturn:0(OK)orError000300設置LED :intSetLed(unsignedcharucRates,unsignedcharucTimes)ShinekeetimeswillbeucRates*50msandgoout(500-ucRates*50)msFlickerucTimesReturn:0(OK)orError000300 SET_HALT:intSetHalt(void)Return:0(OK)orError0000ISO14443PICCAUTHKEY:intPiccAuthKey unsignedcharunsignedcharaddr,unsignedchar*pSnr,unsignedchar*pKey)0x61--blocknumber(1byte): PLUSCPU(2K):0~127PLUSCPU(4K):
cardserialifcardSerialNomorethan4bytes,only4MSB6byteskeyReturn:0(OK)orErrorCode0060041DB76057FFFFFFFFFF00:intPiccRead(unsignedcharucBlock,unsignedcharBlocknumber(1byte): PLUSBlockdataReturn:0(OK)orError0000050505050505050505050505050505:intPiccWrite(unsignedcharucBlock,unsignedcharPLUSDatatoAfteroneblockhavebeenauthenticatedsuccessfully,theotherblockinthesamesectorneednoauthenticationReturn:0(OK)orError000405050505050505050505050505050500:intPiccULWrite(unsignedcharucBlock,unsignedcharBlockPLUSDatatowrite(4bytes)Return:0(OK)orErrorCode000405050500:intPiccInitVL(unsignedcharucBlock,unsignedcharPLUSDatatoValue,Signednumber,LSBfirstReturn:0(OK)orErrorCode實現功能:初始化數據塊5為電子錢包功能,初始值為080000000508000000:intPiccValueOper(unsignedcharunsignedcharucBlock,unsignedchar*pValue,unsignedcharucTransBlock 0xC0–withdraw/decrease0xC1–deposit/increase
PLUSValue,Signednumber,LSBtransferorconfirmtoanotherblock(1byte)inthesameReturn:0(OK)orError00C1050100000000:Int unsignedcharunsignedchar PLUSTransfertoanotherblockReturn:0(OK)orErrorCode000500:intPiccReadValue(unsignedcharucBlock,unsignedchar PLUSBlockvalue,4Bytes,LSBfirstReturn:0(OK)orErrorCode0000070000:IntPiccReset(unsignedchartime(1byte)in0willkeepantennacloseReturn:0(OK)orErrorCode0000激活卡片:int unsignedcharunsignedcharucReqCode,unsignedchar*pATQ,unsignedchar*pSAK,unsignedchar*pUIDLen,unsignedchar*pUID)RefertoPiccResetcommand,ifset,theantennawillcloseforucRst_1ms(ms)first0x260x52Answertorequest(ATQ)(2bytes)SelectSOFnowledge(SAK)(1byte)UIDlength(1byte)UID(4bytesor7bytesReturn:0(OK)orError0x04bytesUID:1DB76057)001000040008041DB760 :intPiccRequestATS unsignedcharunsignedchar*pATSLen,unsignedchar*pATS)Setto*LengthoftheATSfromtheATS(answertoselectReturn:0(OK)orError0000107880900220900000000000F6D0B1:int unsignedintunsignedchar*pSendBuf,unsignedint*pRcvLen,unsignedchar*pRcvBuf lengthofdatatobesenttotheDatatobesenttothelengthofdatareceivedfromthe*DatareceivedfromthecardReturn:0(OK)orErrorCode000084000000F2EB10972DA5543B90:int unsignedcharunsignedcharucAFI,unsignedcharucMethod,unsignedchar*pUIDLen,unsignedchar*pUID)RefertoPiccResetcommand,ifset,theantennawillcloseforucRst_1ms(ms)firstApplicationFamilyIdentifier1:probabilisticOthers:slot-markerUIDpUID:willbe0x50asapreamble,andthen4bytesUIDandothersReturn:0(OK)orErrorCode000001000050BBEE4411112233117783RefertoPiccResetcommand,ifset,theantennawillcloseforucRst_1ms(ms)firstpINF:8bytesReturn:0(OK)orError000011223344556677RefertoPiccResetcommand,ifset,theantennawillcloseforucRst_1ms(ms)firstpINF:8bytesReturn:0(OK)orError000011223344556677unsignedcharucMethod,unsignedchar*pINFLen,unsignedchar*pINF);RefertoPiccResetcommand,ifset,theantennawillcloseforucRst_1ms(ms)firstucMethod:shouldbepINFLen:lengthofUIDandotherpINF:UID(thefirst8bytes)andotherinfReturn:0(OK)orErrorCode0000001201180164109E1833640002FFFFFF393B>>SendData:5000072C060109000180004E(06010900018000isAPDU<<ReceiveData:5000132C000001000102030405060708090A0B0C0D0E0F(0001000102030405060708090A0B0C0D0E0Fisthe16bytesdataout)>>Send5000172C08010900018000000102030405060708090A0B0C0D0E0F(08010900018000000102030405060708090A0B0C0D0E0FisAPDU(000102030405060708090A0B0C0D0E0Fisthe16bytesdatatowrite<<ReceiveData:5000022C0000尋卡:intISO15693_Inventory(unsignedcharunsignedcharAFI,unsignedcharmasklengh,unsignedchar*uid,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x26YourcardAFI,orsettodefault0x00Knowncardserialnumberlengthofbit,defaultis*
KnowncardserialnumberaccordingtomasklenghIfmasklengh==0,*uiddoesnotneedRespondeddatalength(mostly8bytesifonecardRespondeddata(thatiscardUID,8ByteslengthReturn:0(OK)orErrorCode(maybeno002600000x00(不附帶已知uid)。返回信息為一張卡片,resplen為長度,一般為8字節(jié),*resp為8字節(jié)進制。操作卡需要執(zhí)行此命令,再進行其它操作。讀卡:intISO15693_Read_Block(unsignedcharunsignedcharblnr,unsignedcharnbl,unsignedchar*uid,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x02(accesswithnoUIDappended)TheBlocknumberyouwanttoHowmuchblockreadinonetime,defaultis*Knowncardserial8bytesisneeded(ifflagssetto0x22)orNONE(asflagssettoRespondeddatalength(mostly6bytesifoneblockRespondeddata(6ThefirstbyteisreadingoperationstatusThesecondbyteisblocklockedstatusThethirdto6thbytesisblockdataReturn:0(OK)orErrorCode(maybeno000200000000111111寫卡:int unsignedcharunsignedcharblnr,unsignedcharnbl,unsignedchar*uid,unsignedchar*dtw,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x02(accesswithnoUIDappended)
TheBlocknumberyouwanttoHowmuchblockwriteinonetime,defaultis0x01Knowncardserialnumber8bytesisneeded(ifflagssetto0x22)orNONE(asflagssettoDatatowrite(accordingtonbl,defaultis0x04Respondeddatalength(mostly0x00Respondeddata(maybe0x00Return:0(OK)orErrorCode(maybeno實現功能:寫4個字節(jié)11223344到塊000200011122330000為你要寫入的第幾塊數據(*dtw),blnr從0開始;nbl默認為1;*dtw4字節(jié)16進制數鎖塊:int unsignedcharunsignedcharblnr,unsignedchar*uid,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x02(accesswithnoUIDappended)TheBlocknumberyouwantto*Knowncardserial8bytesisneeded(ifflagssetto0x22)orNONE(asflagssettoRespondeddatalength(mostly0x00Respondeddata(maybe0x00bytes)Return:0(OK)orErrorCode(maybenocard)000200AFI:intISO15693_Write_AFI(unsignedcharunsignedcharAFI,unsignedchar*uid,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x02(accesswithnoUIDappended)The*Knowncardserial8bytesisneeded(ifflagssetto0x22)orNONE(asflagssettoRespondeddatalength(mostly0x00Respondeddata(maybe0x00bytes)Return:0(OK)orErrorCode(maybenocard)000200AFI:int unsignedcharunsignedchar*uid,unsignedshort*resplen,unsignedchar*resp)flags:defaultis0x02(accesswithnoUID*Knowncardserial8bytesisneeded(ifflagssetto0x22)orNONE(asflagssettoRespondeddatalength(mostly0x00Respondeddata(maybe0x00bytes)Return:0(OK)orErrorCode(maybenocard)0000DSFID:IntISO15693_Write_DSFID unsignedcharunsignedcharDSFID,unsignedchar*uid,unsignedshort*resple
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 初中音樂課堂多聲部合唱教學策略與音樂教育改革研究論文
- 校本課程開發(fā)中的課程內容設計論文
- 繪畫課程對學生視覺思維的影響論文
- 基于虛擬現實技術的初中地理教學情境創(chuàng)設與教學效果評價論文
- 艾伯森財務管理制度
- 苗圃地員工管理制度
- 茶牌坊人員管理制度
- 融資合同:流動資金貸款合同
- 評估指標體系和評估機制構建支撐工作競爭性磋商文件
- 財政學 期末考試復習重點總結
- (2025)入黨積極分子培訓考試試題及答案
- 2025年計算機網絡技術考試試卷及答案
- 2025年天津市河西區(qū)中考二模語文試題
- 教育事業(yè)十五五(2026-2030)發(fā)展規(guī)劃
- 2025年中醫(yī)基礎理論考試試題及答案
- 2025中國鐵路濟南局集團限公司招聘116人(七)易考易錯模擬試題(共500題)試卷后附參考答案-1
- 酒店入股合同協(xié)議書范本
- 河南省南陽市2025年七年級英語第二學期期末學業(yè)水平測試模擬試題含答案
- T/CNESA 1003-2020電力儲能系統(tǒng)用電池連接電纜
- 2025年石油天然氣管線鋼管行業(yè)深度研究報告
- 2025年高考軍隊院校征集和招錄人員政治考核表(原表)
評論
0/150
提交評論