<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to create 16-bit UUIDs For GATT servers and characteristics using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109726/how-to-create-16-bit-uuids-for-gatt-servers-and-characteristics-using-nrf-connect-sdk</link><description>Hi Team, I want to create 2 UUIDs for 2 GATT Servers I am using 128-bit UUIDs for creating but using 128-bit UUIDs I can&amp;#39;t create more servers its showing error (too big advertisement err -22) So I decided to create 16-bit UUIDs please help Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2024 09:23:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109726/how-to-create-16-bit-uuids-for-gatt-servers-and-characteristics-using-nrf-connect-sdk" /><item><title>RE: How to create 16-bit UUIDs For GATT servers and characteristics using nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/476493?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 09:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3635a0c2-6e14-48a4-b0f5-51ce70d32bbb</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you trying to advertise both the 128-bit UUID&amp;#39;s?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The advertise packet is limited to 31 bytes only, and this only leaves room for a single 128-bit UUID. In total a single 128-bit UUID will occupy 18 bytes in the advertise packet (16 bytes for the UUID and 2 bytes for the advertise field header).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you split the two UUID&amp;#39;s between the advertise and scan response packets you should be able to fit both, but it will limit how much other data you are able to include in the advertisement.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>