Alas I'm using Windows 7 and the days of XP are numbered
The SLIP protocol is simple enough.
/*
//SLIP protocol
// https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol
var END=0xC0;
var ESC=0xdb;
var ESC_END=0xdc;
var ESC_ESC=0xdd;
// END+Packet+END
//if the END byte occurs in the data to be sent, the two byte sequence
// ESC, ESC_END is sent instead,
//if the ESC byte occurs in the data, the two byte sequence ESC, ESC_ESC // is sent.
*/
So when I try to start the PPP dial-up from windows, I captured the following:
// with window trying to dial up
Xdump();
CLIENTCLIENTCLIENTCLIENTecho(0);
console.log("<","<<",JSON.stringify(process.env),">>",">");echo(1);
4
//disconnect and reconnect Webide only
Xdump();
echo(0);
console.log("<","<<",JSON.stringify(process.env),">>",">");echo(1);
4
Windows is sending CLIENTCLIENTCLIENTCLIENT
So what do I need to reply? Dig into the RFC's and read the Vogon poetry for a while?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Alas I'm using Windows 7 and the days of XP are numbered
The SLIP protocol is simple enough.
PPP link:
https://en.wikipedia.org/wiki/Point-to-Point_Protocol
LCP link:
https://en.wikipedia.org/wiki/Link_Control_Protocol
SLIP protocol link:
https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol
CHAP protocol link:
https://en.wikipedia.org/wiki/Challenge-Handshake_Authentication_Protocol
Another link:
https://en.wikibooks.org/wiki/Serial_Programming/IP_Over_Serial_Connections
Setting up PPP on Windows 7
https://mikebeach.org/2012/08/30/installing-and-configuring-a-ppp-null-modem-connection-on-windows-7/
So when I try to start the PPP dial-up from windows, I captured the following:
Windows is sending CLIENTCLIENTCLIENTCLIENT
So what do I need to reply? Dig into the RFC's and read the Vogon poetry for a while?