CSD connections?

  • Thread starter Thread starter ursdestiny
  • Start date Start date
U

ursdestiny

Hello,
I am student and working on my final year project. My project is to
transfer data from one pocket pc to another ,by connecting them through
the gsm connection that i purchased. My Gsm sim also provides data
connection. So i am looking for basically establishing a CSD
connection.
I have ipaq 6300 series and can code in C# .

Thanks
Adnan
 
0. It won't be fun

1. Use TAPI to enumerate lines, open Cellular Line, open line in the
LINEMEDIAMODE_DATAMODEM mode and establish a call.
2. Call lineGetID(hCall, LINECALLSELECT_CALL, "comm/datamodem") to obtain
serial port handle.
3. Use Opennetcf library to establish serial communications between two
devices
4. It would be much easier if on one end initially you will have a PC with
Hyperteminal and use it as a sending or receiving end of connection attempt
 
Well thanks Alex for the reply ,
but i searched tapi and dont khow how to use it with C#.
Is there any other way other than tapi to change modem modes in c#

thanks
 
Hello Alex
I got the line handle and cant find a way to get handle for a call.
Secondly what will i do with the handle, and which port will i use to
communicate.
There seems no method for opening a port through the handle?
Remember i am working in C#

Thanks
ADAN
 
Like I said - use lineGetID to obtain hComPort from the line.
lineGetID(hLine, 0, NULL, LINECALLSELECT_LINE, lpVarString,
L"comm/datamodem");
you will need to p/invoke it similar to what is done with other functions in
the wrapper. This handle you get is a handle to the already opened port.
 
Back
Top