<?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>topic Re: There is a problem when sending and receiving data. in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825327#M18024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell me how to send a array?&lt;/P&gt;&lt;P&gt;What is the format of the send array?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 03:29:48 GMT</pubDate>
    <dc:creator>2433841893</dc:creator>
    <dc:date>2018-09-17T03:29:48Z</dc:date>
    <item>
      <title>There is a problem when sending and receiving data.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825325#M18022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;send:&amp;nbsp;&lt;/P&gt;&lt;P&gt;hAPduInst = PDUM_hAPduAllocateAPduInstance(apduZDP);&lt;BR /&gt; if (hAPduInst == PDUM_INVALID_HANDLE)&lt;BR /&gt; {&lt;BR /&gt; DBG_vPrintf(TRUE, "hAPduInst:===PDUM_INVALID_HANDLE\r\n");&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; offSet = PDUM_u16APduInstanceWriteNBO(hAPduInst, offSet, "b", 9);&lt;BR /&gt; eStat = ZPS_eAplAfBroadcastDataReq(hAPduInst, 0x0013, 0x01, 0x01,&lt;BR /&gt; (ZPS_teAplAfBroadcastMode)ZPS_E_BROADCAST_ALL, ZPS_E_APL_AF_UNSECURE, 0, NULL);&lt;BR /&gt; DBG_vPrintf(TRUE, "offSet:===%d\r\n", offSet);&lt;BR /&gt; DBG_vPrintf(TRUE, "eStat:===%d\r\n", eStat);&lt;BR /&gt; }&lt;BR /&gt; PDUM_eAPduFreeAPduInstance(hAPduInst);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;receive:&lt;/P&gt;&lt;P&gt;if (sStackEvent.uEvent.sApsDataIndEvent.hAPduInst != PDUM_INVALID_HANDLE)&lt;BR /&gt; {&lt;BR /&gt; readByte = PDUM_u16APduInstanceReadNBO(sStackEvent.uEvent.sApsDataIndEvent.hAPduInst, 0, "b", &amp;amp;data);&lt;BR /&gt; DBG_vPrintf(TRUE, "readByte:===%d\r\n", readByte);&lt;BR /&gt; DBG_vPrintf(TRUE, "data:===%d\r\n", data);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;the &lt;SPAN&gt;hAPduInst &lt;/SPAN&gt;&amp;nbsp;Instance is NULL and cannot read data correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it related to CLUSTER ID?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 10:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825325#M18022</guid>
      <dc:creator>2433841893</dc:creator>
      <dc:date>2018-09-14T10:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: There is a problem when sending and receiving data.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825326#M18023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it has been solved, it is my fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 02:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825326#M18023</guid>
      <dc:creator>2433841893</dc:creator>
      <dc:date>2018-09-17T02:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: There is a problem when sending and receiving data.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825327#M18024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you tell me how to send a array?&lt;/P&gt;&lt;P&gt;What is the format of the send array?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 03:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825327#M18024</guid>
      <dc:creator>2433841893</dc:creator>
      <dc:date>2018-09-17T03:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: There is a problem when sending and receiving data.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825328#M18025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are using Wireless stack, I would suggest you post it in NXP Wireless connectivity space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also check below link for how to passing arrays as arguments to a function.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.programiz.com/c-programming/c-arrays-functions" title="https://www.programiz.com/c-programming/c-arrays-functions"&gt;How to pass arrays to a function in C Programming?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 06:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/There-is-a-problem-when-sending-and-receiving-data/m-p/825328#M18025</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-09-18T06:29:35Z</dc:date>
    </item>
  </channel>
</rss>

