The errors are negative fix type.
Add commad module.
Fix typo in wait reply.
Add function to check ack. Fix some log comment.