The aim of this article is to introduce a protocol for embedded systems that delivers data between two nodes independently of the characteristics of the link. The development is platform independent and virtually portable to any communication standard. To demonstrate the performance of our protocol it was implemented in an ARM Cortex M3 LPC1769 microcontroller of NXP using first an UART serial protocol and then TCP/IP sockets. The protocol was implemented using object oriented techniques, POSIX standards and several abstraction layers.