how to create a multi record jpeg ndef for LPC8n04. I am using ndeft2t library by nxp

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to create a multi record jpeg ndef for LPC8n04. I am using ndeft2t library by nxp

2,508件の閲覧回数
saudshafiq
Contributor I

i am trying to send image through nfc from LPC8N04 processor. I am able to run the example code given in LPC8N04 SDK. How can I divide my image array which can be more tha 4kB. i am receiving NFC data from LPC8N04 to iphone nxpTagInfo app.

How can i divide my payload into multiple records.

I have also uploaded the library files for reference.

タグ(5)
0 件の賞賛
返信
3 返答(返信)

2,438件の閲覧回数
saudshafiq
Contributor I

Thank you @EduardoZamora 

I tried using the NXP Taginfo Iphone App for this. but  it according to it, only two records are received. one is 255 bytes containing first 255 bytes and second last 22 bytes. All the remaining data is lost(seemingly , according to the records i am receiving on NXP tagInfo app).

main C file is attached. 
I tried different variation of creating multiple payloads. But only function that is working is send_large_jpeg_via_nfc and it only sends first and last bytes.

0 件の賞賛
返信

2,407件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, there is no guide or documentation for this specific requirement. Reading, assembling and reconstructing the fragmented data would be the task of a custom application on the mobile device side, and it is up to the customer to implement this functionality.

Regards,
Eduardo.

0 件の賞賛
返信

2,464件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @saudshafiq

Hope you are doing well. 

Due to limited size you may be able to store small portions of data. In general, perhaps you could try splitting your whole data and write each chunk every time the NDEF is written; however, retrieving and rebuilding the information would require a mobile application implementing this functionality.

Would you consider encoding an URL to the image and write it to the NDEF?

Regards,
Eduardo.

0 件の賞賛
返信