Gustavo F. Padovan
fdafb86ff0
Convert more D-Bus errors to btd_error_*
2010-12-16 21:45:43 +02:00
Johan Hedberg
ea6e83ac67
Fix signess of err variable passed to strerror
2010-12-14 15:43:41 +02:00
Johan Hedberg
1215951d92
Use correct signess for err variable
2010-12-14 10:51:41 +02:00
Gustavo F. Padovan
2ee9428829
serial: use btd_error_failed()
2010-12-14 10:31:25 +02:00
Gustavo F. Padovan
57c9bf4d91
convert error to btd_error_not_connected()
2010-12-08 22:54:53 +02:00
Gustavo F. Padovan
09be5d6efa
convert errors to btd_error_not_authorized()
2010-12-08 22:54:45 +02:00
Gustavo F. Padovan
581171be9b
Add btd_error_does_not_exist()
2010-12-07 23:12:32 +02:00
Gustavo F. Padovan
73774f1b25
Add btd_error_already_exists()
2010-12-07 22:59:28 +02:00
Gustavo F. Padovan
696c18c48f
Create btd_error_invalid_args()
...
DBus error handling in BlueZ is a mess. This is the first patch to unify
all DBus error handling like in ConnMan and oFono. This unifies all
.InvalidArguments errors.
2010-12-07 22:58:32 +02:00
Johan Hedberg
20ccc578c8
Remove unused includes
2010-11-28 13:41:35 +02:00
Johan Hedberg
da446f5edd
Fix format string warnings for g_dbus_create_error
...
This patch fixes gcc warnings for "format not a string literal and no
format arguments".
2010-08-19 23:24:42 +03:00
Gustavo F. Padovan
8e58667ef0
Move debug() to DBG()
...
Use the new dynamic debug feature
2010-05-21 18:21:48 +02:00
Gustavo F. Padovan
9f71c68cc5
Remove old defines from serial code
2010-05-21 14:40:36 +02:00
Gustavo F. Padovan
e891f7df62
Move logging.{c,h} to log.{c,h}
...
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Marcel Holtmann
9184e2eeb7
Update copyright information
2010-01-01 17:08:17 -08:00
Steve Grubb
2e926fb016
Fix memory leaks
...
I was doing some code reviews of the 4.54 release and found a few memory
leaks. These are mostly in error paths.
2009-10-02 11:18:16 +02:00
Marcel Holtmann
a5b1e3d02c
Switch to a full non-recursive build system
2009-08-23 00:40:59 -07:00
Marcel Holtmann
f5f61c23d7
Make all major plugins builtin to simplify debugging
2009-08-09 14:35:39 -07:00
Johan Hedberg
9e239f6af9
Fix serial proxy record info attributes
2009-07-28 13:37:16 +03:00
Johan Hedberg
a5650fa417
Use 16/32-bit UUID if possible in serial proxy records
2009-07-28 10:37:15 +03:00
Luiz Augusto von Dentz
9ab6adf3d5
Track sender of CreateProxy.
...
Only proxies created by serial.conf should be persistent.
2009-07-27 19:20:41 -03:00
Forrest Zhao
10eec6b999
Remove the serial storage functionality
...
This functionality isn't needed anymore now that we have serial.conf.
Proxies created through the D-Bus interface will always be temporary not
remembered after a bluetoothd restart.
2009-07-27 13:03:38 +03:00
Johan Hedberg
aab0414c2c
Fix whitespace
2009-07-24 10:27:35 +03:00
Forrest Zhao
1311516cf1
Add support for multiple serial proxies configuration
2009-07-24 10:23:19 +03:00
Johan Hedberg
13b40f5ed1
Fix whitespace issue
2009-06-30 16:18:05 +03:00
Johan Hedberg
124b32451f
Fix open() error check
2009-06-30 16:02:28 +03:00
Johan Hedberg
cd6e797fde
Use (safer) strncpy instead of strcpy
2009-06-30 15:48:53 +03:00
Johan Hedberg
b09e5f8892
Fix NULL check in find_port() for port->uuid
2009-06-30 14:24:54 +03:00
Luiz Augusto von Dentz
7dcf9b6f99
Make serial plugin to use adapter references.
2009-05-27 11:25:25 -03:00
Johan Hedberg
a746025869
Fix address variable type
2009-05-02 23:32:07 +03:00
Luiz Augusto von Dentz
e8610fcbe0
Fix bt_cancel_discovery to not call callback.
...
bt_cancel_discovery when disconnecting async and calling the callback
which cause crashes if the user data is free'd in between.
2009-04-30 00:35:41 +03:00
Luiz Augusto von Dentz
f7e6b2cd75
Fix bug on Serial.Connect which cause UUID-128 to be interpreted as channel.
...
strtol was generating a valid channel from the given UUID-128 and find_port
would first check if the port channel matches the given pattern.
2009-04-24 16:46:22 +03:00
Alok Barsode
e050cc3d14
Using # operator to stringify plugin name.
2009-04-21 13:25:35 +01:00
Alok Barsode
2f28c39a63
Add priority field to plugin descriptor definition and load plugins in priority order.
2009-04-21 13:23:51 +01:00
Johan Hedberg
1118edbc79
Fix uninitialized variable compiler warning
2009-04-19 00:07:39 +03:00
Luiz Augusto von Dentz
bc1b555acd
Add support to channel pattern in Serial interface.
...
Application can give RFCOMM channel as pattern for Serial.Connect and
Serial.Disconnect, in case of no service matching the given channel it
wont trigger the channel discover proceeding directly to connection phase.
2009-04-15 17:50:22 +03:00
Luiz Augusto von Dentz
0135f63663
Make Serial.Disconnect to abort connection attempt.
...
Serial.Disconnect should abort connection attempt if Serial.Connect is not
completed or user application quits before connection is done.
2009-04-14 11:11:57 -03:00
Luiz Augusto von Dentz
eeb8599f0b
Make serial port to not use channels from record storage.
...
Some devices are known to change the channels of its records so the storage
might become invalid over time. The solution is to always attempt to retrieve
the channel when connecting.
2009-04-11 18:29:47 +03:00
Luiz Augusto von Dentz
d333040da9
Make serial proxy to use confirm callback.
2009-04-01 11:59:49 -03:00
Luiz Augusto von Dentz
8347dc32bd
Add support of friendly name UUIDs for SerialProxyManager.
2009-04-01 11:59:49 -03:00
Johan Hedberg
8e706e2d4f
Convert some not-so-important info logs to debug logs
2009-03-24 12:31:10 +02:00
Johan Hedberg
44f054fa22
Be sure to remove the name listener in serial_port_free
2009-03-23 17:31:40 +02:00
Alok Barsode
bf6a4a5774
Adding version check for plugins.
2009-03-14 07:11:47 +01:00
Marcel Holtmann
92bd92f851
Use GCC visibility for exporting symbols
2009-03-11 12:02:00 +01:00
Johan Hedberg
80541b6be4
Remove unused function
2009-02-25 18:45:59 +02:00
Johan Hedberg
8bca00dadf
Fix bt_io_get parameter passing
2009-02-22 16:50:59 +02:00
Luiz Augusto von Dentz
10d6858927
Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
2009-02-19 16:23:10 -03:00
Luiz Augusto von Dentz
b5519a1fed
Make serial plugin to use BtIO API.
2009-02-19 10:19:11 +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