General code refactor.

This commit is contained in:
2021-12-08 18:26:24 +00:00
parent a4703b6594
commit 7f4c5d8ff8
38 changed files with 7039 additions and 3793 deletions

View File

@@ -1,23 +1,24 @@
# Aaru Remote
The Aaru Remote is a slim, miniature application designed to receive device commands from a remote [Aaru](https://github.com/aaru-dps/Aaru)
The Aaru Remote is a slim, miniature application designed to receive device commands from a
remote [Aaru](https://github.com/aaru-dps/Aaru)
instance, send it to a local device, and return the data to the instance.
The main motivation for this is the desire to update Aaru to the latest and greatest features of .NET and C#.
This creates a problem, as some people have old devices that do not work in modern Linux distributions.
The main motivation for this is the desire to update Aaru to the latest and greatest features of .NET and C#. This
creates a problem, as some people have old devices that do not work in modern Linux distributions.
This remote will support older versions of Linux and will, in future versions, be supported in FreeBSD, Windows, and possibly
network-enabled game consoles (like PSP, Wii, etc.).
This remote will support older versions of Linux and will, in future versions, be supported in FreeBSD, Windows, and
possibly network-enabled game consoles (like PSP, Wii, etc.).
While some people will suggest porting the whole Aaru to C or C++, that won't happen. For the only situation that
would be needed (accessing devices where C# does not run) this application is more than enough.
While some people will suggest porting the whole Aaru to C or C++, that won't happen. For the only situation that would
be needed (accessing devices where C# does not run) this application is more than enough.
The usage is very simple, just run the remote and it will listen for a connection over TCP/IP in port 6666 then print out
the available IPs. Running as non-root user only works with some SCSI devices, so it is better to run as root.
The usage is very simple, just run the remote and it will listen for a connection over TCP/IP in port 6666 then print
out the available IPs. Running as non-root user only works with some SCSI devices, so it is better to run as root.
On the other side, you can use the Aaru with the [remote](../remote.md) command and one of those IP addresses to test the
connection. Similarly, using the IP address as an argument for the *list-devices* command will list the devices available
remotely.
On the other side, you can use the Aaru with the [remote](../remote.md) command and one of those IP addresses to test
the connection. Similarly, using the IP address as an argument for the *list-devices* command will list the devices
available remotely.
All commands that support devices are supported, with a URI with the following schema:
`aaru://<IP ADDRESS>/<DEVICE PATH>`.