<?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: Unable to use 16-bit UUID in KW45 Wireless UART Example</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Unable-to-use-16-bit-UUID-in-KW45-Wireless-UART-Example/m-p/2346550#M20339</link>
    <description>&lt;P lang="es-419"&gt;Hello,&lt;BR /&gt;Hope you are doing well.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The UUID is a 128-bit value. To reduce the overhead associated with storing and transmitting 128‑bit UUIDs, the Bluetooth SIG has pre‑allocated a range of UUIDs for frequently used, registered purposes. These pre‑allocated UUIDs have 16‑bit aliases, commonly referred to as 16‑bit UUIDs. Although they are represented as 16‑bit values, each actually represents a 128-bit UUID value.&lt;/P&gt;
&lt;P&gt;A list of Bluetooth SIG‑defined 16‑bit UUIDs can be found on the &lt;A href="https://www.bluetooth.com/specifications/assigned-numbers/" target="_blank"&gt;Assigned Numbers&lt;/A&gt; documentation of the Bluetooth Technology website. If you need a custom service intended for broader or official use, it is also possible to request and purchase an official 16‑bit UUID as a Bluetooth SIG member.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When defining a GATT database, the GATT_DB API provides several macros for declaring services. For 16‑bit UUIDs, the following macro is used: PRIMARY_SERVICE(name, uuid16). Both the UUID16 and PRIMARY_SERVICE macros support the Bluetooth SIG‑defined 2‑byte UUIDs. These 16‑bit UUID constants for GATT declarations are provided in the ble_sig_defines.h header file.&lt;/P&gt;
&lt;P&gt;For more information on GATT services see &lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/wireless/bluetooth/doc/Bluetooth%20Low%20Energy%20Application%20Developers%20Guide/topics/creating_gatt_database.html#creating-gatt-database" target="_blank"&gt;Creating GATT database — MCUXpresso SDK Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking is to implement a custom service using the wireless_uart SDK example, the recommended approach is to first define a 128‑bit UUID. In that case, you should use the UUID128 and PRIMARY_SERVICE_UUID128 macros instead. This example implementation might be helpful: &lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/KW38-Custom-Profile/ta-p/1269874" target="_blank"&gt;KW38 Custom Profile.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ana Sofia.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2026 21:35:43 GMT</pubDate>
    <dc:creator>sofiaurueta</dc:creator>
    <dc:date>2026-04-07T21:35:43Z</dc:date>
    <item>
      <title>Unable to use 16-bit UUID in KW45 Wireless UART Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Unable-to-use-16-bit-UUID-in-KW45-Wireless-UART-Example/m-p/2345612#M20336</link>
      <description>&lt;P&gt;Hello NXP Team,&lt;/P&gt;&lt;P&gt;I am working on KW45B41Z-EVK using the Wireless UART FreeRTOS example.&lt;/P&gt;&lt;P&gt;I noticed that macros like PRIMARY_SERVICE_UUID16 are not available,&lt;BR /&gt;and the example uses only 128-bit UUIDs.&lt;/P&gt;&lt;P&gt;I want to implement a custom 16-bit UUID service (e.g., 0xFFF0), but I am unsure&lt;BR /&gt;how to correctly define it using the existing GATT database macros.&lt;/P&gt;&lt;P&gt;Could you please clarify:&lt;BR /&gt;1. How to properly define 16-bit UUID using UUID16 macro?&lt;BR /&gt;2. Whether PRIMARY_SERVICE macro supports 16-bit UUID directly?&lt;BR /&gt;3. Any recommended approach for custom services in KW45 BLE stack?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 09:12:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Unable-to-use-16-bit-UUID-in-KW45-Wireless-UART-Example/m-p/2345612#M20336</guid>
      <dc:creator>Abhi1112</dc:creator>
      <dc:date>2026-04-06T09:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use 16-bit UUID in KW45 Wireless UART Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Unable-to-use-16-bit-UUID-in-KW45-Wireless-UART-Example/m-p/2346550#M20339</link>
      <description>&lt;P lang="es-419"&gt;Hello,&lt;BR /&gt;Hope you are doing well.&lt;/P&gt;
&lt;P lang="es-419"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The UUID is a 128-bit value. To reduce the overhead associated with storing and transmitting 128‑bit UUIDs, the Bluetooth SIG has pre‑allocated a range of UUIDs for frequently used, registered purposes. These pre‑allocated UUIDs have 16‑bit aliases, commonly referred to as 16‑bit UUIDs. Although they are represented as 16‑bit values, each actually represents a 128-bit UUID value.&lt;/P&gt;
&lt;P&gt;A list of Bluetooth SIG‑defined 16‑bit UUIDs can be found on the &lt;A href="https://www.bluetooth.com/specifications/assigned-numbers/" target="_blank"&gt;Assigned Numbers&lt;/A&gt; documentation of the Bluetooth Technology website. If you need a custom service intended for broader or official use, it is also possible to request and purchase an official 16‑bit UUID as a Bluetooth SIG member.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When defining a GATT database, the GATT_DB API provides several macros for declaring services. For 16‑bit UUIDs, the following macro is used: PRIMARY_SERVICE(name, uuid16). Both the UUID16 and PRIMARY_SERVICE macros support the Bluetooth SIG‑defined 2‑byte UUIDs. These 16‑bit UUID constants for GATT declarations are provided in the ble_sig_defines.h header file.&lt;/P&gt;
&lt;P&gt;For more information on GATT services see &lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/wireless/bluetooth/doc/Bluetooth%20Low%20Energy%20Application%20Developers%20Guide/topics/creating_gatt_database.html#creating-gatt-database" target="_blank"&gt;Creating GATT database — MCUXpresso SDK Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking is to implement a custom service using the wireless_uart SDK example, the recommended approach is to first define a 128‑bit UUID. In that case, you should use the UUID128 and PRIMARY_SERVICE_UUID128 macros instead. This example implementation might be helpful: &lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/KW38-Custom-Profile/ta-p/1269874" target="_blank"&gt;KW38 Custom Profile.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ana Sofia.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 21:35:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Unable-to-use-16-bit-UUID-in-KW45-Wireless-UART-Example/m-p/2346550#M20339</guid>
      <dc:creator>sofiaurueta</dc:creator>
      <dc:date>2026-04-07T21:35:43Z</dc:date>
    </item>
  </channel>
</rss>

