<?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>Wireless MCUのトピックRe: Data Confirmation return with ErrorCode 0xE8??</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656191#M2579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The MSG_Send is called on a specific event in my application (not under interrupt but from a basic task of 25ms periodic)&lt;/P&gt;&lt;P&gt;- The pMsdu is set to a static buffer just before the line exposed above.&lt;/P&gt;&lt;P&gt;-mcPendingPackets from the original demonstration file generated with the "Freescal Beekit" I not need it in my application&lt;/P&gt;&lt;P&gt;- Msg_Send is called one time and not called before have a positive return. So I never calle MSG_Send many time without receive a Coordinator response or many second later.&lt;/P&gt;&lt;P&gt;-IF_Print_Hex is only my adaptation of com_util library provided with the demonstration. This is a macro that I can disable. When disabled, problem is still present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you access to the stack to know the means of error code 0xE8? I not found in documentions information about this code!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 06:57:07 GMT</pubDate>
    <dc:creator>arnogir</dc:creator>
    <dc:date>2017-02-22T06:57:07Z</dc:date>
    <item>
      <title>Data Confirmation return with ErrorCode 0xE8??</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656189#M2577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I return on an Old project which present some problem.&lt;/P&gt;&lt;P&gt;This Project is based on MC13213 with the Beekit 3.0.2 : HCS08 MAC Codebase 2.6.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On this project we have some End Device and One coordinator. Device send sometime information over air.&lt;/P&gt;&lt;P&gt;But regulary, we have some difficult to transmit message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code follow the given exemple of "UART wireless"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code to send data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msduLength &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; index; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;//****&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Data was available in the UART receive buffer. Now create an&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// MCPS-Data Request message containing the UART data.&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgType &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; gMcpsDataReq_c;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Create the header using coordinator information gained during&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// the scan procedure. Also use the short address we were assigned&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// by the coordinator during association.&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;STRONG&gt;FLib_MemCpy&lt;/STRONG&gt;(mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dstAddr, mCoordInfo&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;coordAddress, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;BR /&gt; &lt;STRONG&gt;FLib_MemCpy&lt;/STRONG&gt;(mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;srcAddr, maMyAddress, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;BR /&gt; &lt;STRONG&gt;FLib_MemCpy&lt;/STRONG&gt;(mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dstPanId, mCoordInfo&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;coordPanId, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;BR /&gt; &lt;STRONG&gt;FLib_MemCpy&lt;/STRONG&gt;(mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;srcPanId, mCoordInfo&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;coordPanId, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;BR /&gt; mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dstAddrMode &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; mCoordInfo&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;coordAddrMode;&lt;BR /&gt; mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;srcAddrMode &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; mAddrMode;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Request MAC level acknowledgement of the data packet&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;txOptions &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; gTxOptsAck_c;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Give the data packet a handle. The handle is&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// returned in the MCPS-Data Confirm message.&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; mpPacket&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataReq&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msduHandle &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (uint8_t)Evt &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;0x11&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;//UartUtil_Print("Sending ...\n\r", gNoBlock_d);&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Send the Data Request to the MCPS&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; res &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;STRONG&gt;MSG_Send&lt;/STRONG&gt;(NWK_MCPS, mpPacket);&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="color: #008000; font-size: small;"&gt;// Prepare for another data buffer&lt;BR /&gt; &lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; mpPacket &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; NULL;&lt;BR /&gt; mcPendingPackets&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: small;"&gt;++&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;MSG_Send return always 0x00.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Then we have the HandleMcpsInput function wichin is call on each MCPS indication:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: small;"&gt;&lt;STRONG&gt;static&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: small;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;STRONG&gt;App_HandleMcpsInput&lt;/STRONG&gt;(mcpsToNwkMessage_t&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;*&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; pMsgIn)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&amp;nbsp;...&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: small;"&gt;switch&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(pMsgIn&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgType)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: small;"&gt;/* The MCPS-Data confirm is sent by the MAC to the network&lt;BR /&gt; or application layer when data has been sent. */&lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: small;"&gt;case&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; gMcpsDataCnf_c&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;:&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(mcPendingPackets)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mcPendingPackets&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;--&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;IF_Print_String&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: small;"&gt;"--0x"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, gAllowToBlock_d);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;IF_Print_Hex&lt;/STRONG&gt;(&amp;amp;pMsgIn&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;msgData&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;dataCnf&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: small;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;status, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: small;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank to My function to print data to the UART, I can see something:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After MSG_Send called, we are notified with HandleMcpsInput with msgType = McpsDataCnf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the first transmission, the&amp;nbsp; pMsgIn-&amp;gt;msgData.dataCnf.status is well "0x00" and data are well transmitted and received by the coordinator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the second, MSG_Send, the Status is 0xE8 (??? not found this value in documentation), then I must recall the MSG_Send a second time...&lt;/P&gt;&lt;P&gt;After that, all MSG_Send must be done 4 time to have a Status of 0x00 instead of 0xE8 to transmit correctly the Data. :smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And sometime, I transmit it many time (A retry during 3s = about 30 try) I always a confirmation with status of 0xE8... After that, I restart an association.&lt;/P&gt;&lt;P&gt;Sometime this association finish Ok, sometime association fail... (I don't know yet where)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Why many Time the Confirmation status is 0xE8 (Which mean this returned code?) THis will help me to understand why we need 4 try to transmit and maybe why sometime th transmission failed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Like this codebase is old, is the source code is free available for editing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 07:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656189#M2577</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2017-02-21T07:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data Confirmation return with ErrorCode 0xE8??</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656190#M2578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arnaud,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When is MSG_Send() called?&lt;/P&gt;&lt;P&gt;What are you filling the pMsdu with?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your implementation, is there a reason to have the "pending packets" variable? (&lt;SPAN style="color: #000000; background-color: #f6f6f6; border: 0px; font-size: small;"&gt;mcPendingPackets&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; background-color: #f6f6f6; border: 0px; font-weight: bold; font-size: small;"&gt;++&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #f6f6f6; border: 0px; font-size: small;"&gt;; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What's the frequency of each MSG_Send call?&lt;/P&gt;&lt;P&gt;I see your Printing function is blocking, can you try using another function or incrementing a variable and check later instead of real-time printing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 18:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656190#M2578</guid>
      <dc:creator>jc_pacheco</dc:creator>
      <dc:date>2017-02-21T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Confirmation return with ErrorCode 0xE8??</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656191#M2579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The MSG_Send is called on a specific event in my application (not under interrupt but from a basic task of 25ms periodic)&lt;/P&gt;&lt;P&gt;- The pMsdu is set to a static buffer just before the line exposed above.&lt;/P&gt;&lt;P&gt;-mcPendingPackets from the original demonstration file generated with the "Freescal Beekit" I not need it in my application&lt;/P&gt;&lt;P&gt;- Msg_Send is called one time and not called before have a positive return. So I never calle MSG_Send many time without receive a Coordinator response or many second later.&lt;/P&gt;&lt;P&gt;-IF_Print_Hex is only my adaptation of com_util library provided with the demonstration. This is a macro that I can disable. When disabled, problem is still present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you access to the stack to know the means of error code 0xE8? I not found in documentions information about this code!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 06:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656191#M2579</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2017-02-22T06:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data Confirmation return with ErrorCode 0xE8??</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656192#M2580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arnaud,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result types are listed in PublicConst.h&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define gInvalidParameter_c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE8&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:33:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656192#M2580</guid>
      <dc:creator>jc_pacheco</dc:creator>
      <dc:date>2017-02-22T15:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data Confirmation return with ErrorCode 0xE8??</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656193#M2581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;I missed the following line when I port my application (to be called just before the MSG_Send:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mpPacket-&amp;gt;msgData.dataReq.securityLevel = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Data-Confirmation-return-with-ErrorCode-0xE8/m-p/656193#M2581</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2017-02-22T15:52:42Z</dc:date>
    </item>
  </channel>
</rss>

