330 iTempNetInfo.iId.iCountryCode.Copy( nwNames.iCountryCode ); |
330 iTempNetInfo.iId.iCountryCode.Copy( nwNames.iCountryCode ); |
331 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: CountryCode: %S", &iTempNetInfo.iId.iCountryCode); |
331 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: CountryCode: %S", &iTempNetInfo.iId.iCountryCode); |
332 |
332 |
333 iTempNetInfo.iId.iNetworkCode.Copy( nwNames.iNetworkId ); |
333 iTempNetInfo.iId.iNetworkCode.Copy( nwNames.iNetworkId ); |
334 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: NetworkCode: %S", &iTempNetInfo.iId.iNetworkCode); |
334 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: NetworkCode: %S", &iTempNetInfo.iId.iNetworkCode); |
|
335 |
|
336 iTempNetInfo.iStatus = (MPsetNetworkSelect::TNetworkStatus)nwNames.iStatus; |
|
337 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: Status: %d", &iTempNetInfo.iStatus); |
335 |
338 |
336 iTempNetInfo.iLongName.Copy( nwNames.iLongName ); |
339 iTempNetInfo.iLongName.Copy( nwNames.iLongName ); |
337 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: LongName: %S", &iTempNetInfo.iLongName); |
340 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: LongName: %S", &iTempNetInfo.iLongName); |
338 |
341 |
339 iTempNetInfo.iShortName.Copy( nwNames.iShortName ); |
342 iTempNetInfo.iShortName.Copy( nwNames.iShortName ); |
340 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: ShortName: %S", &iTempNetInfo.iShortName); |
343 __PHSLOGSTRING1("[PHS] CPsetNetwork::RunL: ShortName: %S", &iTempNetInfo.iShortName); |
341 |
344 |
342 if ( nwNames.iAccess == RMobilePhone::ENetworkAccessUtran ) |
345 if ( nwNames.iAccess == RMobilePhone::ENetworkAccessUtran ) |
343 { |
346 { |
344 iTempNetInfo.iAccess = ENetNetworkWCDMA; |
347 iTempNetInfo.iAccess = ENetNetworkWCDMA; |
|
348 } |
|
349 else if ( nwNames.iAccess == RMobilePhone::ENetworkAccessGsmAndUtran ) |
|
350 { |
|
351 iTempNetInfo.iAccess = ENetNetworkGSMandWCDMA; |
345 } |
352 } |
346 else |
353 else |
347 { |
354 { |
348 iTempNetInfo.iAccess = ENetNetworkGSM; |
355 iTempNetInfo.iAccess = ENetNetworkGSM; |
349 } |
356 } |