• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 19, 2024, 02:28:08 pm

News:

SMF - Just Installed!


GSM modem over Ethernet (telnet)

Started by henry64, November 16, 2010, 08:28:00 am

Previous topic - Next topic

henry64

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?

Roman Novgorodov

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
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.