<?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のトピックJN5169 transmit data</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1546000#M13897</link>
    <description>&lt;P&gt;Hi All:&lt;/P&gt;&lt;P&gt;i am learning to use JN5169 in IEEE 802.15.4 to develop a project.&lt;/P&gt;&lt;P&gt;My project is based on &lt;A href="https://www.nxp.com/docs/en/application-note/JN-AN-1174.zip" target="_blank"&gt;JN-AN-1174.&lt;/A&gt; I have already realized the data transmission from EndDevice to Coordinator,but now i am failed to transmit data form Coordinator to EndDevice.Although the template offer the function of data transmission,it doesn't tell me how and where to call the function.&lt;/P&gt;&lt;P&gt;so i need you help to tell me how to correctly realize the data transmission between EndDevice and Coordinator&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 03:11:25 GMT</pubDate>
    <dc:creator>LUIPS</dc:creator>
    <dc:date>2022-10-31T03:11:25Z</dc:date>
    <item>
      <title>JN5169 transmit data</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1546000#M13897</link>
      <description>&lt;P&gt;Hi All:&lt;/P&gt;&lt;P&gt;i am learning to use JN5169 in IEEE 802.15.4 to develop a project.&lt;/P&gt;&lt;P&gt;My project is based on &lt;A href="https://www.nxp.com/docs/en/application-note/JN-AN-1174.zip" target="_blank"&gt;JN-AN-1174.&lt;/A&gt; I have already realized the data transmission from EndDevice to Coordinator,but now i am failed to transmit data form Coordinator to EndDevice.Although the template offer the function of data transmission,it doesn't tell me how and where to call the function.&lt;/P&gt;&lt;P&gt;so i need you help to tell me how to correctly realize the data transmission between EndDevice and Coordinator&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 03:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1546000#M13897</guid>
      <dc:creator>LUIPS</dc:creator>
      <dc:date>2022-10-31T03:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 transmit data</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1547925#M13921</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you already have a transmission from ED to Coordinator, it should be added in a very similar way from Coordinator to ED. Are you having some problem while calling the function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, we highly recommend moving to the&amp;nbsp;&lt;A href="https://www.nxp.com/products/wireless/thread/jn5189-88-t-high-performance-and-ultra-low-power-mcus-for-zigbee-and-thread-with-built-in-nfc-option:JN5189_88_T" target="_blank"&gt;JN5189 Wireless MCU for Zigbee® and Thread&lt;/A&gt;, as is our focus part for ZigBee/Thread. It is supported by our&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE" target="_blank"&gt;MCUXpresso IDE&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;MCUXpresso SDK&lt;/A&gt;. There are several SDK examples, like driver examples (GPIO, UART, SPI, I2C), RTOS examples, and Wireless examples (ZigBee and Thread).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1547925#M13921</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2022-11-02T21:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 transmit data</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1547977#M13924</link>
      <description>&lt;P&gt;Thanks for your reply,I've write the transmission function like this:&lt;/P&gt;&lt;P&gt;PRIVATE void vTXDataPacket( uint8 u8Len, uint16 u16DestAdr)&lt;BR /&gt;{&lt;BR /&gt;MAC_McpsReqRsp_s sMcpsReqRsp;&lt;BR /&gt;MAC_McpsSyncCfm_s sMcpsSyncCfm;&lt;BR /&gt;uint8 *pu8Payload, i = 0;&lt;/P&gt;&lt;P&gt;/* Create frame transmission request */&lt;BR /&gt;sMcpsReqRsp.u8Type = MAC_MCPS_REQ_DATA;&lt;BR /&gt;sMcpsReqRsp.u8ParamLength = sizeof(MAC_McpsReqData_s);&lt;BR /&gt;/* Set handle so we can match confirmation to request */&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.u8Handle = 1;&lt;BR /&gt;/* Use short address for source */&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sSrcAddr.u8AddrMode = 2;&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sSrcAddr.u16PanId = PAN_ID;&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sSrcAddr.uAddr.u16Short = COORDINATOR_ADR;&lt;BR /&gt;/* Use short address for destination */&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sDstAddr.u8AddrMode = 2;&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sDstAddr.u16PanId = PAN_ID;&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.sDstAddr.uAddr.u16Short = u16DestAdr;&lt;BR /&gt;/* Frame requires ack but not security, indirect transmit or GTS */&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.u8TxOptions = MAC_TX_OPTION_ACK;&lt;/P&gt;&lt;P&gt;pu8Payload = sMcpsReqRsp.uParam.sReqData.sFrame.au8Sdu;&lt;/P&gt;&lt;P&gt;pu8Payload[0] = sCoordinatorData.u8TxPacketSeqNb++;&lt;/P&gt;&lt;P&gt;for (i = 1; i &amp;lt; (u8Len + 1); i++)&lt;BR /&gt;{&lt;BR /&gt;//pu8Payload[i] = *pu8Data++;&lt;BR /&gt;pu8Payload[i] = 0x00;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Set frame length */&lt;BR /&gt;sMcpsReqRsp.uParam.sReqData.sFrame.u8SduLength = i;&lt;/P&gt;&lt;P&gt;/* Request transmit */&lt;BR /&gt;vAppApiMcpsRequest(&amp;amp;sMcpsReqRsp, &amp;amp;sMcpsSyncCfm);&lt;BR /&gt;vPutStrs((uint8*)"Request transmit\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Now,i am confused with where to call the function,&amp;nbsp;vProcessIncomingMlme(MAC_MlmeDcfmInd_s *psMlmeInd),or PRIVATE void vProcessIncomingMcps(MAC_McpsDcfmInd_s *psMcpsInd).&lt;/P&gt;&lt;P&gt;I've tried to print whether the transmission is successful on the serial port.When i transmit the data from&amp;nbsp; ED to Coordinator ,it shows the "Data transmission successful",but when i tried to transmit data from Coordinator ,it always shows&amp;nbsp; "Data transmission failed".&lt;/P&gt;&lt;P&gt;PRIVATE void vHandleMcpsDataDcfm(MAC_McpsDcfmInd_s *psMcpsInd)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;if (psMcpsInd-&amp;gt;uParam.sDcfmData.u8Status == MAC_ENUM_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;vPutStrs((uint8*)"Data transmission successful \n");&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;vPutStrs((uint8*)"Data transmission failed\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 01:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1547977#M13924</guid>
      <dc:creator>LUIPS</dc:creator>
      <dc:date>2022-11-03T01:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: JN5169 transmit data</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1548381#M13929</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to &lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3024.pdf" target="_blank"&gt;IEEE 802.15.4 Stack User Guide&lt;/A&gt; (section 4.2 and 4.3) to check how a typical set-up and operation is used for these nodes.&lt;/P&gt;
&lt;P&gt;And also, you can refer to the Application Note 802.15.4 Home Sensor Demonstration for JN516x (JN-AN-1180).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 15:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5169-transmit-data/m-p/1548381#M13929</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2022-11-03T15:10:16Z</dc:date>
    </item>
  </channel>
</rss>

