summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNishanth V <nishanth.v@intel.com>2017-09-07 09:53:14 +0530
committerDenis Kenzior <denkenz@gmail.com>2017-09-08 15:06:10 -0500
commit9e83110092619947142917c0e42ebf8a7319717e (patch)
treecc42f8985733d35d7e709a80bde60ecf728860aa /doc
parentebcb19622c59a9608fec3ba41997cf544509671b (diff)
downloadofono-9e83110092619947142917c0e42ebf8a7319717e.tar.gz
netmon: modified api.txt for network monitor agent
added new DBUS methods RegisterAgent and UnregisterAgent to Networkmonitor interface so that any client of ofono can register for serving cell updates. Added new agent interface NetworkMonitorAgent with two methods, ServingCellInformationChanged and Release.
Diffstat (limited to 'doc')
-rw-r--r--doc/networkmonitor-api.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/networkmonitor-api.txt b/doc/networkmonitor-api.txt
index 8d73af00..e8fae8f7 100644
--- a/doc/networkmonitor-api.txt
+++ b/doc/networkmonitor-api.txt
@@ -22,6 +22,34 @@ Methods a{sv} GetServingCellInformation()
are available, their valid value ranges and
applicability to different cell types.
+ void RegisterAgent(object path)
+
+ Registers an agent which will be called whenever the
+ modem registers to or moves to a new cell.
+
+ void UnregisterAgent(object path)
+
+ Unregisters an agent.
+
+NetworkMonitorAgent Hierarchy [experimental]
+=============================
+
+Service unique name
+Interface org.ofono.NetworkMonitorAgent
+Object path freely definable
+
+Methods void ServingCellInformationChanged(a{sv})
+
+ This method is called whenever the serving cell
+ information has been updated.
+
+ Possible Errors: None
+
+ void Release() [noreply]
+
+ Agent is being released, possibly because of oFono
+ terminating, NetworkMonitor interface is being torn
+ down or modem off. No UnregisterAgent call is needed.
Network Monitor Property Types
==============================