Add function sent and receve command. Add so… …