This command when no value are passed, will read and print the value of the register <reg> of device <class>:<id>.
If value is given, it will write the value to the register.
.SH "OPTIONS"
.PP
\-\-class,\-c <class>
.RS 4
Specify the <class> of the device, hexadecimal value.
.RE
.PP
\-\-id,\-i <id>
.RS 4
Specify the ID of the device, hexadecimal value.
.RE
.PP
\-\-register,\-r <reg>
.RS 4
Specify the register to read or write. Hexadecimal value.
.RE
.PP
\-\-value,\-v <value>
.RS 4
If given, will write <value> to register instead of reading it. Decimal value
.RE
.PP
.PP
\-\-unlock,\-u
.RS 4
Unlock the register before writing. Persistent register are protected and shoudl be unlocked first.
.RE
.PP
\-\-non\-interactive,\-s
.RS 4
If you forgot to specify an argument, you will by default be prompted for it. With this option the program will report an error instead (useful for script).
.RE
.PP
\-\-bus,\-b <bus>
.RS 4
Instead of using the 'default', use <bus>, as defined by sbcp-config(1).
.RE
.SH "BUGS"
To see or report bugs please use the bug tracker at https://redmine.amarsi-project.eu/projects/libsbcp/issues