cmd mode send&recv items ok. but need to be improved