<?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中的主题 ATT_MTU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/ATT-MTU/m-p/560179#M1369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;In NXP’s KW40Z_Connectivity_Software_1.0.1 package, there is a wireless_uart_demo project under BLE example directory. Our goal is to modify this project such that it can transmit 1000 BLE packets with 250 bytes data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;I use the wireless_uart_demo project and create two copies; one for receiver and one for sender. The sender project will transmit 1000 packets and the receiver will display the packets it receives in the Shell. Next, in sender project, I modify UartStreamFlushTimerCallback function in app.c (see attachment: app_Sender.c) and in receiver project, I modify BleApp_GattServerCallback function in app.c (see attachment: app_RX.c). For both sender and receiver projects, I add GattClient_ExchangeMtu command in BleApp_StateMachineHandler function so that it can expand ATT_MTU to 250.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;When I select temp[20] and bytesRead=20 in UartStreamFlushTimerCallback function in sender project, receiver project is able to display all 1000 packets in the Shell. However, if I select temp[30] and bytesRead=30, receiver project doesn’t display any packet. However, when I use a sniffer, the sniffer is able to capture the 30 bytes data packet (see attachment: sniffer_capture.png) and the ATT_Exchange_MTU request and response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Did I miss any step to enable large payload?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 20:23:21 GMT</pubDate>
    <dc:creator>koonlee</dc:creator>
    <dc:date>2016-08-25T20:23:21Z</dc:date>
    <item>
      <title>ATT_MTU</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ATT-MTU/m-p/560179#M1369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;In NXP’s KW40Z_Connectivity_Software_1.0.1 package, there is a wireless_uart_demo project under BLE example directory. Our goal is to modify this project such that it can transmit 1000 BLE packets with 250 bytes data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;I use the wireless_uart_demo project and create two copies; one for receiver and one for sender. The sender project will transmit 1000 packets and the receiver will display the packets it receives in the Shell. Next, in sender project, I modify UartStreamFlushTimerCallback function in app.c (see attachment: app_Sender.c) and in receiver project, I modify BleApp_GattServerCallback function in app.c (see attachment: app_RX.c). For both sender and receiver projects, I add GattClient_ExchangeMtu command in BleApp_StateMachineHandler function so that it can expand ATT_MTU to 250.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;When I select temp[20] and bytesRead=20 in UartStreamFlushTimerCallback function in sender project, receiver project is able to display all 1000 packets in the Shell. However, if I select temp[30] and bytesRead=30, receiver project doesn’t display any packet. However, when I use a sniffer, the sniffer is able to capture the 30 bytes data packet (see attachment: sniffer_capture.png) and the ATT_Exchange_MTU request and response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Did I miss any step to enable large payload?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 20:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ATT-MTU/m-p/560179#M1369</guid>
      <dc:creator>koonlee</dc:creator>
      <dc:date>2016-08-25T20:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: ATT_MTU</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ATT-MTU/m-p/560180#M1370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 19:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ATT-MTU/m-p/560180#M1370</guid>
      <dc:creator>koonlee</dc:creator>
      <dc:date>2016-09-02T19:47:02Z</dc:date>
    </item>
  </channel>
</rss>

