Today I am going to talk about a little Multiplex feature in Siemens modems. As you know, some of the current modems like the MTX65+G  (GPRS+GPS modem) and the imminent MTX-HC25+PLUS (UMTS+GPS) have a single communication serial port.

There may be some applications where we’d like to have more than one serial port.

Why would I want more than one serial port?

Well for example it could be to maintain a GPRS communication through a serial port, to monitor the coverage level through another serial port and to obtain GPS coordinates through the other serial port. So yes it is possible but we use Multiplex mode for this.

The Multiplex protocol (GSM 07.10 y 3G TS 27.010) enables an asynchronous serial interface to be split into three virtual channels. It’s basically a communications protocol that encapsulates communications between the host (e.g. PC/ microprocessor) and a corresponding device (modem) with three virtual serial ports.

How do you use it?

Siemens provides some drivers for Windows (XP/2000) to be able to use this feature. If you don’t want to use a PC with Windows and you want to use a microprocessor for example, you can install the Multiplex protocol. It’s quite complex but it can be done.

To use driver in Windows, all you have to do is install the Siemens WinMux application. When you run it a window like this will appear:

Driver Multiplex All you have to do is have the modem physically connected to the PC’s COM port so that the driver will find it by clicking on the “Start Scan” button. Once the modem is connected it will suggest some port numbers as to where you should install the 3 virtual serial ports. As you can see in the figure above, I have installed it in COM24, COM25 and COM26.

After installing the driver, go to Start-> Control Panel-> System-> Hardware-> Device Manager:

Driver Multiplex  You will se that the “Serial Multiplex Driver” has been assigned to a COM, in my case COM1. If you right click on the installed driver’s properties you will be able to change the assigned COM, the speed and the virtual COM numbers.
Multiplex

One last thing, there’s a catch with the number assigned to each of the COM ports (it’s probably Windows’ fault) and the catch is that it doesn’t let you install it on any COM number. For example there are programs which don’t accept high COM numbers (COM24/COM25/COM26). If you want to change it, I have already registered to Windows you already know:

Start -> Run -> Manage

I searched for a VirtPort1 string and I changed the assigned COM for another one that interested me. It worked without any problems although I had to restart the computer after making a change before using it.

regedit-driver.gif

If we no try to open up to 3 HyperTerminal windows, each one associated with a virtual COM port, and we send AT commands you will see that it works without any problems.

I hope you found this interesting, see you next time. ;)  


Post relacionados:

  1. Java Application Autostart in Siemens Modems Today I am writing a small post to do with...
  2. How to get the time with MTX terminals and Siemens/Cinterion modems I haven’t written on blogElectronica for nearly a month. For...
  3. FTP Java Example for Siemens Modems Today I am going to write a small post with...
  4. (Español) Ejemplos Java para módems de Siemens Over the last few months I have been getting a...
  5. DynDNS with Siemens/Cinterion Modems If you make applications with GPRS modems, a lot of...








Tags: , , , , , , ,
10 Responses to “Multiplex Protocol for Siemens Modems”
  1. kanemor says:

    Muy buen post como siempre

    ¿Tienes alguna referencia de cómo hacer esto mismo bajo Linux que no sea esto que parece abandonado en la Alpha-2: http://developer.berlios.de/project/showfiles.php?group_id=3005 ?

  2. David says:

    Buenas,
    ¿Tienes documentación del protocolo para poderlo implementar en un microcontrolador o windows CE sin tener el driver que lo encapsule?

    Saludos.

  3. blogElectronica says:

    Hola David,

    en el post tienes un link que lleva directo a información del protocolo Multiplex (un documento PDF).

    Salu2.

  4. Pua says:

    hola,

    Para Windows CE, alguna versiones, y sobre todo para pocket pc te lo puede suministrar Cinterion/Siemens bajo NDA.
    Para algunos creo recordar quenecesitas tener un contrato con Microsot, ser developer partner o algo así,

    Salu2

    Pua

  5. kanemor says:

    Hola Pua,

    ¿Para Linux no hay nada?

    Salu2

  6. Pua says:

    hola,

    no conozco nada para Linux. pero ese protocolo es estandard seguro que encuentras algo por Internet

    Salu2

    Pua

  7. Alberto says:

    Hola, muchas felicidades por tu página me ha ayudado mucho, no tendrás la liga de donde se puede descargar o me lo podrías mandar a mi correo porfavor, te lo agradeceré mucho

  8. Pua says:

    San google

    Busca mux linux gsm 07.10

  9. leydi says:

    me pueden decir que tipos de protocolos utilizan en siemens porque las necesito para mi tarea por favor

  10.  
Leave a Reply

Puedes publicar un comentario aquí si quieres, pero te recomiendo que uses el nuevo foroElectronica.com para introducir comentarios. Te contestaré más rápido. Recuerda que debes registrarte si no lo estás para publicar un comentario.