| поискавой системы для электроныых деталей |
|
AS3955 датащи(PDF) 96 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3955 датащи(HTML) 96 Page - ams AG |
|
96 / 111 page ![]() Page 96 ams Datasheet Document Feedback [v1-01] 2015-Apr-29 AS3955 − Application Information s8 ndefReadFile (u8 * rxPtr, u8 hdrLen) { s8 err = ERR_NONE; if (filePtr != NULL) { // read from file u16 offset = (*(rxPtr + 1) << 8) | *(rxPtr + 2); u8 length = *(rxPtr + 3); memcpy(&txBuffer.data[hdrLen], filePtr + offset, length); txBuffer.data[hdrLen + length] = 0x90; txBuffer.data[hdrLen + length + 1] = 0x00; txBuffer.size = hdrLen + length + 2; } else { txBuffer.data[hdrLen + 0] = 0x6a; txBuffer.data[hdrLen + 1] = 0x82; err = ERR_PARAM; } return err; } s8 ndefWriteFile (u8 * rxPtr) { s8 err = ERR_NONE; if (filePtr != NULL) { //write to file u16 offset = (*(rxPtr + 1) << 8) | *(rxPtr + 2); u8 length = *(rxPtr + 3); memcpy(filePtr + offset, rxPtr + 4, length); } else { err = ERR_PARAM; } return err; } s8 ndefSelectFile (u8 * rxPtr) { s8 err = ERR_NONE; filePtr = NULL; if (*(rxPtr + 3) == 0x02) { // ID size == 2 -> files if (*(rxPtr + 4) == 0xE1) { switch (*(rxPtr + 5)) { |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |