PC Review


Reply
Thread Tools Rate Thread

CSD connections?

 
 
ursdestiny
Guest
Posts: n/a
 
      31st May 2005
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

 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      31st May 2005
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

--
Alex Feinman
---
Visit http://www.opennetcf.org
"ursdestiny" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>


 
Reply With Quote
 
adan
Guest
Posts: n/a
 
      3rd Jun 2005
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

 
Reply With Quote
 
Sergey Bogdanov
Guest
Posts: n/a
 
      3rd Jun 2005
Alex has also TAPI managed wrapper which you can use:
http://www.alexfeinman.com/download.asp?doc=tapi1.1.zip

--
Sergey Bogdanov
http://www.sergeybogdanov.com


adan wrote:
> 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
>

 
Reply With Quote
 
adan
Guest
Posts: n/a
 
      9th Jun 2005
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

 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      21st Jun 2005
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.

--
Alex Feinman
---
Visit http://www.opennetcf.org
"adan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lingering Idle Oracle Connections? Persistent connections? jobs Microsoft ASP .NET 2 16th Nov 2007 03:37 AM
PPPOE connections created show up as Dial-up connections =?Utf-8?B?amFja2ll?= Windows Vista Networking 0 6th Oct 2007 07:20 AM
Inbound connections fail, outbound connections are fine - firewall shut off, very strange wwworldwideweb@gmail.com Windows XP General 0 18th Aug 2007 05:28 PM
Disappearing Dial-up connections in the network connections folder Effegy Windows XP Networking 0 9th Jun 2004 08:45 PM
>My Network Connections window does not have anything called Incoming Connections lhd_5113 Windows XP Networking 1 26th Nov 2003 08:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:00 AM.