2011-07-19 22:15:32

by Anderson Briglia

[permalink] [raw]
Subject: [RFC 0/1] RSSI Monitor

This RFC is about RSSI monitoring. This feature is needed by Proximity
profile, at least. The suggested proposal adds two Management commands in order
to handle a list of RSSI Monitors. Each connection can have just one registered
RSSI monitor. Each monitor has two triggers for RSSI values and alerts will be
sent from kernel to userspace when a trigger is reached. The kernel will be
responsible to decide when and to send the alerts to userspace.

Anderson Briglia (1):
Add RSSI Monitor documentation API

doc/mgmt-api.txt | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)

--
1.7.4.1



2011-07-19 22:15:33

by Anderson Briglia

[permalink] [raw]
Subject: [PATCH] Add RSSI Monitor documentation API

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