Send and receive code using the implemented serial port under the platform