diff options
author | Hemant Gupta <hemantg@codeaurora.org> | 2015-10-17 19:40:53 +0530 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2017-05-20 00:27:31 +0000 |
commit | 9e91b62c1fa4f6c51f53ddb3f2155f345be30a2a (patch) | |
tree | 593914988d526b1dd0d7c24ef86d70e13755575e /obex/javax | |
parent | b5d6e45e8d8e8e074c74f77a8168eedc6917c74e (diff) |
OBEX: Add required parameters TAG ID's for PBAP 1.2
Add required OBEX application parameters TAGID's and length
declarations required to support PBAP 1.2 specification.
Test: Connected with Remote PBAP Client supporting PBAP 1.2 and
verified that connection and transfer happens over L2CAP.
Connected with Remote PBAP Client supporting PBAP 1.1 and
and verified that connection and transfer happens over RFCOMM.
Bug: 33011817
Change-Id: I8a772b0dddf6ecf74b057e12d7596421c0e0f558
Diffstat (limited to 'obex/javax')
-rw-r--r-- | obex/javax/obex/ApplicationParameter.java | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/obex/javax/obex/ApplicationParameter.java b/obex/javax/obex/ApplicationParameter.java index a62210fe4d16..16770a1aef31 100644 --- a/obex/javax/obex/ApplicationParameter.java +++ b/obex/javax/obex/ApplicationParameter.java @@ -55,7 +55,7 @@ public final class ApplicationParameter { public static final byte LISTSTARTOFFSET_TAGID = 0x05; - public static final byte FILTER_TAGID = 0x06; + public static final byte PROPERTY_SELECTOR_TAGID = 0x06; public static final byte FORMAT_TAGID = 0x07; @@ -64,6 +64,20 @@ public final class ApplicationParameter { // only used in "mch" in response public static final byte NEWMISSEDCALLS_TAGID = 0x09; + + public static final byte SUPPORTEDFEATURE_TAGID = 0x10; + + public static final byte PRIMARYVERSIONCOUNTER_TAGID = 0x0A; + + public static final byte SECONDARYVERSIONCOUNTER_TAGID = 0x0B; + + public static final byte VCARDSELECTOR_TAGID = 0x0C; + + public static final byte DATABASEIDENTIFIER_TAGID = 0x0D; + + public static final byte VCARDSELECTOROPERATOR_TAGID = 0x0E; + + public static final byte RESET_NEW_MISSED_CALLS_TAGID = 0x0F; } public static class TRIPLET_VALUE { @@ -99,13 +113,27 @@ public final class ApplicationParameter { public static final byte LISTSTARTOFFSET_LENGTH = 2; - public static final byte FILTER_LENGTH = 8; + public static final byte PROPERTY_SELECTOR_LENGTH = 8; public static final byte FORMAT_LENGTH = 1; public static final byte PHONEBOOKSIZE_LENGTH = 2; public static final byte NEWMISSEDCALLS_LENGTH = 1; + + public static final byte SUPPORTEDFEATURE_LENGTH = 4; + + public static final byte PRIMARYVERSIONCOUNTER_LENGTH = 16; + + public static final byte SECONDARYVERSIONCOUNTER_LENGTH = 16; + + public static final byte VCARDSELECTOR_LENGTH = 8; + + public static final byte DATABASEIDENTIFIER_LENGTH = 16; + + public static final byte VCARDSELECTOROPERATOR_LENGTH = 1; + + public static final byte RESETNEWMISSEDCALLS_LENGTH = 1; } public ApplicationParameter() { |