enhanced framework for LED test commands in inmd protocol handling