qteck 1010 modem at commands - Windows Mobile Development and Hacking General

i've got a qtek 1010 pocketpc and i'l like to use the internal modem to make a data call over gsm to an other pda (whitch use a gsm mobile via infrared). On my PDA ipaq i use "Createfile" to talk with mobile but un my qtek this approach does not work...
Can some one give me suggestions???
Thanks
Fabio Petagna

you should use docummented TAPI and optionally RIL calls to establish data connection.

mamaich said:
you should use docummented TAPI and optionally RIL calls to establish data connection.
Click to expand...
Click to collapse
Thanks alot, i found this on msdn
To create a modem connection by using TAPI
Call the lineInitializeEx function to initialize TAPI.
Call the lineOpen function to open the line.
Call the lineMakeCall function.
Call the lineGetMessage function, as needed, to receive status messages from TAPI.
Call the lineDeallocateCall function.
Call the lineClose function to close the line connection.
Call the lineShutdown function to end the session.
Ok but what about send data over the connection???

WriteFile(ComHandle);

WriteFile(ComHandle);

Related

Disconnect GPRS using EVC++ 4.x

Hello,
I am writting Phone application using EVC++ (4.2) on PPC 2003. I am unable to crack following two issues,
1. I am successful in connecting to GPRS using Connection Manager API. To disconnect GPRS, I am using ReleaseConnection api but it does not disconnects GPRS connection. Is there any other API or RIL reference available to do this ?
2.After disconnecting from GPRS, I wanted to place a GSM TAPI call. In my program, I am able to place call, but the delay between disconnect GPRS and GSM Call Active is almost 20 seconds. I hope this is because I am not able to disconnect GPRS and TAPI does this when I issue a new outgoing call command and this scenario puts this delay.
Please help If anybody have any ideas in this regard...
best regards,
Sachin Mahajan
Dear Sachin!
You can try to do following:
1. Establish GPRS connection by using ConnMgrEstablishConnection()
2. Wait for end of establishing by using ConnMgrConnectionStatus(); CONNMGR_STATUS_CONNECTED means end of waiting
3. By using RasEnumConnections() you can find and store HRASCONN of your active GPRS connection (by name or simply first found)
4. Some actions...
5. ConnMgrReleaseConnection() releases ConnMgr connection
6. RasHangUp( HRASCONN ) hangs up RAS connection if p. 5 didn't do it
Sincerely
Ruslan.
Hello Ruslan,
Many Many thanks for your kind help in GPRS disconnect. I will try this today and will let you know the status.
best regards,
Sachin Mahajan
Also you can get some interesting statistics before hanging up RAS connection by using RasGetLinkStatistics(). Connection duration, number of sent and received bytes...

data call with a XDA2

I have to do an application to connect a handheld (with an embebed MC45 siemens module and Pocket PC 2003 , Xscale processor) to a server. I´m planning to use PPP. As I do not have already this handheld, I´m using a XDAII to start the developments.
The data call use some private GSM infrastructure, with a RAS (suporting V110) on the remote site ( RAS connected to a server)
I have a lot of questions. First, is it possible to do this development in a XDAII ? ( my question is if we know all the APIs and DLL needs for a PPP data call using V.110, if these API are publics ). For example, how to dial or to anwser a call, how to use PPP under a GSM call ..
Other question. The MC45 siemens module uses standart AT commands. I have read that this is not possible with a XDAII. Will be compatible my code writen for the XDAII with the handheld using the MC45 module?

Blue Angel GPRS dial by TAPI ...... ?

Hi, can anyone tell me if its possible to do a gprs dial via TAPI without using the connection manager on the i-mate PDA2K ?, I am developing a piece of software that needs full control of the dial process, GSM is not a problem and this is working succesfully using the virtual COM9 comm port once connected. GPRS however is a different story. I can find no way of configuring the APN via TAPI (I'm sure there is a way, I just haven't found it yet!). All attempts to do a GPRS dial by TAPI result in a succesful return from linemakecall but in reality does nothing, no dial, no connection made.
I have made a GPRS connection using the internal modem COM2 succesfully with AT commands but had to silence the RIL layer first, this has the unfortunate side effect of disconnecting the phone software so that incoming calls are missed, this is not acceptable for my aplpication.
Any thoughts/suggestiong greatfully received ....
cheers,
Dave

Setting XDA Modem for CSD or GPRS

Please refer to this link,
my problem is that ly network does not allow me to process a succesful ATD command as it asks me to specify if CSD (circuit switch data) or GPRS. I am just trying to send establish a data call through CSD. thnks
http://forum.xda-developers.com/viewtopic.php?t=28074&highlight=

GPRS Datacall

Hi,
I' am trying to connect two Smartphones over GPRS. At first I used TAPI to establish a connection between the two devices, but I don't want to use a CSD-connection. Then I took a look at the Connection Manager from EVC++, but I think with the Connecttion Manager you are not able to connect the two phones by there phonenumbers, like with modems or tapi.
Is it even possible to do a data call over GPRS? Or is GPRS just used to connect to the internet?
thx foobar
I had an audiovox rtm8000 and I put my home phone number into the gprs connection settings. I was able to log in with terminal services client. I don't know how it could be done using a normal phone hardware.
Thanx, for your post. Could you describe a little more what you did? Which APIs did you use?
I did not do it myself. It was a tool that came with the audiovox phone card. It only works with that card.

Categories

Resources