Add scan() mode for Sparky.