Hi all,
I am using RConnectionMonitor GetIntAttribute method to retrieve the bearer type of currently active connection.
But it is always returning KErrNotFound (-1) status.
Here's my code:
Code:void CMyClass::EventL(const CConnMonEventBase& aConnEvent) { switch( aConnEvent.EventType() ) { case EConnMonDeleteConnection: { iConnMonitor.GetIntAttribute(aConnEvent.ConnectionId(),0,KBearer, iBearer, iStatus); SetActive(); break; } } }
I need to do it inside EConnMonDeleteConnection case as I want this info only for the currently active connection.
Anybody knows what to do?
Am I missing here something?
Thank you in advance.



