RASCSI/src/raspberrypi
uweseimet af6e311e6e
protobuf-based rasctl/rascsi command interface (#129)
* Initial protobuf definition

* protobuf result message draft

* Merge with develop branch

* Makefile generates protobuf-based source files

* Interface update

* Fixed typo

* Fixed typo

* Updated returning status

* Serialize return data

* Use correct descriptor

* Made interface fields required

* Deserialize result

* Serialization update

* Updated serialization

* Serialization update

* Updated deserialization

* status handling update

* Evaluate status

* Revert "Evaluate status"

This reverts commit 3d8f2c3252.

* Completed sense_key enum

* Renaming

* Added protobuf Command

* Updated command evaluation

* Interface update

* Interface update

* Added DeviceType enum

* Improved type-safety

* Fixed typo

* Type-safety update

* Fixed typo

* Error handling update

* Updated list handling

* Error handling update

* Use more C++ strings

* protobuf enums can provide their names

* Fixed listing devices

* Updated logging

* Enum usage cleanup

* More enum cleanup

* Fixed command check

* Updated type check

* Updated enums

* Removed unused variable

* Removed goto, added exception

* Socket handling cleanup

* Code locality cleanup

* Added helper method

* Extracted code

* Updated socket/file handling

* Use C++ I/O

* Use tolower()

* Renaming

* Simplified has_suffix

* Fixed typo

* Use spdlog namespace

* Simplified formatting (endl) of error messages

* Added -s option for changing the runtime log level to rasctl

* Renaming

* Renaming

* Updated error reporting

* Fixed log string formatting

* String conversion cleanup

* Fixed typo

* Log mmap error (happens on 64 bit)

* Improved proto3 compatibility, updated error handling

* CHanges based on review

* Fixed comment

* Comment update

* Updated ListDevice to not directly write to the stream

* Use size_t

* Renaming

* Buffering update

* MapController should not use fp

* Use fd, not fp

* rasctl has to display *all* results

* rasctl has to display *all* results

* Error handling update

* Updated to proto3 protocol

* Optimization by using protobuf-lite

* RaspBian outdated protoc does not support _Name

* Added protobuf-compiler to easyinstall.sh

Co-authored-by: akuker <34318535+akuker@users.noreply.github.com>
2021-07-18 17:15:13 -05:00
..
.vscode Merged latest develop branch with the daynaport functionality 2021-02-07 13:00:48 -06:00
controllers Support for providing sense data for REQUEST SENSE (#120) 2021-07-15 19:49:54 -05:00
devices Daynaport: Fixed potential buffer overflow and removed INQUIRY excess bytes (#123) 2021-07-15 19:52:01 -05:00
os_integration #27 Files to configure the network bridge 2021-02-26 17:36:59 -06:00
.gitignore Issue #7 - implement a scsi monitor function for RaSCSI to log SCSI traffic (#46) 2020-10-19 07:31:06 -05:00
exceptions.h protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
fileio.cpp Removed useless assertions (#125) 2021-07-08 11:40:31 -05:00
fileio.h Break up disk.h and disk.cpp to be smaller files (#22) 2020-08-28 09:18:02 -05:00
filepath.cpp Removed useless assertions (#125) 2021-07-08 11:40:31 -05:00
filepath.h Removed unused code, added some translations (#114) 2021-06-23 12:26:12 -05:00
foo.hda Reimplement ParseArgs() with getopt() 2020-08-09 07:52:58 +01:00
gpiobus.cpp protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
gpiobus.h Updates for pull request comments 2021-05-23 14:44:34 -05:00
launch_sudo.sh Merged latest develop branch with the daynaport functionality 2021-02-07 13:00:48 -06:00
log.h Updates for pull request comments 2021-05-23 14:44:34 -05:00
Makefile protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
os.h Removed unused code, added some translations (#114) 2021-06-23 12:26:12 -05:00
rascsi_version.cpp updated version number 2021-05-02 14:35:42 -05:00
rascsi_version.h Updated to match new versioning structure (#73) 2021-01-25 10:07:30 -06:00
rascsi.1 Updated makefile to auto-generate man pages text files 2020-07-09 13:21:59 -05:00
rascsi.cpp protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
rasctl_interface.proto protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
rasctl.1 Updated makefile to auto-generate man pages text files 2020-07-09 13:21:59 -05:00
rasctl.cpp protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
rasdump.cpp Merged latest develop branch with the daynaport functionality 2021-02-07 13:00:48 -06:00
rasutil.cpp protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
rasutil.h protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
sasidump.cpp Updated to match new versioning structure (#73) 2021-01-25 10:07:30 -06:00
scsi.cpp Removed meaningless assertions, minor code locality cleanup (#122) 2021-07-07 16:46:45 -05:00
scsi.h protobuf-based rasctl/rascsi command interface (#129) 2021-07-18 17:15:13 -05:00
scsimon.cpp Fixes for gcc 10.3.0 (#112) 2021-06-22 19:03:53 -05:00
xm6.h Updated to match new versioning structure (#73) 2021-01-25 10:07:30 -06:00