Confirmed - you don't need a Telnet client, a standard raw socket will do 
(at least with my Multitech IP/GPRS will do).

On Sunday, April 8, 2012 10:11:14 PM UTC+3, T.Delenikas wrote:
>
> Hi,
>
> In my current redesign, I've also got rid of the telnet client. With my 
> own comm-to-ip bridging interfaces, everything work ok.
> However, I think (it's a long time ago) that pure IP modems do require a 
> telnet client. The good thing is that I have a Multitech IP modem lying 
> around, so in the next days I will also try to connect to it with a 
> straight socket.
>
> (The other issue that's bugging me is that something has changed in Apache 
> Commons v3 and smslib doesn't work any more with this... you have to use 
> the old Commons version. So I will definitely throw away the telnet client 
> if I can!
>
> On Sunday, April 8, 2012 9:41:25 PM UTC+3, wim stevens wrote:
>>
>> Hello,
>>
>> My modem is connected to a Ethernet-to-COM gateway.  In Smslib the modem 
>> must be configured as IPModem.
>> At startup of smslib the program tries to negotiate the various telnet 
>> options
>> this.tc = new TelnetClient();
>> this.tc.addOptionHandler(this.ttopt);
>> this.tc.addOptionHandler(this.echoopt);
>> this.tc.addOptionHandler(this.gaopt);
>> The Ethernet-to-COM gateway is running in raw mode and passes all data to 
>> the modem.  Of course the modem does not understand anything of it.
>> I do not understand why IPModemDriver is using TelnetClient and not just 
>> Socket.
>> I made a few minor modifications in this way.  All seemed to be working 
>> fine.
>> So my question: are there modems in use that require the full 
>> TelnetClient protocol ? Or are there other reasons for using TelnetClient ?
>>
>> Regards
>>
>> Wim Stevens
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/n7VPuYPaSDoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to