<?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>MCUXpresso General中的主题 Re: BLE GATT characteristic read/write example code</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926928#M2129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haider, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could check some of the BLE examples provided with the KW36 SDK, but specifically, "hrs" (Heart Rate Sensor) and "w_uart" (Wireless UART) could be very useful, as they have different types of services and characteristics that you could use as reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Heart Rate Sensor example, you could check the services for Battery and for Heart Rate, as those provide writable and readable characteristics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The path for the examples is:&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.1_FRDM-KW36\boards\frdmkw36\wireless_examples\bluetooth&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, these two community documents might be useful to you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-328287"&gt;How to create a Custom Profile - Client&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-271178"&gt;How to create a Custom Profile - Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check those and see if they're useful to you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 20:26:26 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2019-07-30T20:26:26Z</dc:date>
    <item>
      <title>BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926927#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any simple BLE GATT characteristic read/write example code available for FRDM KW36? Thankyou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haider Iftikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 11:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926927#M2128</guid>
      <dc:creator>haideriftikharm</dc:creator>
      <dc:date>2019-07-30T11:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926928#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haider, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could check some of the BLE examples provided with the KW36 SDK, but specifically, "hrs" (Heart Rate Sensor) and "w_uart" (Wireless UART) could be very useful, as they have different types of services and characteristics that you could use as reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Heart Rate Sensor example, you could check the services for Battery and for Heart Rate, as those provide writable and readable characteristics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The path for the examples is:&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.1_FRDM-KW36\boards\frdmkw36\wireless_examples\bluetooth&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, these two community documents might be useful to you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-328287"&gt;How to create a Custom Profile - Client&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-271178"&gt;How to create a Custom Profile - Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check those and see if they're useful to you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926928#M2129</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-07-30T20:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926929#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through the HRS example but I am a bit confused and lost in which file the services/characteristics are witten and in which file it is coded to read/write the characteristic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also is there any BLE API available for NXP that i can look into. Thankyou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider Iftikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 08:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926929#M2130</guid>
      <dc:creator>haideriftikharm</dc:creator>
      <dc:date>2019-08-28T08:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926930#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Haider,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KW36Z's SDK has a document called "Bluetooth Low Energy Host Stack API Reference Manual" that may be useful to get an idea of the structure of BLE applications, as well as the different functions and data structures of the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The document can be found in the following path:&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.1_FRDM-KW36\docs\wireless\Bluetooth\Bluetooth Low Energy Host Stack API Reference Manual.pdf&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the BLE API is included in the SDK archive if you selected the BLE stack middleware component when building the SDK in &lt;A href="https://mcuxpresso.nxp.com"&gt;our builder&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82145i8031659C554F5B3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also check the Bluetooth Developer's Guide, in the following SDK Path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.1_FRDM-KW36\docs\wireless\Bluetooth\Bluetooth Low Energy Application Developer's Guide.pdf&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also have &lt;A href="https://www.nxp.com/video/lesson-0-an-introduction-to-the-course-and-meet-your-trainer:LESSON-0-KW41Z-WIRELESS-LAB%20"&gt;some tutorials&lt;/A&gt; in our website that may be useful to get started with BLE development on the KW41Z and KW36Z families of MCUs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any further questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926930#M2131</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-08-29T17:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926931#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through the SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debug a progrom to my board, I get a following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15: Target error from Test Thread Liveness: Et:39: Unknown thread ID selected&lt;BR /&gt; 15: Target error from Test Thread Liveness: Et:39: Unknown thread ID selected&lt;BR /&gt; Debugging context: frdmkw36_wireless_examples_bluetooth_temp_sens_freertos LinkServer Debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please tell me how to get rid of this, thankyou.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haider Iftikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 08:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926931#M2132</guid>
      <dc:creator>haideriftikharm</dc:creator>
      <dc:date>2019-09-05T08:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: BLE GATT characteristic read/write example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926932#M2133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haider,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The temperature sensor example enters Low Power Mode during execution of the program, and the device cannot be debugged if it enter this mode. To disable this mode during you'll need to change the following macro in the app_preinclude.h header file to a 0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define cPWR_UsePowerDownMode           0&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more specific information about configuration and functionality of the Wireless Demo applications, there's a document named Bluetooth Low Energy Demo Applications User's Guide.pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be found in the following path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDK_2.2.1_FRDM-KW36\docs\wireless\Bluetooth\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any more issues regarding this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/BLE-GATT-characteristic-read-write-example-code/m-p/926932#M2133</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-09-06T16:03:45Z</dc:date>
    </item>
  </channel>
</rss>

