i readed the rfc 2217 / telnet rfc
it´s like a raw tcp socket
and some functions can be used when transmitting character 255 (start
function) + funcion characters + character 255 (end function)
fuctions can be: set baud rate, parity, stop bit, byte size (5,6,7,8)
when you need to send a 255 character (not funciton) you need to send twice:
character 255 + character 255
i think it´s very easy to implement, and very nice :D we could but owfs on
network with ethernet-serial devices, or arm processors, ou pic18f
microprocessors :D very very nice! after this i will make a microcontroller
with dhcpd + fixed ip + http (configuration interface) + raw socket +
rawsocket with rfc2217, using a small size microcontroller and low cost :)
and we put it on owfs web site :)
bye paul, happy new year and christmas
2010/12/15 Paul Alfille <[email protected]>
> Very interesting. Sounds like a better aproach to the lantronix and
> other serial servers.
>
> ser2net seems to me a good "access server" (the net->serial part"
> I'm looking for a reference implementation of the RFC on the "client"
> side (OWFS would be a client).
>
> Paul Alfille
>
> On Tue, Dec 14, 2010 at 9:36 AM, Roberto Spadim <[email protected]>
> wrote:
> > hello, could we implement tcp - serial (rfc 2217) feature?
> > the difference?
> > it´s a serial-tcp "proxy" we can acess networked serial devices
> > it´s a telnet based protocol
> > to make serial port control (RTS, set baud rate, set parity, etc etc) it
> > need a byte (IAC - ascii 255) to start control message, some control
> bytes
> > and a byte (255) stop control message
> > the RFC is here: http://www.faqs.org/rfcs/rfc2217.html
> > the telnet rfc is here: http://www.faqs.org/rfcs/rfc854.html
> > telnet remote flow contorl is here:
> http://www.faqs.org/rfcs/rfc1372.html
> >
> > it´s very usefull (i don´t need to compile my owfs on a arm system, just
> use
> > the default ser2net daemon in my arm linux distribuition)
> > ser2net daemond (rfc2217 compiliant serial to ethernet daemon):
> > http://ser2net.sourceforge.net/
> >
> > we could use a device (/dev/xxx) to network "converter" (cyclades-serial)
> > here: http://sourceforge.net/projects/cyclades-serial/
> > and it would appear like a /dev/ttyS0
> > but it need to be compiled and configured in owfs computer daemon side
> > (windows don´t have it, i didn´t founded in cygwin)
> >
> > it´s appear very interesting, what owfs team say?
> > sorry "pour" english :P
> >
> > --
> > Roberto Spadim
> > Spadim Technology / SPAEmpresarial
> >
> >
> ------------------------------------------------------------------------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> > _______________________________________________
> > Owfs-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers