<?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>Kinetis MicrocontrollersのトピックRe: How to transmit continous data from FRDM-KW41ZMCU to ble device (NXP IOT toolbox is app)?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998481#M55847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is it not possible to receive data from the FRDMKW41Z board to ble wireless uart app?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, it is possible. You need to create an event or timer, that triggers the&amp;nbsp;&lt;SPAN&gt;BleApp_SendUartStream&amp;nbsp; with your message "Hello World".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2020 15:52:41 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2020-02-27T15:52:41Z</dc:date>
    <item>
      <title>How to transmit continous data from FRDM-KW41ZMCU to ble device (NXP IOT toolbox is app)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998478#M55844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am trying to transmit a "Hello\n" message from FRDM-KW41Z MCU to NXP IOT Toolbox (wireless uart).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But i am not able to receive any message.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using demo example - "BLE-wireless uart" , &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wireless uart example program is working fine but i want to transmit data from MCU to NXP IOT Toolbox(wireless uart ) application. Without typing any message into the terminal or Serial terminal i should be able to recieve message on NXP iot toolbox application.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is what i have made changes to function.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;static void BleApp_FlushUartStream(void *pParam)&lt;BR /&gt;{&lt;BR /&gt; char *pMsg = "hello\n";&lt;BR /&gt; uint16_t bytesRead = 0;&lt;BR /&gt; &lt;BR /&gt; if (mPeerInformation.appState != mAppRunning_c)&lt;BR /&gt; {&lt;BR /&gt; return;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Allocate buffer for GATT Write */&lt;BR /&gt; *pMsg = MEM_BufferAlloc(mAppUartBufferSize);&lt;BR /&gt; if (*pMsg == NULL)&lt;BR /&gt; {&lt;BR /&gt; return;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Collect the data from the serial manager buffer */&lt;BR /&gt; if ( Serial_Read( gAppSerMgrIf, *pMsg, mAppUartBufferSize, &amp;amp;bytesRead) == gSerial_Success_c )&lt;BR /&gt; {&lt;BR /&gt; if (bytesRead != 0)&lt;BR /&gt; {&lt;BR /&gt; /* Send data over the air */&lt;BR /&gt; BleApp_SendUartStream(mPeerInformation.deviceId, *pMsg, bytesRead);&lt;BR /&gt; }&lt;BR /&gt; } &lt;BR /&gt; /* Free Buffer */&lt;BR /&gt; MEM_BufferFree(*pMsg);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please suggest if any changes to be made to any other functions of the program.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 11:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998478#M55844</guid>
      <dc:creator>pooja_vernekar</dc:creator>
      <dc:date>2020-02-21T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to transmit continous data from FRDM-KW41ZMCU to ble device (NXP IOT toolbox is app)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998479#M55845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the Wireless Uart example is waiting for a UART message, the serial manager provides a new incoming buffer, also please look at the&amp;nbsp;BleApp_SendUartStream that sends data over the air.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will depend on your application if you want a software timer or create an event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 21:43:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998479#M55845</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-02-26T21:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to transmit continous data from FRDM-KW41ZMCU to ble device (NXP IOT toolbox is app)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998480#M55846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;Is it not possible to receive a data from FRDMKW41Z board to ble wireless uart app?&lt;/P&gt;&lt;P&gt;I just need "hello" message from MCU board without typing/sending it&amp;nbsp;via terminal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 05:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998480#M55846</guid>
      <dc:creator>pooja_vernekar</dc:creator>
      <dc:date>2020-02-27T05:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to transmit continous data from FRDM-KW41ZMCU to ble device (NXP IOT toolbox is app)?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998481#M55847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is it not possible to receive data from the FRDMKW41Z board to ble wireless uart app?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, it is possible. You need to create an event or timer, that triggers the&amp;nbsp;&lt;SPAN&gt;BleApp_SendUartStream&amp;nbsp; with your message "Hello World".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-transmit-continous-data-from-FRDM-KW41ZMCU-to-ble-device/m-p/998481#M55847</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-02-27T15:52:41Z</dc:date>
    </item>
  </channel>
</rss>

