Commit Graph

92 Commits

Author SHA1 Message Date
Jaikumar Ganesh
9ee9e43527 Fix Headset Audio gateway SDP record.
Headset Audio Gateway does not have the Supported Features
in the SDP records according to the HSP specification.
2010-09-22 10:21:48 +03:00
Claudio Takahasi
df3c8e1ebb Add GATT SDP record for sdptool
Extend sdptool to allow to add GATT SDP record. Devices that support
GATT over BR/EDR shall publish GATT record. This implementation intend
to be a reference for GATT SDP record creation and it can be a helper
to GATT servers implemented outside BlueZ.
2010-08-09 18:06:43 -04:00
Gustavo F. Padovan
e272c8c69b sdptool: Fix 2 possible NULL dereference
Issues found by smatch static check:
http://smatch.sourceforge.net/
2010-06-08 14:25:36 +08:00
Elvis Pfützenreuter
d48df6f540 Change MDP profile name and macros to HDP 2010-06-04 11:24:10 +03:00
Jose Antonio Santos Cadenas
0edbc77755 Remove extra spaces from tools dir 2010-05-07 01:48:03 +03:00
Nick Pelly
fc3764769f Add 0xff (any object type) to sdptool OPUSH supported formats list.
This fixed an issue with sending an image from OSX. OSX would show a
warning that the bluez stack does not support this file type, but offer
to send it anyway (which works). This change to advertise support for
all object types will remove this warning.

The list of file types that can be advertised in the SDP record is very
limited anyway. It is best to list that we support all file types here,
and then filter at the OPP/OBEX connection instead.

