Hello,
I'm writing an application (C++) which connects to a specialized server
through the GPRS Network. I use a GPRS modem for which I have no driver (the
manufacturer didn't publish any). I use Windows ras capability to connect to
the server, and that's fine. The server can send some orders to my
application using GPRS or SMS. This is why I also need to permanently read
the SIM card and check whether I have a SMS message to decode. In fact, my
application receives orders through GPRS or SMS and answer through GPRS.
I know how to connect using rasdial functions. I also know how to read SMS
using direct AT commands. But I can't figure how I can do these two things
at the same time, without hanging the ras connection, which is not possible,
due to delay considerations. When I am connected to the GPRS network, the
serial port is not avalaible anymore, and I can't read SMS.
I think I have to write a driver to split the serial port into 2 virtual
serial ports. One will handle all GPRS communications, and I will read SMS
on the other one. But I have no precise idea on how to do that.
Your contribution will be really appreciated, I'm really lost !
Precision : I use Windows CE 4.2, but I think that the solution will be the
same in W2K.
Many thanks in advance !!
Olivier