<?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>add 16 bit uuid ble standard characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74616/add-16-bit-uuid-ble-standard-characteristics</link><description>Hi, 
 I&amp;#39;ve been following below tutorial and everything works fine. 
 https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial 
 
 However, I was not able to figure out how to modify</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Apr 2021 17:58:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74616/add-16-bit-uuid-ble-standard-characteristics" /><item><title>RE: add 16 bit uuid ble standard characteristics</title><link>https://devzone.nordicsemi.com/thread/307725?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 17:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34caa577-978d-483d-a9f5-82b70d28e7a8</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can take a look at how other 16-bit SIG GATT services are defined in the SDK, for example see how Battery Service is defined inside nRF5_SDK/components/ble/ble_services/ble_bas/ble_bas.c in nRF5 SDK v17.1.0, line 207:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    // Add service
    BLE_UUID_BLE_ASSIGN(ble_uuid, BLE_UUID_BATTERY_SERVICE);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup___u_u_i_d___s_e_r_v_i_c_e_s.html&amp;amp;anchor=ga4090520f3007fe6f90f06a6f4f8d5845"&gt;BLE_UUID_BATTERY_SERVICE&lt;/a&gt; is defined to same 16-bit number as in the &lt;a href="https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf"&gt;16-bit UUID assigned numbers&lt;/a&gt; document from Bluetooth SIG.&lt;/p&gt;
&lt;p&gt;I recommend just using the same template as with ble_bas.c for the GATT service you want to add.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>