From: Isaac Chen on 14 Jun 2005 09:15 Olivier, IIRC, the command is like "AT+CMUX=..." and that will switch the modem to multiplexing mode. See GSM 07.10 for details. An easier way, IMO, is to find a modem with such driver. Sony-Erickson has some products, GC-8?, with such driver. But I'm not sure if it fits your need exactly. You have to check it for yourself. The effort to write a virtual serial port driver in desktop Windows is quite huge, according to many experts here. BTW, your original post said your are using WinCE 4.2. The situation is easier there since it provides a serial MDD for you to start with. It's still quite some work ahead, though. Many GPRS modems are not that standard compliant. Another easier way is to have the server use TCP/IP network (exclusively) to send orders to your application, if possible. It's technically and economically better, I suppose. Why waste the SMS fee if your application and the server are already on the Internet? Good luck. Isaac Chen "Olivier" <olb91(a)yahoo.fr> wrote in message news:OmSGkVtbFHA.3444(a)TK2MSFTNGP10.phx.gbl... > Thanks Pavel, but I think it's possible. Let's explain how it could probably > work : > 1. It 's possible to send AT command to a modem, even while it's connected, > using escape sequence, following by the AT command. I mean it's clearly > possible to send or read SMS while the modem is connected (all GSM mobiles > do that), and I know how to do it. My problem is that if I connect to the > Internet using Windows RAS functions, Windows does not allow another app > than the RAS dll to write orders to the serial port physically connected to > the modem. > 2. Quite all GPRS modems support a "multiplex mode". In this mode, the modem > encapsulate all data on the MODEM-PC serial link with a light protocol > (start key byte, length of the frame, data, checksum). This protocol handles > DATA and AT packets in a different way, the start byte is different. As an > example, the command AT\r\n will be encapsulated 0xAA,0x04,0xE8,AT\r\n,0x42. > A data packet will be sent with a 0xDD prefix, instead of a 0xAA. > 3. The multiplexing mode can be forced using the command AT+WMUX. > > Here is my idea : Suppose my modem is connected to COM1. I should write a > service which will open COM1 and force multiplex mode. This service also > permanently read incoming data and is able to write data from/on COM1. then > I write 2 virtual com port drivers (ie COM10 & COM11). I think it's possible > to send DATA packets to COM10 and AT packets to COM11. > > If anyone have a better idea ...
From: Arsalan Ahmad on 14 Jun 2005 09:21 Hi all, Do you have any idea about how to detect available network operators and how to detect signal strength of each of the available networks on a pocket PC (or even if you have connected a GSM/GPRS Modem to your win2K or winXP PC)? Thanks, Arsalan Ahmad "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message news:ePBjktHcFHA.2696(a)TK2MSFTNGP09.phx.gbl... > "Olivier" <olb91(a)yahoo.fr> wrote in message > news:#unnNiEcFHA.1152(a)tk2msftngp13.phx.gbl... >> Yes, you've got it. >> Which solution do you think is the best, I mean easiest to write and most >> robust solution ? a NDIS driver, or 2 virtual com ports ? >> What do you think if I write a service, which will handle the physical >> com >> port, and send bytes to the relevant virtual com port, PPP data to the >> RAS >> one, and SMS and AT commands to the SMS port ? > > Hmm if you don't mind handling PPP and dialing entirely in your usermode > program > or service - then yes, additional drivers are not needed. > > --PA > > > > >
From: Olivier on 14 Jun 2005 15:10 Hi, to detect signal strength, send the AT command : "AT+CSQ?" to detect available networks, use AT+COPS? to register on a network, use AT+CREG see http://www.gener.fr/ftp/doc/AT_commands_GENLoc25.zip, an example of WAVECOM implementation, but networks relative AT commands are the same for all standard GSM/GPRS modems. Connecting a GSM/GPRS modem to a Win2K computer or WinXP is as simple as connecting a GSM modem. I don't understand your question. Good luck. Olivier "Arsalan Ahmad" <arsal__(a)hotmail.com> a ýcrit dans le message de news:uqqCMQOcFHA.2980(a)TK2MSFTNGP10.phx.gbl... > Hi all, > > Do you have any idea about how to detect available network operators and how > to detect signal strength of each of the available networks on a pocket PC > (or even if you have connected a GSM/GPRS Modem to your win2K or winXP PC)? > > Thanks, > > Arsalan Ahmad > > "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message > news:ePBjktHcFHA.2696(a)TK2MSFTNGP09.phx.gbl... > > "Olivier" <olb91(a)yahoo.fr> wrote in message > > news:#unnNiEcFHA.1152(a)tk2msftngp13.phx.gbl... > >> Yes, you've got it. > >> Which solution do you think is the best, I mean easiest to write and most > >> robust solution ? a NDIS driver, or 2 virtual com ports ? > >> What do you think if I write a service, which will handle the physical > >> com > >> port, and send bytes to the relevant virtual com port, PPP data to the > >> RAS > >> one, and SMS and AT commands to the SMS port ? > > > > Hmm if you don't mind handling PPP and dialing entirely in your usermode > > program > > or service - then yes, additional drivers are not needed. > > > > --PA > > > > > > > > > > > >
From: Olivier on 14 Jun 2005 15:21 Issac, I agree, GPRS is a best choice, from a technical and an economic point of view. The problem is that my device will travel all around Europe, and it has to send data while it's moving, even where GPRS network is not avalaible. This is why I need to use also SMS in case there is no GPRS. Another point : due to electronics and consumption reasons, the modem is already defined (Wavecom). Of course, there is no Wavecom driver. Thanks for advice. Olivier "Isaac Chen" <isaachen(a)delete-this.pchome.com.tw> a ýcrit dans le message de news:uGB8kMOcFHA.3404(a)tk2msftngp13.phx.gbl... > Olivier, > > IIRC, the command is like "AT+CMUX=..." and that will switch the modem > to multiplexing mode. See GSM 07.10 for details. > > An easier way, IMO, is to find a modem with such driver. Sony-Erickson > has some products, GC-8?, with such driver. But I'm not sure if it fits > your need exactly. You have to check it for yourself. > > The effort to write a virtual serial port driver in desktop Windows is quite > huge, according to many experts here. > > BTW, your original post said your are using WinCE 4.2. The situation > is easier there since it provides a serial MDD for you to start with. > It's still quite some work ahead, though. Many GPRS modems are not > that standard compliant. > > Another easier way is to have the server use TCP/IP network (exclusively) > to send orders to your application, if possible. It's technically and > economically better, I suppose. Why waste the SMS fee if your application > and the server are already on the Internet? > > Good luck. > > Isaac Chen > > "Olivier" <olb91(a)yahoo.fr> wrote in message > news:OmSGkVtbFHA.3444(a)TK2MSFTNGP10.phx.gbl... > > Thanks Pavel, but I think it's possible. Let's explain how it could > probably > > work : > > 1. It 's possible to send AT command to a modem, even while it's > connected, > > using escape sequence, following by the AT command. I mean it's clearly > > possible to send or read SMS while the modem is connected (all GSM mobiles > > do that), and I know how to do it. My problem is that if I connect to the > > Internet using Windows RAS functions, Windows does not allow another app > > than the RAS dll to write orders to the serial port physically connected > to > > the modem. > > 2. Quite all GPRS modems support a "multiplex mode". In this mode, the > modem > > encapsulate all data on the MODEM-PC serial link with a light protocol > > (start key byte, length of the frame, data, checksum). This protocol > handles > > DATA and AT packets in a different way, the start byte is different. As an > > example, the command AT\r\n will be encapsulated > 0xAA,0x04,0xE8,AT\r\n,0x42. > > A data packet will be sent with a 0xDD prefix, instead of a 0xAA. > > 3. The multiplexing mode can be forced using the command AT+WMUX. > > > > Here is my idea : Suppose my modem is connected to COM1. I should write a > > service which will open COM1 and force multiplex mode. This service also > > permanently read incoming data and is able to write data from/on COM1. > then > > I write 2 virtual com port drivers (ie COM10 & COM11). I think it's > possible > > to send DATA packets to COM10 and AT packets to COM11. > > > > If anyone have a better idea ... >
From: Isaac Chen on 14 Jun 2005 22:09 Olivier, In that case you don't need to (and can't in the absence of GPRS service) have access to SMS and GPRS "at the same time", like you mentioned in your first post: > 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. If you still want to access both at the same time (say for other reasons), write a Windows CE virtual serial port driver which talks to the real serial port connecting the modem (using GSM 07.10 protocol) and provides two (or even more) virtual ports to the application. Since you can base your driver on serial MDD, the effort is much smaller than that of its counterpart in the desktop Windows. The only issue is that you'd better get some related doc about your modem to figure out the details of its support in 07.10, or even if it's supported or not. Regards, Isaac Chen "Olivier" <olb91(a)yahoo.fr> wrote in message news:eiPciZRcFHA.4040(a)TK2MSFTNGP10.phx.gbl... > Issac, > I agree, GPRS is a best choice, from a technical and an economic point of > view. The problem is that my device will travel all around Europe, and it > has to send data while it's moving, even where GPRS network is not > avalaible. This is why I need to use also SMS in case there is no GPRS. > Another point : due to electronics and consumption reasons, the modem is > already defined (Wavecom). Of course, there is no Wavecom driver. > > Thanks for advice. > Olivier > > "Isaac Chen" <isaachen(a)delete-this.pchome.com.tw> a ýcrit dans le message de > news:uGB8kMOcFHA.3404(a)tk2msftngp13.phx.gbl... > > Olivier, > > > > IIRC, the command is like "AT+CMUX=..." and that will switch the modem > > to multiplexing mode. See GSM 07.10 for details. > > > > An easier way, IMO, is to find a modem with such driver. Sony-Erickson > > has some products, GC-8?, with such driver. But I'm not sure if it fits > > your need exactly. You have to check it for yourself. > > > > The effort to write a virtual serial port driver in desktop Windows is > quite > > huge, according to many experts here. > > > > BTW, your original post said your are using WinCE 4.2. The situation > > is easier there since it provides a serial MDD for you to start with. > > It's still quite some work ahead, though. Many GPRS modems are not > > that standard compliant. > > > > Another easier way is to have the server use TCP/IP network (exclusively) > > to send orders to your application, if possible. It's technically and > > economically better, I suppose. Why waste the SMS fee if your application > > and the server are already on the Internet?
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: PsRemoveLoadImageNotifyRoutine?? Next: Is it correct?SDIO CMD53 ,SDBUS_REQUEST_PACKET |