I have had some success with this. The following code does work but you only get an alert when the "CellID" changes which is not as useful as being able to read the current "CellID".
Code:
function getCellID()
{
var criteria = new Object();
criteria.Entity = "Network";
criteria.Key = "CellId";
try
{
var result = so.ISysInfo.GetNotification(criteria, cellCallback);
}
catch (e)
{
alert ("Exception: " + e);
}
}
function cellCallback(transId, eventCode, result)
{
alert(result.ReturnValue.Status);
}
If you try to use
Code:
so.ISysInfo.GetInfo
instead of
Code:
so.ISysInfo.GetNotification
what you get is an exception with the text "Error: invalid transaction id".