From 9e83110092619947142917c0e42ebf8a7319717e Mon Sep 17 00:00:00 2001 From: Nishanth V Date: Thu, 7 Sep 2017 09:53:14 +0530 Subject: [PATCH] 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. --- doc/networkmonitor-api.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 ==============================