From db1e61cf3ce47aa4a53f9db4b346aa3bdd43884e Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Tue, 6 Apr 2010 18:06:46 +0800 Subject: Add parser for card reader identifier objects --- src/stkutil.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/stkutil.h') diff --git a/src/stkutil.h b/src/stkutil.h index c1b9af01..511b912f 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -543,6 +543,15 @@ struct stk_bearer_description { unsigned int len; }; +/* + * According to 102.223 Section 8.57 the length of CTLV is 1 byte. This means + * that the maximum size is 127 according to the rules of CTLVs. + */ +struct stk_card_reader_id { + unsigned char id[127]; + unsigned char len; +}; + /* * According to 102.223 Section 8.72 the length of text attribute CTLV is 1 * byte. This means that the maximum size is 127 according to the rules -- cgit v1.2.3