Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
mjnip
Posts: 27
Registered: 09-04-2008
Accepted Solution

Telus WAP1.1 and TCP settings and network connections

Hi All,

 

To give a bit of background.  I am consuming a webservice from the client side, MDS definitely works, but I am trying to force other connection methods.

 

1) Does anyone know the WAP1.1 and TCP settings for Telus Mobility?  I called them, and they were only able to provide TCP settings, but when I try them it does not connect.  (gives a connection timeout or failed to connect error)

 

2) Do you know if Telus supports WAP2.0?

 

3) I have tried using the following querystring additions to connect various ways to the webservice.  

 

 

MDS:

 

_url + ";deviceside=false"; WAP2.0: //get the service book records and iterate to find uid uid = records[i].getUid(); //bunch of stuff _url + ";ConnectionUID=" + uid; TCP: _url + ";deviceside=true;apn=tmix.imc.is;tunnelauthusername=" + Phone.getDevicePhoneNumber(false) + "@1x.telus.mobility.com;tunnelauthpassword=" + DeviceInfo.getDeviceId();

 

If somebody can shed some light on what I may be doing wrong or give some WAP1.1/TCP settings I would appreciate it.  I believe I've gone through every post and a large number of knowledge base articles.

 

Thanks,
Matt

 

Please use plain text.
Developer
marcn
Posts: 53
Registered: 01-08-2009

Re: Telus WAP1.1 and TCP settings and network connections

Telus is a CDMA carrier so you don't need APN settings for Direct TCP connections.  All you need is ";deviceside=true" and it will work fine.  They support WAP2 as well, you should be able to get the UID from the service records (on my phone it's "WAP2").

 

Marc

Please use plain text.
Developer
mjnip
Posts: 27
Registered: 09-04-2008

Re: Telus WAP1.1 and TCP settings and network connections

[ Edited ]

Marcn,

 

Thanks for your post.  I was able to get TCP working, but no luck with WAP2 still.

 

When I iterate through my service records, I get a UID=WAP2 trans, so I use the following url:

 

 

http://someurlhere.com;ConnectionUID=WAP2 trans

 

This doesn't work for me.  I've read other posts and it seems fine to have the space between WAP2 and trans. 

 

Can you check your service book records in your BB Options and tell me what the UID is in there?  I'd be interested to know if you used the exact same UID in your code to connect as what is stated in the service book.

 

Just thinking now, do you think I need to URL encode that string since there is a space?

 

 

Message Edited by mjnip on 08-10-2009 05:32 PM
Please use plain text.
Developer
marcn
Posts: 53
Registered: 01-08-2009

Re: Telus WAP1.1 and TCP settings and network connections

The service record on my device is also "WAP2 trans" too.  You also need to put "deviceside=true" in the URL, so it should be:

 

http://someurlhere.com;deviceside=true;ConnectionUID=WAP2 trans

Please use plain text.
Developer
marcn
Posts: 53
Registered: 01-08-2009

Re: Telus WAP1.1 and TCP settings and network connections

And yeah, URL encoding would probably help, too.
Please use plain text.
Developer
mjnip
Posts: 27
Registered: 09-04-2008

Re: Telus WAP1.1 and TCP settings and network connections

No need to URL encode, but the deviceside=true definitely needed to be there.

Please use plain text.