I am trying (unsuccessfully so far) to develop a program that will create a data (modem) connection to a modem connected to any other phone. I then want to transfer a small file using xmodem.
I have done extensive searches and tried solutions with TAPI calls based on samples I have found. I can dial the number of my laptop from the i-mate and the laptop on my desk rings. I tell it to pickup the line (ATA) and it does, but there is no "LINECALLSTATE_CONNECTED" from the "lineInitialize" callback function on the imate. All I get is a "LINECALLSTATE_DISCONNECTED" with the type as "LINEDISCONNECTMODE_UNREACHABLE". finally the it all hangs up, no connection.
I seem to be banging my head against a wall at the moment. There must be many of you out there who have done this or very similar.
I can post source is you want that type of thing, but I dont expect anyone to debug my app, but any pointers or others experiences are appreciated. I have come across the RIL interface, but I get the impression that TAPI is the "correct" way.
Thanks in advance.
Frustrated...
Have you got data enabled on your SIM. I was also banging my head against a wall until I thought I would check that with my service provider. There are 2 data things they can enable, one is fax but there is also data. Without data enabled you will never get a sucessfull modem connection.
arrhh!.. that's is. lol. I knew it would be something silly. Ill call today.
Thanks also. God bless you.
Well sorry to say that was not the issue, I still only get repeated
"LINEDISCONNECTMODE_UNREACHABLE"
errors. I am starting to wonder if I am just getting really bad lines. Can someone who has made a modem connection from the PPC to a desktop modem please post their experience on how reliable it is and what type of connection speed it should connect at (9600? 1200? 300? any connection?).
Is their any working sample code for creating a data connection from the PPC using the TAPI?
I will be happy to publish the code to the small project I am doing so future developers have something to work from as I havent been able to find a working example so far. (when it works that is)
Any help appreciated.
Thank-you
Figured out why it would not connect, for anyone else who has similar problems. Mine was the "CSC Line Type" option in the connection settings area.
It was set to "9600 v110" and "Non-transparent".
Im in australia, I understand the v.110 is the american standard, I changed it to
"9600 v.32" and "Non-transparent" and it connects fine. (dont you hate this type of bug)
Im still unsure what the "Transparent" and "Non-transparent" are todo with, if anyone could expain it would be appreciated.
I am glad you got it working. So I guess your code must be OK. I did not set any special communication mode so I guess that my XDA must of been set correctly anyway. It seems sensible that you are supplied with a setup for the country your device is meant for. I say this is bad of the provider.
How do you get to this setting ? I can't even seem to find it on my XDA. I have got a CSD setting that has a choice of 'Analogue' or 'ISDN' mode, mine is set to 'Analogue'.
I did post some code on this forum that is cut from an application I wrote, have a look at
http://forum.xda-developers.com/viewtopic.php?p=7857&highlight=#7857
Cheers
Paul
The code actually worked almost first time when I had all the connection settings right. Ive got the XModem transfer working now also.
The "CSD Line Type" on my device (an i-mate) is an icon in the setting connection tab. In the same tab there is also
"Beam" - allows you to turn on recieve all incoming beams
"Bluetooth" - on/off/discoverable and bonding
"Connections" - normal connection setup
"GPRS Settings" - PAP/CHAP auth and class 8(4RIT)/class 10(3R2T)
not sure what the different GPRS settings are for either, but that side seems to work.
Hey to you all,
I'm trying to set up a CSD connection via RIL , AT commands and TAPI!!! You seem to have accomplished the TAPI solution which i have not started yet, could you advice me on the necessary TAPI functions to use in order to make this work ?
Any help would be very appreciated. Thanks to all.
Have you seen this link?
http://forum.xda-developers.com/viewtopic.php?t=1716&highlight=csd
Related
Please give me any advice on the problem with this very good but uncertain device.
After a period of my no activity with GSM net (1.5-2 hours) no one can reach me by phone. Just after i make any call (or send sms, make ussd request) and next 2 hours everything is ok, then i'm again out of reach. Signal indicator is ok, and I can make calls anytime i want, but people can't reach me (till i do any action in net).
I've tryed all ROMs i could find, including the latest one - no results.
Operator - North West GSM (Megafon Volga)
I hope the description of a problem is clear. Sorry if it is not.
Please help.
hi,
maybe changing the phone settings to manual helps.
Hi.
U mean Net Selection - automatic/manual ? I will try...
Btw, is there any possibility to set gsm net ping frequency in registry. Or may be there exist a program that can ping gsm net periodically, i think it should kill the problem (gprs pingers do not solve it, i've already tryed).
I remember that on my old Nokia were such a setings as net requests frequency...
Thank you.
GarryDD said:
U mean Net Selection - automatic/manual ? I will try...
Click to expand...
Click to collapse
No results
make sure that your phone settings are correct: in the "band" tab, make sure your network type is set appropriately - if you have a umts (3G) subscription, set it to "wcdma" otherwise, choose "gsm".
Hi,
my GPRS connection is working, it connects without any problem but when i try to navigate with PIE then I can see the message "Opening" on the left lower corner but it just stays that way for a long time and the page never gets displayed. My e-mail works fine so that means i have GPRS connection and working. If i try navigating to a WAP site some pages get displayed and some other don't. If i connect via WiFi or via activesync then i can navigate without any problems. Based on my observations I suspect a problem with the MRU (Maximum receive Unit) of the TCPiP stack but i can not find on the registry where to change that.
Hope someone can help.
I used Tweak2K2 to set it in mine. Sorry I do not know the Reg setting.
hguiraud said:
Hi,
my GPRS connection is working, it connects without any problem but when i try to navigate with PIE then I can see the message "Opening" on the left lower corner but it just stays that way for a long time and the page never gets displayed. My e-mail works fine so that means i have GPRS connection and working. If i try navigating to a WAP site some pages get displayed and some other don't. If i connect via WiFi or via activesync then i can navigate without any problems. Based on my observations I suspect a problem with the MRU (Maximum receive Unit) of the TCPiP stack but i can not find on the registry where to change that.
Hope someone can help.
Click to expand...
Click to collapse
I wonder whether your HTTP proxy port number is correct. I had same problem and I was using the advertised port number until I discovered there was another one that actually worked. I would suggest a port number but I'm O2 UK (it was `advertised as 80 but only actually worked on PIE with 8080)
Mike
You are not alone
Please check the following threads, both are related to our problem, unfortunely none of them gives a solution.
http://forum.xda-developers.com/showthread.php?t=286449
http://forum.xda-developers.com/showthread.php?t=287101
My GPRS connection doesn´t require an HTTP proxy server so Mike´s suggestion didn´t work for me. I contacted Movistar and they are not open to give support since I didn´t buy the device from them....
On the other hand, if somebody can provide the ROM reg settings and a brief instruction on how can be changed would be great
Hi Luiggi
Sorry you have not got it solved yet. I remembered your post and looked for it but did not find it - hoped you had a solution to offer - sadly not
Edit: I suppose you are certain about the proxy? I ask because mine will connect to GPRS just fine without it - BUT PIE does not unless it's set.
Mike
Maybe it is a Movistar problem
Interesting, so happens that my service provider is also Movistar; maybe they have done something different to their network settings. Any way, I was in the US recently and was able to use GPRS roaming although because the TyTN does not differentiates between GPRS and EDGE it could have been that it was using EDGE and that it why i could navigate using PIE.
The funny thing about this problem is that my e-mail works fine and my SPB whether also updates without problems, it is only the navigation with PIE that i have issues with. Based on my observations it seems to be that if the tcp packet is larger that a certain size it gets dropped by the tcp stack.
Not lucky so far
Hi Mike!
Movistar people told me that the don´t need proxy servers for the connections since they use Dynamic IP addresses (?). I´ve have tried a lot of different configurations but not luck so far, the comment posted above could be they key, now the big question is: What are the proper settings and how to modify the reg...?
Will reflashing the phone be the only solution?
Well looks like the options are narrowing down to reflashing the phone.... I'll give it a couple of days more to see if someone can give Us a hint on what to do.
hguiraud said:
Well looks like the options are narrowing down to reflashing the phone.... I'll give it a couple of days more to see if someone can give Us a hint on what to do.
Click to expand...
Click to collapse
I´m not sure about reflashing, actually I have two 8525 I paid to SIM unlock the 1st one so I still have the original ROM 1.34.505.1 and the symptoms are the same, I don´t know what ROM would be suitable to "solve" the problem in case this would be causing the partial lock.
New Finding
I´ve been trying a lot of things and I guess I´m close to the root cause. I strated from scratch with a hard reset and giving a soft reset before the 3 sec secreen of auto configuration, then I tried to set a connection in my ISP, I named it "The Internet" and when I hit the OK button I got a message saying that there was an existing connection setting under the same name!!! I couldn´t find such connection, so I´m pretty sure that the connection is hidden somewhere in the ROM and we need to disable it and create a new one or modify the reg to address a different connection consistent with our own network.... Any thoughts on this?
luiggi said:
I´ve been trying a lot of things and I guess I´m close to the root cause. I strated from scratch with a hard reset and giving a soft reset before the 3 sec secreen of auto configuration, then I tried to set a connection in my ISP, I named it "The Internet" and when I hit the OK button I got a message saying that there was an existing connection setting under the same name!!! I couldn´t find such connection, so I´m pretty sure that the connection is hidden somewhere in the ROM and we need to disable it and create a new one or modify the reg to address a different connection consistent with our own network.... Any thoughts on this?
Click to expand...
Click to collapse
I do have exactly the same problem: an MMS connection is missing but stored somewhere... Anyway to figure out where it is? To me, it's just a flag to change in order for it to re-appear in the \connection\connections tab...
MMS in Cingular
Jeff_mm said:
I do have exactly the same problem: an MMS connection is missing but stored somewhere... Anyway to figure out where it is? To me, it's just a flag to change in order for it to re-appear in the \connection\connections tab...
Click to expand...
Click to collapse
I mapped that one in Cingular, the MMS settings are self extracted from the extended ROM, if you want to get rid of it just do a hard reset and then a soft reset when the 3 sec message shows up, hope this can help you
Please tell us how you did it....
jcb_home said:
I used Tweak2K2 to set it in mine. Sorry I do not know the Reg setting.
Click to expand...
Click to collapse
Yesterday I took a look the the various reg entries and there are some which set default addresses, did you change those addresses? How did you do with Tweak2k2?
8525 on SALE
hguiraud said:
Hi,
my GPRS connection is working, it connects without any problem but when i try to navigate with PIE then I can see the message "Opening" on the left lower corner but it just stays that way for a long time and the page never gets displayed. My e-mail works fine so that means i have GPRS connection and working. If i try navigating to a WAP site some pages get displayed and some other don't. If i connect via WiFi or via activesync then i can navigate without any problems. Based on my observations I suspect a problem with the MRU (Maximum receive Unit) of the TCPiP stack but i can not find on the registry where to change that.
Hope someone can help.
Click to expand...
Click to collapse
I went thru all regs and I couldn´t find MRU or LCP (Link Control Protocol) settings, what disturbes me more is that I put my SIM in my 8125 and everything (IE. messenger, Gmail, Hotmail, etc.) works wonderful!! I think I´ll put on sale my 8525.......
More findings
I do have GPRS connection, no doubt about it. I install Tonaya Iper in my phone and the software gives the ability to trace the route from my phone to the destination, for instance The route to www.gmail.com (216.239.63.19)
is as follows (I set the time [email protected]):
1.- 10.15.14.78
2.- 10.2.4.20
3.- 10.2.4.134
4.- 200.36.174.81
5.- 200.39.31.42 (mx-mesr-rt1.telefonica-data.com.mx)
6.- 213.140.50.233 (So-2-3-1-grtmtyma2.red.telefonica-wholesale.net
7.- Request timed out
8.- 213.140.43.25
9.- 213.140.43.225
10.- 213.140.36.45
11.- 213.140.37.57
12.- 64.233.123
13.- 66.249.94.8
14.- 72.14.233.123
15.- 71.14.233.123
16.- 216.239.63.19 (bp-in-f19.google.com)
When I try to trace the communication with a 1 second timeout the phone stalls for a while in server 213.140.50.233 and makes the traceability extremely slow.
My conclusión is that when the communication reach the server 213.140.50.233 this cause a delay and my phone can not continue to the final destination probably because the pre set delay in the application exceeds its timout parameter.
Any suggestions?
Not a "Maybe" MOVISTAR is guilty for poor GPRS connections!!
hguiraud said:
Interesting, so happens that my service provider is also Movistar; maybe they have done something different to their network settings. Any way, I was in the US recently and was able to use GPRS roaming although because the TyTN does not differentiates between GPRS and EDGE it could have been that it was using EDGE and that it why i could navigate using PIE.
The funny thing about this problem is that my e-mail works fine and my SPB whether also updates without problems, it is only the navigation with PIE that i have issues with. Based on my observations it seems to be that if the tcp packet is larger that a certain size it gets dropped by the tcp stack.
Click to expand...
Click to collapse
Today I use a SIM from the other mexican cell company (telcel), I just enter APN, user name and password and in a blink my 8525 flew thru PIE, hotmail, MS messenger, Gmail and everything!!! Conclusion:Movistar system or set ups are causing all the connection problems, I´ve spent hours in the phone with their wonderful engineers and none of them has been able to explain why Movistar can´t give a decent service to 8525 users.
Using the Traceroute feature of IPer I notice a very long delay to ping the Movistar router located in Madrid (213.140.50.233), there´s where I think the problem is.
You are right Luiggi...!
One of the guys here at the office also has a Dopod 838pro (I'm ussing a HTC TyTN) but with Telcel instead of Movistar...the push e-mail capabilities and the internet surf are really very good ...but with the GPRS of Movistar I recive my e-mails very delayed in the phone and also still unable to sing in to MSN messenger.
Thanks to your post now I know the trut; I was really thinking that maybe the TyTN was the problem (I mean, the HTC branded because the Dopod was functioning just very fine) I was even thinking in return it...
regards
Hummm I suspected that....
Well I think we have (a winner) an answer (partially), I will go back to Movistar and complain, I may not get any results from it but I really have no options since because of my work I travel a lot and the roaming pricing I get with them is way better that the other alternative. The funny thing about this issue is that other HTC phones do not have it. A co worker has a Wizard and he can navigate with PIE. Maybe it would be interesting to investigate what could be the difference or why other phones can navigate and Tytn can't.
Wizard works great!
hguiraud said:
Well I think we have (a winner) an answer (partially), I will go back to Movistar and complain, I may not get any results from it but I really have no options since because of my work I travel a lot and the roaming pricing I get with them is way better that the other alternative. The funny thing about this issue is that other HTC phones do not have it. A co worker has a Wizard and he can navigate with PIE. Maybe it would be interesting to investigate what could be the difference or why other phones can navigate and Tytn can't.
Click to expand...
Click to collapse
I do my living buying and selling phones and I guess next time (tomorrow) I get a Wizard for sale I´ll spend enough time going thru the registry and routes to compare it with the Hermes. Would you guys mind to run IPer and check if the afore mentioned router or server with the problem is common for all of us?
I already wrote a not very nice letter to Movistar, probably they are shocked because normally their tournaround time for an answer is less than 24hrs and this time is taking longer. Next letter I´m going to be addressing the Director or whoever is the top dog.
How do I get/ run the aplication mentioned???
I would like to help to figure out what the problem is or help you guys to get to a solution...so, where can I find and how do I use the software luiggi is mentioning??
Is it free or with a trial version???
regards
Hi all,
Firstly, apologies for being a bit of a newb here, but this is my first ever PDA type phone, and im getting myself confused, and for no real reason it seems !
I've done a bit of searching around, and from what I can work out I am going to make a few assumptions
1 - I should be able to, without using my WLAN connection, browse the internet on my HTC3600 through internet explorer, using my Vodafone 3g or GPRS connection.
2 - there is a way to enable some random wizardry chip inside the phone to activate GPS, and if I was to install TomTom Satnav software, this would work with no extra dongles etc.
Now. if my assumptions are correct (and one should never assume anything) I would be greatly appreciated if someone could in easy to follow newbie freindly (as in, click on start, programs,) instructions as to how I would ...
1 - do what is required to get GPS working
2 - do what is required to get the 3g web browsing working.
Im sure this would be a useful sticky if you cna help me do this, but having a search round on the forum I havn't seen these instructions spelt out. Aware that whatever you tell me I do at my own risk etc, but would really appreciate some help here
cheers all
conanius said:
Hi all,
Firstly, apologies for being a bit of a newb here, but this is my first ever PDA type phone, and im getting myself confused, and for no real reason it seems !
I've done a bit of searching around, and from what I can work out I am going to make a few assumptions
1 - I should be able to, without using my WLAN connection, browse the internet on my HTC3600 through internet explorer, using my Vodafone 3g or GPRS connection.
2 - there is a way to enable some random wizardry chip inside the phone to activate GPS, and if I was to install TomTom Satnav software, this would work with no extra dongles etc.
Now. if my assumptions are correct (and one should never assume anything) I would be greatly appreciated if someone could in easy to follow newbie freindly (as in, click on start, programs,) instructions as to how I would ...
1 - do what is required to get GPS working
2 - do what is required to get the 3g web browsing working.
Im sure this would be a useful sticky if you cna help me do this, but having a search round on the forum I havn't seen these instructions spelt out. Aware that whatever you tell me I do at my own risk etc, but would really appreciate some help here
cheers all
Click to expand...
Click to collapse
Usually I would say search and stop being a noob but I'll be nice today.
1 - I should be able to, without using my WLAN connection, browse the internet on my HTC3600 through internet explorer, using my Vodafone 3g or GPRS connection.
Correct, however you'll have to setup your internet settings for Vodafone, you can usually find these settings on vodafone's support website or by calling customer service.
2 - there is a way to enable some random wizardry chip inside the phone to activate GPS, and if I was to install TomTom Satnav software, this would work with no extra dongles etc.
If you have an older ROM loaded on your P3600 then yes you'll have to upgrade it to enable the GPS. You can check your ROM by going to start->settings->system->device information if it's 1.15, you'll need to upgrade it to get GPS, however if it says 1.23, your GPS should already be enabled. You may also want to look into upgrading your P3600 to WM6.
Here are some useful links
http://wiki.xda-developers.com/index.php?pagename=HTC_Trinity
http://trinityguides.info/
BTW, don't get too attached to this phone, the screen will probably stop responding in about a month and you'll have to send it in to get serviced.
Good luck.
conanius said:
...
1 - do what is required to get GPS working
Click to expand...
Click to collapse
Don't do anything apart from going to Start/Settings/System/Device Information and checking what is listed for Radio ROM. If it ends in **.**.11 it is GPS enabled. If not, as vanydotk says, you will need to update the Radio ROM.
Any GPS aware application (TomTom etc, etc) will automatically initiate the GPS receiver as needed, as long as the applications settings point to the correct GPS port (COM9) You don't need any additional hardware.
conanius said:
.....
2 - do what is required to get the 3g web browsing working.
Click to expand...
Click to collapse
Make sure you have a 3G SIM card, and 3G is enabled on your account (it isn't always).
Use This Guide to manually configure the Vodafone settings (HTC did have an automatic file to do this, but it's been pulled from their site). Note there are different settings for contract and PAYG accounts.
Be very aware that mobile browsing can be very expensive. Before you do anything, make sure you buy a data bundle, or it may cost you up to £3 per MB of data.
Also a newbie and had spent some time reading the forum looking for answers... Can any experts clarify and/or confirm my question below? I know it s a very basic question for many here, but I would really appreciate it if someone can help me to get this working.
Do I have to have Mapping software installed on my Trinity in order for the GPS to work?
I go into the Camera mode by pressing the "shutter" button. Tap on the camera icon (upper left in landscape view) to enable GPS. However, nothing happens. Looks like it just keeps trying to start GPS.
The screen message reads: "Initializing GPS..."
What do I need to do to get the GPS working?
According to a previous post. My device came with the GPS enabled based on the ROM versions on my Trinity.
Some info:
I purchased my D810 in Hong Kong but I am using it now in Taipei.
The ROM info are as follows:
-ROM version: 1.23.707.6
-ROM date: 02/08/07
-Radio version: 1.35.00.11
-Protocol version: 32.68.7020.10H
OS 5.1.461 (Build 15671.3.3.0) Windows Mobile 5.0 with Messaging and Security Feature Pack. English version.
I am currently on a pre-paid phone service (FarEast Tone) so I do not have access to 3.5G, etc.
Thanks in advance!!!
good morning everybody
i've got a networking question for you: i followed this guide: MDAC - Home connection (sorry for posting it in german).
basically it describes the following essential things:
setting up the modem on my home computer to accept incoming calls
actually i opened a terminal on COM2 which is my modem-port and tested it by calling the modem from my mobile phone via voice-connection. the terminal displayed: RING RING RING RING ... etc.
so i set up my hermes: changed CSD-linetype to 9600(v.110) and the mode to: non-transparent.
set up a new modem connection with the number of my target modem and tried both version, with login credentials and without... (in fact i got the same problems in both tries)
as i have set up everything correctly i tried connecting my hermes via the new modem connection to my modem-computer, but after three tries the hermes gave up and told me: could not connect to...
looking into my modem-terminal: nothing... not even a ring...
so i must assume: my settings are incorrect, do you have any clue?
or has anyone else tried such a connection before?
hope for some replies.
greetings
garfield
CSD connection is a bit hit and miss in recent HTC devices.
Yes, it's definitely a device problem rather than a carrier one - the receiving modem indeed never rang.
If you have patience, try redial a couple of times. I got one out of ten that got through.
hmm, might this be fixed by flashing a newer, or even an older, radio rom?
so i will try to redial, maybe i will get a connection after a few hundred tries
thanks for reply, i thougt i set a setting completly wrong, although there aren't much.
greetings
I thought a radio flash would help too - but I was wrong. I proved it myself.
I recently flashed my machine (Trinity) from WM5 to WM6 and probably will give it another try if I got some spare time. I wish it get fixed - but it's just a wish...
Hey, just picked up a pre-pay 3 Skypephone, and its a nifty phone for the price, however what i would like to do is be able to use its good internet connection on my wizard, I have tried setting it up as a bluetooth modem, but when it tries connecting it claims there is no mobile at the number dialled (*99***1#). i think it may be something to do with it wanting to fill in the area code.
Any ideas? or anyone know how to get this to work properly?
thanks in advance
I was right, I figured out that i needed to turn off the dialling rules (schoolboy error i know)
anyway, all fixed now i have cheap fast browsing on the go