| 015e2612 |
Remove unregister interface in telephony-maemo6
g_dbus_unregister_interface is removed from maemo6 telephony driver.
Interface com.nokia.MaemoTelephony is not used as result of changes
in csd back-end. CreateWith was replaced by Create and CreateFromLast
method calls, and set last number is implemented directly in csd.
Registration of this interface was removed due to these changes. |
Dmitriy Paliy |
14 years ago |
1 file, +0, -7 |
| b358f4f3 |
Fix memory leak of matched device drivers list |
Claudio Takahasi |
14 years ago |
1 file, +1, -2 |
| 521006ef |
Remove unnecessary btd_driver_data struct |
Claudio Takahasi |
14 years ago |
1 file, +6, -23 |
| ab8a3b83 |
Fix strict aliasing issue in hciops
This patch changes type of the "pending" variable to uint32_t. A pointer
to this variable is passed to the hci_clear_bit function as void * and
then cast to uint32_t * again.
Previously the unsigned long type could cause some unexpected behavior
due to violating strict aliasing rules. This patch fixes this problem by
making sure that the same integer type is used in all places.
This solution is simpler than the other option of changing the types of
all other places (from uint32_t to unsigned long, including changing
type for casting in hci_*_bit function family). Also, not all places can
be changed, like the hci_dev_info struct, since it would violate
compatibility rules between the kernel and user space. |
Rafal Michalski |
14 years ago |
1 file, +1, -1 |
| f7459450 |
Fix security level for MCAP instances created from HDP plugin
Some health devices without IO capabilities can't connect to MCAP
instances when security level is set to HIGH. This patch enables above
devices to connect to Health instances avoiding the MITM problem. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +1, -1 |
| aa5f3db7 |
Add release all sessions when adapter is switched off
All sessions should be released when adapter is switched off. Then a new
RequestSession method call always results in change from power off to
power on such ensuring operational mode. Otherwise, it is possible to
end up in adapter state being powered off after RequestSession succeded.
g_slist_free is not called after g_slist_foreach because the list is
updated using g_slist_remove inside of session_free, which is called for
each element by g_slist_foreach. |
Dmitriy Paliy |
14 years ago |
1 file, +9, -0 |
| 16c3330a |
Add SAP to bootstrap-configure defaults |
Johan Hedberg |
14 years ago |
1 file, +1, -0 |
| a68d1fe4 |
Fix ATT error code response for authentication
This patch fix the error code in the Error Response PDU. If an attribute
requires authentication and the link security level doesn't meet the
requirements the server should reply Insufficient Authentication(0x05). |
Claudio Takahasi |
14 years ago |
1 file, +3, -2 |
| f9dc0c07 |
Add Sim Access Profile dummy driver
Add SAP dummy driver implementation and extend configure
with --with-sap=<driver>. |
Waldemar Rymarkiewicz |
14 years ago |
4 files, +275, -14 |
| b7855507 |
Add support for SAP protocol
Add new protocol features:
* transfer APDu request/response
* get ATR request/response
* power sim of/on request/response
* card reader status
* set transport protocol |
Waldemar Rymarkiewicz |
14 years ago |
1 file, +399, -16 |
| 3827cfbc |
Add Sim Access Profile connect/disconnect procedures
Add support for SAP protocol features:
* connect and disconnect requests
* connect and disconnect responses
* disconnect indication
* timeouts for the valid connection |
Waldemar Rymarkiewicz |
14 years ago |
2 files, +424, -11 |
| 80958057 |
Fix crash when unregistering a2dp driver before media driver
Since media driver uses a2dp to register its sep and store a pointer,
this pointer may be invalid/freed when media driver is unregistered.
To fix this now a2dp will also release any sep registered using media
API.
It also protect from future changes on the order of drivers removal by
checking if pointers (sep or endpoint) are still available in the list
before removing them. |
Luiz Augusto von Dentz |
14 years ago |
2 files, +10, -0 |
| e70fb63e |
Recalculate remote SEP if the codec type changes
This forces recalculating the remote SEP if the local SEP's codec type
is no longer the same as the remote SEP's codec type. This can happen
after we issue a BT_STOP_STREAM+BT_CLOSE followed by a
BT_SET_CONFIGURATION with a new SEID. |
Arun Raghavan |
14 years ago |
1 file, +8, -1 |
| 2c0c9662 |
TODO: set owner of 'Whitelist support' task |
Andre Guedes |
14 years ago |
1 file, +1, -0 |
| 9e7e6b31 |
Set correct adapter state in cancel_resolve_name
Previously resetting STATE_RESOLVNAME for adapter was missing.
This was causing problems with discovering devices when discovery
was quickly turned off/on during resolving name. |
Radoslaw Jablonski |
14 years ago |
1 file, +1, -0 |
| 6fc92a53 |
Add Exchange MTU in interactive gatttool |
Bruna Moreira |
14 years ago |
1 file, +62, -0 |
| 1b07befa |
Add Exchange MTU operation in GATT library |
Bruna Moreira |
14 years ago |
2 files, +16, -0 |
| efcef2bd |
Use GAttrib buffer for ATT protocol PDUs
Prior to this commit, there were local buffers inside GATT functions.
Now, a single buffer is used, to make sure the MTU limit is respected. |
Bruna Moreira |
14 years ago |
1 file, +64, -45 |
| 68887c21 |
Add internal buffer to GAttrib struct
The new buffer is allocated in g_attrib_new() and it will be used to
send/receive PDUs. The buffer size is the MTU read from L2CAP channel
limited to ATT_MAX_MTU. Functions to handle the buffer size were also
created. |
Bruna Moreira |
14 years ago |
2 files, +49, -0 |
| f773053e |
TODO: remove 'fix MTU exchange' task |
Bruna Moreira |
14 years ago |
1 file, +0, -5 |
| 4969ae43 |
TODO: set owner of 'Define attribute server API' task
An initial implementation was sent as RFC. |
Anderson Lizardo |
14 years ago |
1 file, +1, -0 |
| 6bcda79c |
Update TODO regarding bt_uuid_* functions |
Elvis Pfützenreuter |
14 years ago |
1 file, +4, -10 |
| f6948858 |
Check for existing handle in attrib_db_add()
This check is necessary to avoid inserting attributes with same handle. |
Anderson Lizardo |
14 years ago |
1 file, +3, -1 |
| fb23d027 |
Change attrib_db_update() to return reallocated data
attrib_db_update() uses g_try_realloc(), which means the memory address
of the updated attribute may change. Callers may need to update
references to the old address.
The new struct attribute pointer is returned to caller by the "attr"
paramater. |
Anderson Lizardo |
14 years ago |
2 files, +7, -4 |
| 59ba9844 |
Remove unnecessary assignment from attrib_db_update()
attrib_db_update() uses g_try_realloc() only to expand/shrink space for
the variable "data" field. Therefore existing fields (like handle) are
guaranteed to remain unchanged. |
Anderson Lizardo |
14 years ago |
1 file, +0, -1 |
| 1b6cd1f3 |
Allow NULL pointer as UUID for attrib_db_update()
A NULL uuid_t pointer means that the UUID should remain unchanged. This
simplifies most attrib_db_update() calls which do not change the
attribute UUID. |
Anderson Lizardo |
14 years ago |
1 file, +3, -6 |
| d97e7014 |
Add DBG() calls to attrib_db_* functions
This will help debugging issues with registration of GATT services. |
Anderson Lizardo |
14 years ago |
1 file, +6, -0 |
| 922c5feb |
Add discover characteristics by UUID to gatttool
According to the specification the characteristics discover and
characteristics discover by UUID use the same opcode and the result
should be filtered by callback. |
Sheldon Demario |
14 years ago |
5 files, +30, -10 |
| 2da716f3 |
Add 'Protocol not supported' error in a2dp_add_sep
'Protocol not supported' error code is added to the registration of A2DP
end-points. Error response org.bluez.Error.NotSupported instead of
org.bluez.Error.InvalidArguments is used when SEP registration fails due
to disabled corresponding interface in audio.conf. |
Dmitriy Paliy |
14 years ago |
3 files, +44, -15 |
| 4f8d6ba3 |
Fix missing check for dev->up before calling init_adapter
With some kernels and the right timing it is possible to get into the
state where we get the local name but haven't yet gotten a DEVUP event.
In such a case it is *not* ok to call init_adapter. |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| 67fc00db |
Release 4.90 |
Marcel Holtmann |
14 years ago |
2 files, +12, -1 |
| 43bfa365 |
Update library version |
Marcel Holtmann |
14 years ago |
1 file, +2, -2 |
| 52e333ff |
Add attrib server refactoring task to TODO |
Johan Hedberg |
14 years ago |
1 file, +7, -0 |
| 3c0786fe |
Fix minor coding style issues in attrib server code |
Johan Hedberg |
14 years ago |
1 file, +0, -5 |
| c620d295 |
Remove redundant return statements from interactive gatttool |
Johan Hedberg |
14 years ago |
1 file, +0, -4 |
| b98c30a0 |
Fix minor coding style issues in SAP server code |
Johan Hedberg |
14 years ago |
1 file, +2, -6 |
| 6b6b1007 |
Add LE whitelist support to the TODO |
Johan Hedberg |
14 years ago |
1 file, +5, -0 |
| 803db5d4 |
mgmt: support for local_name_changed event |
Johan Hedberg |
14 years ago |
1 file, +28, -0 |
| 7abf8c6e |
mgmt: Fix debug log strings |
Johan Hedberg |
14 years ago |
1 file, +2, -2 |
| caa82992 |
Add Sim Access Profile Server
Add a Sim Access Server to the SAP plugin and a framework for the dummy
sap driver as well.
* add the server register and unregister rutines
* add server listening socket setup
* add SAP DBus API
* add prototypes for SAP protocol implementation
* add skeleton of dummy SIM driver |
Waldemar Rymarkiewicz |
14 years ago |
4 files, +878, -8 |
| d4542f42 |
Adjust sap/server.c license text to the rest of the code |
Waldemar Rymarkiewicz |
14 years ago |
1 file, +2, -1 |
| 69f57a7d |
Add "unit test" for new UUID functions |
Elvis Pfützenreuter |
14 years ago |
2 files, +324, -1 |
| a278db78 |
Use new UUID functions in GATT
This patch puts the new UUID functions into use for GATT-related
code, and adds some convenience functions to ATT API (att.h).
Example GATT server is also changed. |
Elvis Pfützenreuter |
14 years ago |
15 files, +250, -200 |
| da620b5e |
Remove unused code due to dial and re-dial change
last_dialed_number and callerid are not used after changing CreateWith
to Create and CreateFromLast csd method calls, and therefore can be
removed. |
Dmitriy Paliy |
14 years ago |
1 file, +0, -125 |
| fcd1ac9c |
Change dial and re-dial in maemo6 telephony
Dial and re-dial to last number functions are changed in maemo6
telephony driver accordingly to updated API in csd back-end. CreateWith
method call is replaced by Create and CreateFromLast.
After such modification callerid and last dialed number are not used
and hence removed in sucessive patch. |
Dmitriy Paliy |
14 years ago |
1 file, +14, -13 |
| cef56102 |
Move telephony_last_dialed_number_req
telephony_last_dialed_number_req function moved to be after
send_method_call. It is used in successive commit. |
Dmitriy Paliy |
14 years ago |
1 file, +12, -12 |
| 3011a312 |
mgmt: Implement adapter name control
This patch adds a new set_local_name command as well as a
local_name_changed event to the management interface. Instead of 248
bytes (like in the HCI spec) 249 bytes are always reserved for the name
in the messages so that there's a guarantee of it being nul-terminated
(this is not guaranteed on the HCI level). |
Johan Hedberg |
14 years ago |
4 files, +73, -6 |
| 1c165433 |
mgmt: Add adapter name to read_info response |
Johan Hedberg |
14 years ago |
3 files, +5, -0 |
| 2854ecff |
Make strtoba use str2ba for string conversion |
Szymon Janc |
14 years ago |
1 file, +6, -12 |
| 1c58c18e |
Fix str2ba behaviour on malformed bt address
str2ba could create bogus bt address from malformed string. Return
all zeros bt address on malformed string. |
Szymon Janc |
14 years ago |
1 file, +8, -8 |