RPC: initial scaninput implementation.