diff options
author | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-11-05 11:24:49 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-11-05 10:53:19 +0200 |
commit | 3fcf951f00bda7f7f3bc1fad6bfaddc1f473e550 (patch) | |
tree | 9a779120efc61fba37da056e9c94b33272b82b0d /tools/sdptool.c | |
parent | 683951b9bb0794d59d802e63b28e63be11c28798 (diff) | |
download | bluez-3fcf951f00bda7f7f3bc1fad6bfaddc1f473e550.tar.gz |
tools/sdptool: Add MAP supported features for MNS
Add MapSupportedFeatures into MNS attribute names.
MNS Record output captured from sdptool:
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x10008
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID16 : 0x1133 - Message Access (MAP) - MNS
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Data Sequence
UUID16 : 0x0003 - RFCOMM
Channel/Port (Integer) : 0x11
Data Sequence
UUID16 : 0x0008 - OBEX
Attribute Identifier : 0x5 - BrowseGroupList
Data Sequence
UUID16 : 0x1002 - PublicBrowseGroup
Attribute Identifier : 0x9 - BluetoothProfileDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x1134 - Message Access (MAP)
Version (Integer) : 0x102
Attribute Identifier : 0x100
Data : 4d 65 73 73 61 67 65 20 4e 6f 74 69 66 69 63 61 74 69 6f 6e 00
Attribute Identifier : 0x200
Integer : 0x1001
Attribute Identifier : 0x317 - MapSupportedFeatures
Integer : 0x7f
Diffstat (limited to 'tools/sdptool.c')
-rw-r--r-- | tools/sdptool.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c index f2d3068b4..88a52bb07 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -239,6 +239,11 @@ static struct attrib_def mas_attrib_names[] = { { 0x0317, "MapSupportedFeatures", NULL, 0 }, }; +/* Name of the various MNS attributes. See BT assigned numbers */ +static struct attrib_def mns_attrib_names[] = { + { 0x0317, "MapSupportedFeatures", NULL, 0 }, +}; + /* Same for the UUIDs. See BT assigned numbers */ static struct uuid_def uuid16_names[] = { /* -- Protocols -- */ @@ -327,7 +332,8 @@ static struct uuid_def uuid16_names[] = { { 0x1131, "Headset (HSP)", NULL, 0 }, { 0x1132, "Message Access (MAP) - MAS", mas_attrib_names, N_ELEMENTS(mas_attrib_names) }, - { 0x1133, "Message Access (MAP) - MNS", NULL, 0 }, + { 0x1133, "Message Access (MAP) - MNS", + mns_attrib_names, N_ELEMENTS(mns_attrib_names) }, { 0x1134, "Message Access (MAP)", NULL, 0 }, /* ... */ { 0x1200, "PnPInformation", |