(command string)
| 891 | } |
| 892 | |
| 893 | func rpcSendCustomCommand(command string) error { |
| 894 | logger.Debug().Str("Command", command).Msg("JSONRPC: Sending custom serial command") |
| 895 | err := sendCustomCommand(command) |
| 896 | if err != nil { |
| 897 | return fmt.Errorf("failed to send custom command in jsonrpc: %w", err) |
| 898 | } |
| 899 | return nil |
| 900 | } |
| 901 | |
| 902 | func rpcGetSerialSettings() (SerialSettings, error) { |
| 903 | return getSerialSettings() |
nothing calls this directly
no test coverage detected