Bug fixed: don't allow HARDWARE commands in slave mode.
Thanks to Sid G3VBV for discover and analyze the bug.