In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

parse nested TLV structure

Communication

Moderator: UNKNwYSHSA

lefibr
Posts: 16
Joined: Thu Feb 18, 2016 2:38 am
Points :151
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: 16
Joined: Thu Feb 18, 2016 2:38 am
Points :151
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: 233
Joined: Mon May 18, 2015 3:09 am
Points :1647
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 1 guest

JavaCard OS : Disclaimer