<?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: KW45 How does BLE client write data to BLE Server?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1991255#M19234</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Wireless UART, even if the device is in central mode, the BleApp_ReceivedUartStream is called when receiving something from the peripheral.&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>Fri, 08 Nov 2024 20:18:28 GMT</pubDate>
    <dc:creator>Ricardo_Zamora</dc:creator>
    <dc:date>2024-11-08T20:18:28Z</dc:date>
    <item>
      <title>KW45 How does BLE client write data to BLE Server?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1988512#M19213</link>
      <description>&lt;P&gt;I want to modify the SDK examples：temperature sensor and collector so that collector can write Characteristic Value，The sensor can print out the values written by the collector through UART.&lt;/P&gt;&lt;P&gt;As shown in the picture, press the button of the sensor first, and the sensor sends the Notification. The collector triggers **GattNotificationCallback**, prints out the value "value_temperature", and then uses the API: GattClient_WriteCharacteristicValue Changes the value of value_temperature.The sensor triggers **GattServerCallback** to print the value of value_temperature.But collector can print value_temperature, sensor UART does not print, looking forward to your suggestions and guidance！&lt;/P&gt;&lt;P&gt;我希望修改例程： temperature sensor 和 collector，可以使 collector 可以写&lt;/P&gt;&lt;P&gt;Characteristic Value，sensor 可以将 collector 写入的值通过 UART 出来，&lt;/P&gt;&lt;P&gt;如图片展示 先按下 sensor 的按键，sensor 发送 **Notification**，collector 触发**GattNotificationCallback**，打印出 “value_temperature”的值，之后使用GattClient_WriteCharacteristicValue 修改 “value_temperature”的值，sensor 端触发 **GattServerCallback** 打印出“value_temperature”的值。但是 collector可以打印出value_temperature， sensor 的UART没有打印，期待你的建议和指导&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trent_0-1730872914910.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308851i161E65169824375F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trent_0-1730872914910.png" alt="trent_0-1730872914910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trent_1-1730873219851.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308852i304B1ED87F6818F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trent_1-1730873219851.png" alt="trent_1-1730873219851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trent_2-1730873601202.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308853i2EB9897588ED7E50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trent_2-1730873601202.png" alt="trent_2-1730873601202.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 06:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1988512#M19213</guid>
      <dc:creator>trent</dc:creator>
      <dc:date>2024-11-06T06:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 How does BLE client write data to BLE Server?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1989157#M19217</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. Is there any special consideration why the collector would need to write a characteristic to the sensor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to receive on a serial terminal something "received" from Bluetooth, maybe you can take the Wireless UART example as a base for your application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example already enables UART and bidirectional BLE communication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 18:05:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1989157#M19217</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-11-06T18:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 How does BLE client write data to BLE Server?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1989658#M19219</link>
      <description>&lt;P&gt;thanks for your reply&lt;/P&gt;&lt;P&gt;I think "temperature sensor and collector" is more appropriate，Of course I also can take the Wireless UART example as a base for your application.But I have a question about the Wireless UART example,From my understanding of W_UART, BLE printing data to serial terminal requires the use of BleApp_ReceivedUartStream, which is only used in BleApp_GattServerCallback.Can Central also use BleApp_GattServerCallback?If not, how does Central transfer data to UART.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;我认为使用“ temperature sensor and collector ”更合适，当然我也可以用 Wireless UART example 作为应用程序的基础。但是对于Wireless UART example 我有疑问，向 UART输出数据需要使用到 BleApp_ReceivedUartStream 但它只在 BleApp_GattServerCallback 中被应用，BLE做为 Central 也能使用BleApp_GattServerCallback ？如果不能,Central是如何向UART传输数据的&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trent_0-1730945742857.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309065i5A0B02E7EEBB42C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="trent_0-1730945742857.png" alt="trent_0-1730945742857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 02:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1989658#M19219</guid>
      <dc:creator>trent</dc:creator>
      <dc:date>2024-11-07T02:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 How does BLE client write data to BLE Server?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1991255#M19234</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Wireless UART, even if the device is in central mode, the BleApp_ReceivedUartStream is called when receiving something from the peripheral.&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>Fri, 08 Nov 2024 20:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-How-does-BLE-client-write-data-to-BLE-Server/m-p/1991255#M19234</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-11-08T20:18:28Z</dc:date>
    </item>
  </channel>
</rss>

