| データシートサーチシステム |
|
AS3955 データシート(PDF) 93 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3955 データシート(HTML) 93 Page - ams AG |
|
93 / 111 page ![]() ams Datasheet Page 93 [v1-01] 2015-Apr-29 Document Feedback AS3955 − Application Information Select, ReadBinary and UpdateBInary APDUs (ISO/IEC 7816-4), NDEF management //NDEF application AID static const u8 ndefAppAID[] ={0xd2, 0x76, 0x00, 0x00, 0x85, 0x01, 0x01}; #define NDEF_MSG_MAX_LENGTH 0x0204 /*!< NDEF message maximum length */ #define NDEF_CCF_MAX_LENGTH 0x0F /*!< NDEF message maximum length */ u8 ndefMessageFile[NDEF_MSG_MAX_LENGTH] = { 0x00, 0x31, //NLEN 0xd1, //mb=1 me=1 cf=0 sr=1 il=0 tnf=001 0x01, //type length = 1 byte 0x2d, //payload length 45 bytes 0x55, //type 'U' //payload: ams.com/eng/Products/RF-Products/RFID/AS3953, below the bytes 0x01, //uri identifier code 0x01 means prepending http://www. - 5 bytes so far 0x61, 0x6d, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x67, 0x2f, //12 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x52, 0x46, 0x2d, //12 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x52, 0x46, 0x49, //12 0x44, 0x2f, 0x41, 0x53, 0x33, 0x39, 0x35, 0x33, //8 0xFE,//1 }; #define RXTX_BUFFER_SIZE 256 u8 ndefFileReadCount = 0; u8 * filePtr = NULL; BOOL ndefInitDone = FALSE; u8 ndefCcFile[NDEF_CCF_MAX_LENGTH] = { 0x00, 0x0F, 0x20, 0x00, 0x1C, 0x00, 0x1A, 0x04, 0x06, 0xE1, 0x04, (u8)(0x0204 >> 8), (u8)(0x0204), 0x00, 0x00, }; s8 nfcTagAppProcessAPDU(int dllInHeaderSize) { s8 err = ERR_NONE; u8 * rxPtr = &rxBuffer.data[dllInHeaderSize]; if (*(rxPtr) == 0x00) { txBuffer.size = dllInHeaderSize + 2; rxPtr += 1; switch (*rxPtr) { case C_APDU_SELECT_CMD: //select command detected -> check what should be selected switch (*(rxPtr + 1)) |
|
リンク 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 |