<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: Sending Ethernet 2 frames</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177813#M2474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found that I also need to call ENET_join() after the ENET_open().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// destination MAC address&lt;/P&gt;&lt;P&gt;unsigned char aucDestMac[6] = {0x01,0x02,0x03,0x00,0x00,0x00};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENET_join((RTCS_get_enet_handle(ipcfg_get_ihandle(BSP_DEFAULT_ENET_DEVICE))),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x88F7, // EtherType, ethernet type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aucDestMac);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 15:10:13 GMT</pubDate>
    <dc:creator>kfranz</dc:creator>
    <dc:date>2016-02-16T15:10:13Z</dc:date>
    <item>
      <title>Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177801#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;!--   P {  MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px } BODY {  SCROLLBAR-ARROW-COLOR: #3f52b8; SCROLLBAR-DARKSHADOW-COLOR: #fafafa; SCROLLBAR-BASE-COLOR: #f7f7f7; SCROLLBAR-HIGHLIGHT-COLOR: #cecfce; SCROLLBAR-TRACK-COLOR: #fffbff } SPAN#misspelled {  PADDING-BOTTOM: 1px; BACKGROUND: url(8.1.375.2/themes/base/squiggly.gif) repeat-x 50% bottom }   --&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#000000" face="Tahoma" size="2"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma" size="2"&gt;Forgive me if I've missed the obvious but is it possible to send an ethernet type 2 frame from within the RTCS framework. ie I want to send data from one device to another device using just their MAC addresses.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma" size="2"&gt;Many thanks,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="tahoma" size="2"&gt;Richard&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2010 01:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177801#M2462</guid>
      <dc:creator>Cyanica</dc:creator>
      <dc:date>2010-02-20T01:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177802#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get this working? I have having the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 04:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177802#M2463</guid>
      <dc:creator>DougMS</dc:creator>
      <dc:date>2010-03-22T04:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177803#M2464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To receive Ethernet frames with a specific Ether Type you have to register this protocol type on an Ethernet channel using the ENET_open function. Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if ((ENET_open((RTCS_get_enet_handle (MQX1588_ihandle)), 0x88F7&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;, MQX1588_Recv_L2_1588, MQX1588_ihandle)) != ENET_OK)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TGT_printf("Registering an EtherType value for IEEE 1588 (0x88 0xF7) protocol failed.\n");&lt;BR /&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;EM&gt;MQX1588_Recv_L2_1588&lt;/EM&gt; function then handles all received Eth. frames with 0x88F7 type.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;As for sending, you have to create the frame (DST_MAC, SRC_MAC, EthType, Data) first, then create the pcb and finally use ENET_send_raw function for sending the packet. Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;typedef struct {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_8&amp;nbsp; DST[6];&lt;BR /&gt;&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt; uint_8&lt;EM&gt;&amp;nbsp; SRC[6];&lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt; uint_8&lt;EM&gt;&amp;nbsp; ETHTYPE[2];&lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt; uint_8&lt;EM&gt;&amp;nbsp; DATA[50];&lt;BR /&gt;&lt;/EM&gt;} FRAME, * FRAME_PTR;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;--------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PCB_PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcb_ptr;&lt;BR /&gt;uchar_ptr&amp;nbsp;&amp;nbsp; mem_ptr;&lt;BR /&gt;FRAME_PTR&amp;nbsp;&amp;nbsp; packet_ptr;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;mem_ptr = _mem_alloc_zero(sizeof(PCB)+sizeof(PCB_FRAGMENT)+sizeof(FRAME));&lt;BR /&gt;if (mem_ptr==NULL) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return FALSE;&lt;BR /&gt;}&lt;BR /&gt;pcb_ptr = (PCB_PTR) mem_ptr;&lt;BR /&gt;packet_ptr = (FRAME_PTR)&amp;amp;mem_ptr[sizeof(PCB)+sizeof(PCB_FRAGMENT)];&lt;BR /&gt;memcpy( phy_packet_ptr-&lt;EM&gt;&amp;gt;DST&lt;/EM&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;[0], MY_FRAME, sizeof(&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;MY_FRAME)&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;pcb_ptr-&amp;gt;FREE = free_pcb;&lt;BR /&gt;pcb_ptr-&amp;gt;FRAG[0].LENGTH = sizeof(FRAME);&lt;BR /&gt;pcb_ptr-&amp;gt;FRAG[0].FRAGMENT = (uchar_ptr)packet_ptr;&lt;BR /&gt;&lt;BR /&gt;if((ENET_send_raw(RTCS_get_enet_handle (ipcfg_get_ihandle(portHandle-&amp;gt;device_number)), pcb_ptr)) == ENET_OK)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return TRUE;&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return FALSE;&lt;BR /&gt;&lt;/FONT&gt;------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MichalP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 16:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177803#M2464</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2010-03-23T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177804#M2465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michal,&lt;/P&gt;&lt;P&gt;I am using your code above to send an Ethernet frame but I get an error on the line: &lt;STRONG&gt;pcb_ptr-&amp;gt;FREE = free_pcb;&lt;/STRONG&gt; (undefined indentifier &lt;STRONG&gt;free_pcb&lt;/STRONG&gt;). When I remove this line I am able to send the frame but after that the program stops after printing&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pNET&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my actual code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mem_ptr = _mem_alloc_zero(sizeof(PCB)+sizeof(PCB_FRAGMENT)+sizeof(FRAME));&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcb_ptr = (PCB_PTR) mem_ptr;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; packet_ptr = (FRAME_PTR) &amp;amp; mem_ptr[sizeof(PCB)+sizeof(PCB_FRAGMENT)];&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcpy( packet_ptr, gs_buf, sizeof(gs_buf));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcb_ptr-&amp;gt;FREE = free_pcb;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcb_ptr-&amp;gt;FRAG[0].LENGTH = sizeof(FRAME);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcb_ptr-&amp;gt;FRAG[0].FRAGMENT = (uchar_ptr)packet_ptr;&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((ENET_send_raw(RTCS_get_enet_handle (ipcfg_get_ihandle(ENET_DEVICE)), pcb_ptr)) != ENET_OK)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("ENET Error\n");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("pNET Sent\n");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am working with MQX 3.8.1 and CW10.3 and I can not identify the name of the function I need to use in &lt;STRONG&gt;pcb_ptr-&amp;gt;FREE =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Could you please point out to the right function&lt;/P&gt;&lt;P&gt;Thank you, Kroum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 05:19:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177804#M2465</guid>
      <dc:creator>kroumkouzmanov</dc:creator>
      <dc:date>2013-03-03T05:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177805#M2466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;free_pcb &lt;/STRONG&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="alt-edited hps"&gt;it is a function&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;which&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;frees the memory after &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;packet is sent by ENET, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;something&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13623278896355539" jivemacro_uid="_13623278896355539" modifiedtitle="true"&gt;
