4 ms·
> I assume you mean passes raw data received from TCP/IP through? Yeah `impl TcpStream` > lets you change the port settings Might just be lack of familiarit
by evevuecrl 4y ago
> I assume you mean passes raw data received from TCP/IP
through?
Yeah `impl TcpStream`
> lets you change the port settings
Might just be lack of familiarity with telnet, but wouldn't this be fairly easy to do `impl TcpStream`? In other words, why not just add this into espflash?
- ithkuil 4y agoThe "serial port" setting, not the "tcp port" setting. The telnet protocol is not just raw data. The 0xFF byte is an escape code for commands (and a 0xFF needs to be repeated twice pass an actual 0xFF). There are a few commands including those to send a rs232 break signal or to negotiate options such as serial port baud rate (serial ports don't negotiate a speed, so you have to be able to configure the right speed on both ends of the communication)
- evevuecrl 4y ago> The "serial port" setting, not the "tcp port" setting. Oh that makes more sense, thanks! > Serial ports don't negotiate a speed, so you have to be able to configure the right speed on both ends of the communication This is actually why I was asking -- I'm messing around with an espflash-like clone and wanted this feature; so is the idea that its easier to set up the negotiation because of the command structure of telnet (e.g. pattern match on rx `telnet send ayt`)?