Updated to report state in the response of a command request.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>