finish writing port status message factory