&lt;P&gt;void free_pcb&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the PCB to enqueue */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCB_PTR&amp;nbsp; pcb_ptr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mem_free(pcb_ptr);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;SPAN class="mce_paste_marker"&gt;
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177805#M2466</guid>
      <dc:creator>firebrizz</dc:creator>
      <dc:date>2020-10-29T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177806#M2467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Fire Brizz! I got it working.&lt;/P&gt;&lt;P&gt;Kroum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 23:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177806#M2467</guid>
      <dc:creator>kroumkouzmanov</dc:creator>
      <dc:date>2013-03-03T23:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177807#M2468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi Michal:&lt;/P&gt;&lt;P&gt;I'm trying to debug this code at the TWR MCF51CN128 KIT, but codewarrior don't recognize the functions and parameters like RTCS_get_enet_handle and MQX1588_ihandle, I don't know if I'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 21:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177807#M2468</guid>
      <dc:creator>danielarenas</dc:creator>
      <dc:date>2013-05-20T21:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177808#M2469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTCS_get_enet_handle should be accessible from the application, do not forget to include path to the compiled RTCS library (&amp;lt;MQX installation folder&amp;gt;\lib\&amp;lt;board&amp;gt;\&amp;lt;target&amp;gt;\rtcs\rtcs.a) and to include the "rtcs.h" into you code. As for the MQX1588_ihandle variable this is just an example from an application. You can get the ihandle by calling ipcfg_get_ihandle(ENET_DEVICE) so for registering the protocol type you can call:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if ((ENET_open((RTCS_get_enet_handle (ipcfg_get_ihandle(ENET_DEVICE))), 0x88F7, MQX1588_Recv_L2_1588, NULL)) != ENET_OK)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; printf("Registering an EtherType value for IEEE 1588 (0x88 0xF7) protocol failed.\n");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see &amp;lt;MQX installation folder&amp;gt;\mqx\source\io\enet\enopen.c for description of ENET_open function and it's parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MichalP&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177808#M2469</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2013-05-31T12:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177809#M2470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Hi Michal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;I have done what you adviced me to&amp;nbsp; "see &amp;lt;MQX installation folder&amp;gt;\mqx\source\io\enet\enopen.c for description of ENET_open function and it's parameters."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;I know that “&lt;EM&gt;ENET_open”&lt;/EM&gt; Registers a protocol type on an Ethernet channel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;and the structure is like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;uint_32 ENET_open&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; (&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the Ethernet state structure */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _enet_handle handle,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the protocol */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_16 type,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the callback function */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void (_CODE_PTR_ service)(PCB_PTR, pointer),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] private data for the callback */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointer private&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; I don´t know how to use the callback function and also the private data for the callback??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;I also found this function ENET_send for send a packet and this is the structure of it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;uint_32 ENET_send&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; (&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the Ethernet state structure */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _enet_handle&amp;nbsp;&amp;nbsp; handle,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the packet to send */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCB_PTR packet,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the protocol */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_16 type,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the destination Ethernet address */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _enet_address&amp;nbsp; dest,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] optional flags, zero = default */&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint_32 flags&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;I don´t know if this is the same function that you use call "ENET_send_raw"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Arial, sans-serif;"&gt;Im still having troubles trying to understand this functions… &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Daniel.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 16:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177809#M2470</guid>
      <dc:creator>danielarenas</dc:creator>
      <dc:date>2013-08-14T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177810#M2471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let's consider we have registered 0x88F7 protocol type on an Ethernet channel by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENET_open((RTCS_get_enet_handle (ipcfg_get_ihandle(ENET_DEVICE))), 0x88F7, MQX1588_Recv_L2_1588, enet_ptr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where enet_ptr of ENET_CONTEXT_STRUCT_PTR type is the requested private data to be passsed to the MQX1588_Recv_L2_1588 callback function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the callback function should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void MQX1588_Recv_L2_1588&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCB_PTR&amp;nbsp; pcb, /* [IN] the received packet */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pointer&amp;nbsp; private&amp;nbsp; /* [IN] pointer to private data */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENET_CONTEXT_STRUCT_PTR enet_ptr = (ENET_CONTEXT_STRUCT_PTR) private;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MACNET_CONTEXT_STRUCT_PTR&amp;nbsp; macnet_context_ptr = (MACNET_CONTEXT_STRUCT_PTR)enet_ptr-&amp;gt;MAC_CONTEXT_PTR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Now you have the pointer to the Ethernet packet in pcb-&amp;gt;FRAG[0].FRAGMENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the buffer length in pcb-&amp;gt;FRAG[0].LENGTH) */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Do not forget to free the memory after the packet payload is read or passed to another user buffer */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCB_free(pcb);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for functions for sending, &lt;STRONG&gt;use the ENET_send_raw function&lt;/STRONG&gt; for sending data from one device to another device using just their MAC addresses - that's what's discuseed in this thread. You can find how to do it from previous items of this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MichalP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 08:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177810#M2471</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2013-08-21T08:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177811#M2472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I registered the function with ethertype 0x88f7&amp;nbsp; after I open a http server and now I sent a broadcast frame in another machine with these ethertype but the callback function never was called:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14172016026219593" jivemacro_uid="_14172016026219593" modifiedtitle="true"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ENET_open(RTCS_get_enet_handle(ipcfg_get_ihandle(BSP_DEFAULT_ENET_DEVICE)),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x88f7, recv_ethtype, ipcfg_get_ihandle(BSP_DEFAULT_ENET_DEVICE)) != MQX_OK)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;void recv_ethtype&lt;/P&gt;