For reference:
0x01 = vCard 2.1
0x02 = vCard 3.0
0x03 = vCal 1.0
0x04 = iCal 2.0
0x05 = vNote
0x06 = vMessage
0xFF = any type of object.
2010-02-04 17:10:50 -08:00
Marcel Holtmann
9184e2eeb7 Update copyright information 2010-01-01 17:08:17 -08:00
Marcel Holtmann
c7c8d2208d Remove unused variables left by previous patch 2009-08-06 14:10:01 -07:00
Zhu Lan
c500ffad7e Modify example PBAP SDP record of sdptool
Fix to pass PTS case TC_SDAS_BV_03_I(since PTS3.2 update2).
The code tried to append the UINT type value to the supported
respositories.  However, the wrong function sdp_seq_alloc()
was used. This function adds 2 redundant bytes (SDP_SEQ8 as
0x35, seq) ahead of 0x08, so that latest PTS IOPT will fail.
According to spec, PBAP attributes should report 0x08 0x01
or 0x08 0x03 right after 0x0314. The correct function to use
is sdp_data_alloc(), with clean 0x08 0x01 appended as
SDP_ATTR_SUPPORTED_REPOSITORIES.
2009-08-06 14:08:11 -07:00
Marcel Holtmann
3610df67a6 Fix signed/unsigned comparison warning 2009-06-26 09:00:54 +02:00
Jiafa Liu
e5fb1b8e7c Add support for registration of a PBAP service using sdptool 2009-06-26 08:58:50 +02:00
Marcel Holtmann
9c0b5859e6 Fix mostly every warning caused by -Wsign-compare 2009-01-29 17:58:28 +01:00
Marcel Holtmann
fb333f1c88 Update copyright information 2009-01-01 19:33:20 +01:00
Marcel Holtmann
d260beb800 Add PBAP UUID for simpler access 2008-10-21 02:24:11 +02:00
Johan Hedberg
efcfad7c00 Get rid of format string warnings with recent gcc versions
Recent gcc versions, like 4.3.2 from ubuntu intrepid, give warnings like
"format not a string literal and no format arguments" without this
patch.
2008-10-20 01:10:11 +03:00
Marcel Holtmann
874471cdce Add additional record range for the iPhone 2008-09-28 06:07:52 +02:00
Marcel Holtmann
1e23f60da1 Use const char for usage text 2008-08-15 00:17:29 +02:00
Marcel Holtmann
6930e84ba9 Add example record for headset audio gateway record 2008-07-10 01:34:08 +00:00
Marcel Holtmann
976827b919 Use Handsfree version 0x0105 for the gateway role 2008-07-10 01:21:30 +00:00
Marcel Holtmann
ee0b35445b Add extra attributes to the serial port record 2008-07-10 01:15:44 +00:00
Marcel Holtmann
e823c15e43 Update copyright information 2008-02-02 03:37:05 +00:00
Marcel Holtmann
207ed32b02 Add definitions for MDP 2007-12-25 20:41:29 +00:00
Marcel Holtmann
312471773c Add record handle range from Apple iPhone 2007-11-12 01:19:18 +00:00
Marcel Holtmann
38f7e247cf Add two more record handle ranges from Sony Ericsson headsets 2007-10-10 13:50:40 +00:00
Marcel Holtmann
a46dd97e35 Add SymcML server definition 2007-07-23 23:28:19 +00:00
Marcel Holtmann
35cc0e3879 Add identifier for Nokia SyncML records 2007-07-23 23:20:29 +00:00
Claudio Takahasi
fcb09f4016 sdptool: fixed memory leak for setattr and setseq 2007-06-06 20:36:28 +00:00
Marcel Holtmann
5b1649afe0 Add Wii-Mote HID service record 2007-02-11 00:17:41 +00:00
Marcel Holtmann
a60dd95741 Add UUID for Nokia FTP 2007-01-21 01:20:52 +00:00
Marcel Holtmann
607695ed10 Update copyright information 2007-01-13 17:48:12 +00:00
Marcel Holtmann
77d92a75f1 Add support for XML view of service records 2006-11-23 04:59:17 +00:00
Marcel Holtmann
d544342b19 Add another Ricoh specific range 2006-10-15 13:07:47 +00:00
Marcel Holtmann
33b2522fb2 Use uint16 for PSM in the HID keyboard record 2006-06-15 05:44:22 +00:00
Marcel Holtmann
cb77877089 Adapt possible record range 2006-06-14 11:01:32 +00:00
Marcel Holtmann
fe2fcaafb8 Add another Phonebook Access identifier 2006-05-30 11:00:34 +00:00
Marcel Holtmann
403066f6cd Cleanup main function declarations 2006-04-28 14:30:59 +00:00
Marcel Holtmann
868eb388ea Add workaround for missing Apple service identifier 2006-03-09 20:15:58 +00:00
Marcel Holtmann
65d1a12cff Improve display of UUID-128 strings 2006-02-15 08:09:39 +00:00
Marcel Holtmann
0722d48e5c Add service record for SEMC High Level Authentication 2006-02-08 11:16:47 +00:00
Marcel Holtmann
8b25f36fba Add SDP service record for HID keyboards 2006-02-08 11:09:24 +00:00
Marcel Holtmann
b2dfbf8a88 Add service record for direct printing 2006-01-24 23:34:49 +00:00
Marcel Holtmann
e45e2d9582 Add HCRP service identifier 2006-01-21 13:36:10 +00:00
Marcel Holtmann
6c53a6b4e4 Add service record for the ISDN profile 2006-01-21 11:39:07 +00:00
Marcel Holtmann
a6a6a79950 Add UDI service records 2006-01-21 10:56:33 +00:00
Marcel Holtmann
aebaa2bd80 Add support for choosing a specific service record handle 2006-01-17 10:43:04 +00:00
Marcel Holtmann
e9799abfdd Add support for the Handsfree Audio Gateway service record 2006-01-16 15:09:53 +00:00
Marcel Holtmann
88e399ec1d Allow null-terminated strings 2006-01-06 12:59:57 +00:00
Marcel Holtmann
b769dcbea8 Add Apple attributes and iSync records 2006-01-04 01:38:54 +00:00
Marcel Holtmann
f83f040580 dd definitions for Apple Agent 2006-01-04 00:05:22 +00:00
Marcel Holtmann
b27690df2d Add UUID for Apple Macintosh Attributes 2006-01-03 21:03:23 +00:00