* [PATCH BlueZ 1/2] Change default Link Loss alert level to high
@ 2011-08-19 14:11 Claudio Takahasi
2011-08-19 14:11 ` [PATCH BlueZ 2/2] Disable Path Loss service in configuration file Claudio Takahasi
2011-08-24 9:47 ` [PATCH BlueZ 1/2] Change default Link Loss alert level to high Johan Hedberg
0 siblings, 2 replies; 3+ messages in thread
From: Claudio Takahasi @ 2011-08-19 14:11 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Claudio Takahasi
After creating a Proximity device, Link Loss alert level is always
written. Setting the default value to "high" enables alert without
requiring an application to change it later.
---
proximity/monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/proximity/monitor.c b/proximity/monitor.c
index 55d3985..252645f 100644
--- a/proximity/monitor.c
+++ b/proximity/monitor.c
@@ -571,7 +571,7 @@ int monitor_register(DBusConnection *conn, struct btd_device *device,
monitor = g_new0(struct monitor, 1);
monitor->device = btd_device_ref(device);
monitor->conn = dbus_connection_ref(conn);
- monitor->linklosslevel = (level ? : g_strdup("none"));
+ monitor->linklosslevel = (level ? : g_strdup("high"));
monitor->signallevel = g_strdup("unknown");
monitor->immediatelevel = g_strdup("none");
--
1.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH BlueZ 2/2] Disable Path Loss service in configuration file
2011-08-19 14:11 [PATCH BlueZ 1/2] Change default Link Loss alert level to high Claudio Takahasi
@ 2011-08-19 14:11 ` Claudio Takahasi
2011-08-24 9:47 ` [PATCH BlueZ 1/2] Change default Link Loss alert level to high Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Claudio Takahasi @ 2011-08-19 14:11 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Claudio Takahasi
Path Loss service requires kernel and userspace patches to work
properly. Keep it disabled while the implementation is not ready.
---
proximity/proximity.conf | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/proximity/proximity.conf b/proximity/proximity.conf
index f4ef6f5..417610f 100644
--- a/proximity/proximity.conf
+++ b/proximity/proximity.conf
@@ -4,6 +4,6 @@
# particular interface
[General]
-# If we want to disable support for specific services
-# Defaults to supporting all implemented services
-#Disable=LinkLoss,PathLoss,FindMe
+# Configuration to allow disabling Proximity services
+# Allowed values: LinkLoss,PathLoss,FindMe
+Disable=PathLoss
--
1.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ 1/2] Change default Link Loss alert level to high
2011-08-19 14:11 [PATCH BlueZ 1/2] Change default Link Loss alert level to high Claudio Takahasi
2011-08-19 14:11 ` [PATCH BlueZ 2/2] Disable Path Loss service in configuration file Claudio Takahasi
@ 2011-08-24 9:47 ` Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2011-08-24 9:47 UTC (permalink / raw)
To: Claudio Takahasi; +Cc: linux-bluetooth
Hi Claudio,
On Fri, Aug 19, 2011, Claudio Takahasi wrote:
> After creating a Proximity device, Link Loss alert level is always
> written. Setting the default value to "high" enables alert without
> requiring an application to change it later.
> ---
> proximity/monitor.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Both patches have been applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-24 9:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 14:11 [PATCH BlueZ 1/2] Change default Link Loss alert level to high Claudio Takahasi
2011-08-19 14:11 ` [PATCH BlueZ 2/2] Disable Path Loss service in configuration file Claudio Takahasi
2011-08-24 9:47 ` [PATCH BlueZ 1/2] Change default Link Loss alert level to high Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).