Read-only archive of the All About Symbian forum (2001–2013) · About this archive

roaming

15 replies · 6,080 views · Started 28 March 2004

Hi
does anyone know something about roaming status of a cellular ?
any info would be great .
thanks

Hey,

There is a method in EtelMM (include etelmm.h to use these) that can tell you whether you are roaaming or not:
GetNetworkRegistrationStatus(TRequestStatus& aReqStatus,MobilePhoneRegistrationStatus& aStatus) const;. This method will return a TMobilePhoneRegistrationStatus enum with details on the current network registration status. You should test for ERegisteredRoaming, which means that the phone is registered in a network other than its home network. I haven't tried it though so I don't know if it works.

Regards, Aljaz

aljaz24 wrote:Hey,

There is a method in EtelMM (include etelmm.h to use these) that can tell you whether you are roaaming or not:
GetNetworkRegistrationStatus(TRequestStatus& aReqStatus,MobilePhoneRegistrationStatus& aStatus) const;. This method will return a TMobilePhoneRegistrationStatus enum with details on the current network registration status. You should test for ERegisteredRoaming, which means that the phone is registered in a network other than its home network. I haven't tried it though so I don't know if it works.

Regards, Aljaz

I have no etelmm.h in my Symbian 6.1 VC++

What version do I need to see this file ?

But it sounds like etelmm provides exactly what I need. I want to get the Network name, and MCC which is mantained by the MM (Mobility Management) layer in the GPRS protocol stack.

Hey,

Depends which phone you want to develop for. Nokia 7650, 3650 and the like use Series 60 platform 1.1 which doesn't support etelmm.h. It is only supported in Series 60 2.0 devices such as Nokia 6600. On Series 60 1.1 you can find what you need to use in etelagsm.h and etelbgsm.h. You can find etelmm.h here: http://zerogravity.narod.ru/symbian/uiq/etelmm.html .

Regards, Aljaz

Now that was really interesting. You can download four different sets of headers:
UIQ 2.1, A920 SDK, Cut-down by Symbian, and some files Nickolay Golubev hacked together.

The Motorola A920 SDK, and UIQ 2.1 have a big etelmm.h with a class

class TMobilePhoneNetworkInfoV1 : public TMultimodeType

which contains the following members, all of which I need

typedef TBuf<30> TMobilePhoneNetworkDisplayTag;
typedef TBuf<20> TMobilePhoneNetworkLongName;
typedef TBuf<10> TMobilePhoneNetworkShortName;
typedef TBuf<4> TMobilePhoneNetworkCountryCode; // MCC in GSM and CDMA

The Cut-down etelmm.h by Symbian Ltd, and Nickolay's files don't help me.
I use VC++ SDK V1.2 a build for a Series60 0.9. Target Nokia 3650

Does this mean I can only use this feature on a UIQ device?

I�d much rather work on Series60 ideally Nokia 6600, because that�s the standard platform at my target customer.

What SDK and phone do I need?

Hey,

You can use the etelmm.h on either the UIQ devices or Nokia Series 60 2.0 platform phones (which at this time as far as I know only includes Nokia 6600). I suggest you use the etemm.h from the UIQ 2.1 SDK as it is probably the most complete.

Regards, Aljaz

Beast wrote:Now that was really interesting. You can download four different sets of headers:
UIQ 2.1, A920 SDK, Cut-down by Symbian, and some files Nickolay Golubev hacked together.

The Motorola A920 SDK, and UIQ 2.1 have a big etelmm.h with a class

class TMobilePhoneNetworkInfoV1 : public TMultimodeType

which contains the following members, all of which I need

typedef TBuf<30> TMobilePhoneNetworkDisplayTag;
typedef TBuf<20> TMobilePhoneNetworkLongName;
typedef TBuf<10> TMobilePhoneNetworkShortName;
typedef TBuf<4> TMobilePhoneNetworkCountryCode; // MCC in GSM and CDMA