&lt;P&gt;(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCB_PTR&amp;nbsp; pcb,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the received packet */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void&amp;nbsp;&amp;nbsp;&amp;nbsp; *handle&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* [IN] the IP interface structure */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\nreceived enet 0x88f7 frame\n");&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the new MQX 4.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and I can't see any error to register the ethertype but I never receive any frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody tested this code?&amp;nbsp; Is it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177811#M2472</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2020-10-29T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177812#M2473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved my problem enabling broadcasting setting 0 to RTCSCFG_IP_DISABLE_DIRECTED_BROADCAST&amp;nbsp; on user_config.h:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define RTCSCFG_IP_DISABLE_DIRECTED_BROADCAST 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 13:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177812#M2473</guid>
      <dc:creator>thiagow</dc:creator>
      <dc:date>2014-12-01T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177813#M2474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found that I also need to call ENET_join() after the ENET_open().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// destination MAC address&lt;/P&gt;&lt;P&gt;unsigned char aucDestMac[6] = {0x01,0x02,0x03,0x00,0x00,0x00};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENET_join((RTCS_get_enet_handle(ipcfg_get_ihandle(BSP_DEFAULT_ENET_DEVICE))),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x88F7, // EtherType, ethernet type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aucDestMac);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177813#M2474</guid>
      <dc:creator>kfranz</dc:creator>
      <dc:date>2016-02-16T15:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Ethernet 2 frames</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177814#M2475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doing the ENET_join() should eliminate the need to use the "#define RTCSCFG_IP_DISABLE_DIRECTED_BROADCAST 0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked with MQX 4.2 on a Kinetis K64. For more information read about the following registers in the K64:&lt;/P&gt;&lt;P&gt;ENET_RCR bits PROM (promiscuous) and BC_REJ (broadcast), and ENET_GAUR, ENET_GALR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Sending-Ethernet-2-frames/m-p/177814#M2475</guid>
      <dc:creator>kfranz</dc:creator>
      <dc:date>2016-02-16T15:13:33Z</dc:date>
    </item>
  </channel>
</rss>

