From 515eef4db0fd0f62f5398d663761d92d81ae3f52 Mon Sep 17 00:00:00 2001 From: Yang Gu Date: Wed, 21 Apr 2010 12:55:48 +0800 Subject: Add parser for device filter objects --- src/stkutil.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/stkutil.h') diff --git a/src/stkutil.h b/src/stkutil.h index 581d9476..cc2915dd 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -622,6 +622,13 @@ struct stk_service_record { unsigned int len; }; +/* Defined in TS 102.223 Section 8.64 */ +struct stk_device_filter { + unsigned char tech_id; + unsigned char *dev_filter; + unsigned int 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