emodem

Simple serial WiFi modem for the ESP-32
git clone git://squid-tech.com/emodem.git
Log | Files | Refs | README

commit d76fb082b1785a8e42ba3a16f44a78516e8902fa
parent 1c2ceffb9ac9e1cb9891836e28555b53ae3d5367
Author: Josh Moore <jxm5210@g.rit.edu>
Date:   Sat,  2 May 2020 19:29:27 -1100

Create README.md
Diffstat:
AREADME.md | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,29 @@ +# Emodem +Simple serial WiFi "modem" for the ESP-32. This was created in order to provide a simple WiFi interface via the user port of a Commodore 64 so that I could connect to BBSes and other such activities. + +If you would like to recreate this: +* Connect user port pins B+C to the TX pin of the ESP-32 +* Connect user port pin M to the RX pin of the ESP-32 +* Connect user port pin 1 to a GND pin of the ESP-32 + +Then open the user port serial interface in a terminal program on your Commodore 64. Make sure your terminal program is set to the correct baud rate. + +## Commands +Commands are sent to the modem are of the form `EM$<command><argument>`. Note that there is no space between the `EM$`, the command, or the argument. + +All successful commands will print `OK` upon completion. + +Commands are as follows: +* `EM$test` - displays `OK`, used to verify the serial interface is working +* `EM$ssid<id>` - set the WiFi SSID +* `EM$pass<pass>` - set the WiFi password +* `EM$connect` - connect to the specified SSID with the specified password +* `EM$info` - display info about connection configuration and status +* `EM$address` - display local IP and public IP if connected to WiFi +* `EM$host<host>` - set the TCP host to establish a telnet connection to +* `EM$port<port>` - set the TCP port to establish a telnet connection to +* `EM$tcpconnect` - establish a telnet connection to the specified host and port +* `EM$save` - save the current configuration to the ESP-32's flash memory +* `EM$load` - load a previously saved configuration from flash memory + +For convenience, saved configuration is automatically loaded from flash memory at startup.