Skip to content

Simple telnet server for connecting IOT devices in e.g. star topology. Build for Debian tested on WSL2. The server has already implemented few basic commands. CMake build system was used with chance to change socket platform implementation. It is possible to create users with universal commands attached to each profile. Connection works in separ…

License

Notifications You must be signed in to change notification settings

MateuszMyalski/socket-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presentation

socket-terminal - PoC project

Simple telnet server for connecting IOT devices in e.g. star topology. Build for Debian tested on WSL2. The server has already implemented few basic commands. CMake build system was used with chance to change socket platform implementation. It is possible to create users with universal commands attached to each profile. Connection works in separate threads, peers after inactivity time are disconnected automatically to free the server slots. By using virtual class, it is possible to implement own commands easily. Each command can have its own alias. Command dispatcher has build in argument parsing algorithms and enter escape system when typing commands. The project cointain also some unit tests for used parsing solutions.

How to build & run

> mkdir build
> cd build
> cmake ..
> make all
> make run
> make run_all_ut

Commands

  1. disconnect - kills the session.
  2. help - displays attached commands to the profile with desciption.
  3. verion - prints out the version.
  4. DebugCmd - prints out received and parsed arguments.

About

Simple telnet server for connecting IOT devices in e.g. star topology. Build for Debian tested on WSL2. The server has already implemented few basic commands. CMake build system was used with chance to change socket platform implementation. It is possible to create users with universal commands attached to each profile. Connection works in separ…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published