Trying to understand how it is possible to run a web server (preferably Node JS) on the Teensy via the USB port (i.e. as a pendrive kind of thing)
The idea is to build a device that can be first setup via USB connection using the server, while then eventually connect to a WAP WiFi network for example.
My guess is that in the old days modems would connect to the internet via Serial Port; nowadays we have USB, and there must be a way to connect from serial to a TCP socket to run a HTTP server.
Any hint at the direction to look would be helpful.
Browsing the web I see many project aiming at running a server on the computer to talk to the Teensy or Arduino hardware, but not much about running the server on the Teensy itself.
Thanks for help.
The idea is to build a device that can be first setup via USB connection using the server, while then eventually connect to a WAP WiFi network for example.
My guess is that in the old days modems would connect to the internet via Serial Port; nowadays we have USB, and there must be a way to connect from serial to a TCP socket to run a HTTP server.
Any hint at the direction to look would be helpful.
Browsing the web I see many project aiming at running a server on the computer to talk to the Teensy or Arduino hardware, but not much about running the server on the Teensy itself.
Thanks for help.