[PATCH] Add RSSI Monitor documentation API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds new Management API in order to implement a RSSI Monitor.
It will be used on Proximity profile, at least.
---
 doc/mgmt-api.txt |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index e5cf5de..4e7cd03 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -388,6 +388,30 @@ Write Controller Tracing Filter Command
 	Return Parameters:	Status (1 Octet)
 
 
+Enable RSSI Monitor Command
+===========================
+
+	Command Code:		<not yet assigned>
+	Controller Index:	<controller id>
+	Command Parameters:	Address (6 Octects)
+				Low_Alert_Trigger (1 Octect)
+				High_Alert_Trigger (1 Octect)
+	Return Parameters:	Status (1 Octet)
+
+	Low/High_Alert_Trigger range: -128 to 127 dBm
+	The alert trigger values are used to determine when a RSSI Monitor
+	Alert event will be sent.
+
+
+Disable RSSI Monitor Command
+============================
+
+	Command Code:		<not yet assigned>
+	Controller Index:	<controller id>
+	Command Parameters:	Address (6 Octects)
+	Return Parameters:	Status (1 Octet)
+
+
 Command Complete Event
 ======================
 
@@ -552,3 +576,19 @@ Discovering Event
 Event Code		0x00014
 Controller Index	<controller id>
 Event Parameters	Discovering (1 Octet)
+
+
+RSSI Monitor Alert Event
+========================
+
+Event Code		<not yet assigned>
+Controller Index	<controller id>
+Event Parameters	Address (6 octets)
+			Alert_Type (1 Octet)
+
+	Alert_Type:	0x00 In Range
+			0x01 Low
+			0x02 High
+
+	The Monitor Alert Event is sent when a configured trigger
+	is reached (see Enable RSSI Monitor cmd).
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux