楼主您好。
这个NTAG的内容已经固化了,如果你想重新写内容到NTAG的话,可以参考下面的内容(我们这边把NXP改成ddd)。
/*add code*/
const uint8_t myStr[3] = {'d','d','d'};
NTAG_WriteBytes(appNtagHandle.ntagDriverHandleInstance,33,myStr,sizeof(myStr));
NTAG_ReadBytes(appNtagHandle.ntagDriverHandleInstance, 16, ntagMen, sizeof(ntagMen));
for(uint8_t i=0; i<32; i++)
{
APP_NTAG_LOG("%d content %c\r\n", i+16 ,ntagMen[i]);
}
HAL_I2C_CloseDevice(I2C2);
return ntagErr;
}
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------
不客气,有什么问题可以再我们联系。
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------