2025-01-12 05:23 PM
In the library functions of arduino, I found that there are only existing functions that receive WiFi, uri, and so on. Now I want to receive picture bytes and store them in an array, but I can't find any built-in functions that are used to receive them.
2025-01-20 06:27 AM
Hi sjek,
the ST25DV16K is a memory, so the tag can receive all data independently to the format of these data, and it can be stored as array of bytes in the memory.
In your message you talk about Wifi, URI ..., so I think you refer to NDEF messages stored in the tag. The NDEF standard defines these as Well-Known types and some are natively recognized by Android, other need an application to interact with.
Regarding pictures, I think the TNF type to use is media type (not Well-Known types), as for vCard, with the image/jpeg (for a jpeg) as media type.
I don't think that the arduino library provide a direct API to build a media type, so you will need to build the record and for the payload begin it with image/jpeg followed by the jpeg data.
I hope this can help you.
Kind Regards.