# Format of ethernet packets sent over serial UART using Digi Connect Me

**URL:** <https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405>\
**Category:** Plug N' Play\
**Tags:** hardware\
**Created:** [December 10, 2012, 8:40am UTC](https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405 "2012-12-10T08:40:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldainew](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@aldainew](https://forums.digi.com/u/aldainew)\
**Post date:** [December 10, 2012, 8:40am UTC](https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405/1 "2012-12-10T08:40:28Z")

</div>

Hi,

I am using the Digi Connect Me and it is converting serial UART data to ethernet packets. Is there any documentation on the format of the ethernet packets sent over serial UART? I need to understand exactly how data is sent.

---

<div class="post-metadata">

**Author:** ![tuxembb](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tuxembb](https://forums.digi.com/u/tuxembb)\
**Post date:** [January 1, 2013, 6:06pm UTC](https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405/2 "2013-01-01T18:06:23Z")

</div>

Is this DEL or NET+OS module? Digi Connect ME or ME 9210?  
What are you trying to achieve? OS will handle Ethernet packet formatting stuff usually

---

<div class="post-metadata">

**Author:** ![aldainew](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@aldainew](https://forums.digi.com/u/aldainew)\
**Post date:** [January 8, 2013, 1:48pm UTC](https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405/3 "2013-01-08T13:48:20Z")

</div>

> Is this DEL or NET+OS module? Digi Connect ME or ME 9210?

Hi there,

It is NOT the custom NET+OS module. I am using the DC-ME-01T-S. This device is the Digi Connect ME, with no JTAG and uses the Digi Plug and Play firmware.

> What are you trying to achieve? OS will handle Ethernet packet formatting stuff usually

I am writing a QT C++ application that will receive data sent over the ethernet from this device using the serial port. The C++ application will also send data to this device over the LAN/ethernet, to be received on the serial port. Thus I want to achieve full duplex communications, serial-\>ethernet and ethernet -\> serial using QT C++.

I need to know when I send information from the serial to the device, what exactly is the structure of the constructed ethernet packet that it sends, conversely when I send data to the device over ethernet, how do I achieve this, and what structure should I format the ethernet message, so that I can receive it serially.

I am using WireShark to view ethernet data.

Thanks for your help, in advance…

---

<div class="post-metadata">

**Author:** ![tuxembb](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tuxembb](https://forums.digi.com/u/tuxembb)\
**Post date:** [January 15, 2013, 7:51am UTC](https://forums.digi.com/t/format-of-ethernet-packets-sent-over-serial-uart-using-digi-connect-me/4405/4 "2013-01-15T07:51:25Z")

</div>

Ok. So you want to send data to and fro module and C++ application.  
Best method is configure Digi Connect ME’s serial port in TCP Sockets/ UDP Sockets profile.

Now you can open/read/write a socket in C++ application onto a port which Digi Connect ME can opt. You can configure Digi Connect ME using its web interface.

This is pretty eay to achieve, You can have a server and client on the same port on Digi Connect ME. Make your C++ application to read and write onto that port which will be forwarded to serial port.

so what ever you send from C++ will be delivered onto serial port and whatevert you give to serial port will be delivered to C++ application.