The Cut-down etelmm.h by Symbian Ltd, and Nickolay's files don't help me.
I use VC++ SDK V1.2 a build for a Series60 0.9. Target Nokia 3650

Does this mean I can only use this feature on a UIQ device?

I�d much rather work on Series60 ideally Nokia 6600, because that�s the standard platform at my target customer.

What SDK and phone do I need?

I went and downloaded all SDKs.

SDK Symbian
S60_2_0 7.0s
S60_2_1 7.0s enchanced
s60_2_2 8.0
uiq_2_1 7.0

The s60_2_2 has a short etelmm.h that is no use to me. None of the others have any etelmm.h.

The Nokia 6600 is based on S60_2_0

Hey,

that is exactly why I gave you the link to the site that has all the etelmm.h files. You can get the etelmm.h ment for the UIQ 2.1 SDK from the site and use it with the Series 60 2.2 SDK you downloaded.

Regards, Aljaz

Beast wrote:I went and downloaded all SDKs.

SDK Symbian
S60_2_0 7.0s
S60_2_1 7.0s enchanced
s60_2_2 8.0
uiq_2_1 7.0

The s60_2_2 has a short etelmm.h that is no use to me. None of the others have any etelmm.h.

The Nokia 6600 is based on S60_2_0

Good but why didn't I find the etelmm.h in the UIQ 2.1 download ? Is it a scret file?
I also cannot find any etelagsm, or etelbgsm.h anywhere.

Anyway I'll have up upgrade to Visual studio .net to use the 2.2 SDK, and since I'm making progress on other fronts with my 1.2 under VC++ 6, I'll wait until I really need this feature.

But thanks for the help, I'd never have that out if I read for 1000 hours.

aljaz24 wrote:Hey,

that is exactly why I gave you the link to the site that has all the etelmm.h files. You can get the etelmm.h ment for the UIQ 2.1 SDK from the site and use it with the Series 60 2.2 SDK you downloaded.

Regards, Aljaz

Hey,

I'm affraid you still don't understand. The etelmm.h file is NOT (I repeat NOT) available with the SDK as it was not meant to be public. It was released as part of the UIQ 2.1 beta but was removed later on as it was not meant to be public as I mentioned. However it is available from the site I gave you. The files etelagsm.h and etelbgsm.h are also not public so they are NOT available from the SDKs however you can find them on the web or mail me if you need them and I'll send them to you.

Regards, Aljaz

Beast wrote:Good but why didn't I find the etelmm.h in the UIQ 2.1 download ? Is it a scret file?
I also cannot find any etelagsm, or etelbgsm.h anywhere.

Anyway I'll have up upgrade to Visual studio .net to use the 2.2 SDK, and since I'm making progress on other fronts with my 1.2 under VC++ 6, I'll wait until I really need this feature.

But thanks for the help, I'd never have that out if I read for 1000 hours.

Thanks for sending the files. Both etelmm.h, and etelbgsm.h can do what I want.

I know I can't use etelmm.h in SDK 1.2. I'll see how it goes with etelbgsm in this SDK.

It would be very good if I can do all this for a 0.9 phone, which is my current target on a Nokia 3650. I'll post the results here once I know more.

yow mullah i'm a cool guy

Beast wrote:Good but why didn't I find the etelmm.h in the UIQ 2.1 download ? Is it a scret file?
I also cannot find any etelagsm, or etelbgsm.h anywhere.

Anyway I'll have up upgrade to Visual studio .net to use the 2.2 SDK, and since I'm making progress on other fronts with my 1.2 under VC++ 6, I'll wait until I really need this feature.

But thanks for the help, I'd never have that out if I read for 1000 hours.

Beast wrote:It would be very good if I can do all this for a 0.9 phone, which is my current target on a Nokia 3650.
The 7650 was a Series 60 0.9 phone. The 3650 is Series 60 1.2.

could anyone send me the etelbgsm.h and etelagsm.h?
please email at [email][email protected][/email] or you can give me the link where I can find those files

especially for aljaz24

thank you