Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

parse nested TLV structure

Communication

Moderator: UNKNwYSHSA

lefibr
Posts: 18
Joined: Thu Feb 18, 2016 2:38 am
Points :171
Contact:

parse nested TLV structure

Post by lefibr » Tue Mar 01, 2016 3:33 am

I need to parse nested TLV structure. Is there anyone that know how to parse nested TLV?

lefibr
Posts: 18
Joined: Thu Feb 18, 2016 2:38 am
Points :171
Contact:

Re: parse nested TLV structure

Post by lefibr » Wed Mar 09, 2016 2:26 am

Is there anybody know this? Pls help.

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: parse nested TLV structure

Post by mabel » Wed Mar 09, 2016 2:29 am

If your parsed tag has bit 5 set (0x20) the tag is constructed, call your parsing routine recursively on the tag contents.
If tag has bit 5 clear, then contents is raw data.

And also maybe this link is helpful to you.
https://github.com/a2800276/tlv/blob/ma ... /parser.rb

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 12 guests

JavaCard OS : Disclaimer