Use send command to initialize packet send function.