M
Massimo
Hi to all
I need to know if there is (inside the main .NET framework or available as a
library) any TCP/IP implementation which can be run over a serial line.
I know the request can sound quite strange, so here are some more elements
I'm testing a client/server application which will be composed of mobile
embedded clients connected to the Internet through GPRS modems and a central
server (written in .NET/C#) which will sit there receiving data from the
clients. The actual clients' CPU will be a mcirocontroller, so their
firmware will be written in plain C language, but for now the actual
hardware isn't available, so I'm just simulating them using standard Windows
program and TCP/IP sockets.
The GPRS modem is a device which can be accessed through a serial port and,
when given proper commands (some proprietary extensions of the AT set),
establishes a GPRS connection, which acts just like a standard modem
connection to an ISP; after doing this, the controlling program needs to run
TCP/IP (PPP) over the "virtual" serial line which is created.
Since I'm testing this modem's behaviour from a Windows application, I need
to go through the whole process of establishing a connection and handling
it; I managed to use Windows to do this by connecting the modem to a
computer, installing a "standard modem" on the same serial port and creating
a DUN connection which, instead of dialing a phone number, just sends the
proper AT commands to establish the GPRS connection; this way, Windows' own
TCP/IP stack is used. Everything works fine.
Now I need to handle this from an application, so I'm in need of a TCP/IP
protocol stack (with PPP!) to run over the GPRS connection, in order to test
the whole process; the actual clients will of course have their own TCP/IP
stack: the microcontrollers I'll use comes with proper C libraries.
I'd like to know if there is anything available for .NET which can run
TCP/IP and PPP over a serial line; if there isn't anything available for
..NET, a standard C library could also do, because I'm anyway going to have
to use one for the final development process, so I can just use it for this
intermediate step and write the simulated clients in C.
Thanks for any suggestion about this strange issue
Massimo
I need to know if there is (inside the main .NET framework or available as a
library) any TCP/IP implementation which can be run over a serial line.
I know the request can sound quite strange, so here are some more elements
I'm testing a client/server application which will be composed of mobile
embedded clients connected to the Internet through GPRS modems and a central
server (written in .NET/C#) which will sit there receiving data from the
clients. The actual clients' CPU will be a mcirocontroller, so their
firmware will be written in plain C language, but for now the actual
hardware isn't available, so I'm just simulating them using standard Windows
program and TCP/IP sockets.
The GPRS modem is a device which can be accessed through a serial port and,
when given proper commands (some proprietary extensions of the AT set),
establishes a GPRS connection, which acts just like a standard modem
connection to an ISP; after doing this, the controlling program needs to run
TCP/IP (PPP) over the "virtual" serial line which is created.
Since I'm testing this modem's behaviour from a Windows application, I need
to go through the whole process of establishing a connection and handling
it; I managed to use Windows to do this by connecting the modem to a
computer, installing a "standard modem" on the same serial port and creating
a DUN connection which, instead of dialing a phone number, just sends the
proper AT commands to establish the GPRS connection; this way, Windows' own
TCP/IP stack is used. Everything works fine.
Now I need to handle this from an application, so I'm in need of a TCP/IP
protocol stack (with PPP!) to run over the GPRS connection, in order to test
the whole process; the actual clients will of course have their own TCP/IP
stack: the microcontrollers I'll use comes with proper C libraries.
I'd like to know if there is anything available for .NET which can run
TCP/IP and PPP over a serial line; if there isn't anything available for
..NET, a standard C library could also do, because I'm anyway going to have
to use one for the final development process, so I can just use it for this
intermediate step and write the simulated clients in C.
Thanks for any suggestion about this strange issue
Massimo