Forum.Deepsoftware.Com

DeepSoftware Products => nrComm Lib VCL (32bit / 64bit) => nrComm Lib => GSM/SMS => Topic started by: henry64 on November 16, 2010, 10:28:00 AM

Title: GSM modem over Ethernet (telnet)
Post by: henry64 on November 16, 2010, 10:28:00 AM
Hi Roman

I'm considering how I use a Multitech MTCBA-G-EN-F4-ED-EU which is GSM modem build in a Router. Basically I only want to use the GSM modem part to start with.

So, I think this can be done in "at least" two ways.

1. Either setting up a virtual COM port (pointing at the Multitech)
2. Expand the nrCommLib. TNrComm to support tcpip

In both cases the implementation must handle the "telnet" login procedure in the device - it requires a "login name" and "login password".

What is your view on such a solution?
Title: Re: GSM modem over Ethernet (telnet)
Post by: Roman Novgorodov on November 16, 2010, 12:15:55 PM
Hello

Most fastest way is use the serial port connection.
You can try something easy like following:

nrComm1.DataProcessor := nil;  // remove gsm component from com port for avoid device initialization after port open
nrComm1.Active := True;                        // open port
sleep(1000);                       
nrComm1.SendString('my_login'#13);    // we expect that login prompt is asked and send user name
sleep(1000);
nrComm1.SendString('my_password'#13); // we expect that password prompt is asked and send user password
sleep(1000);
nrComm1.DataProcessor := nrGsm1; // assign gsm component to com port
nrGsm1.Update();


Roman Novgorodov
DeepSoftware.Com