<?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>Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83959/is-the-characteristic-attribute-handle-freely-configurable</link><description>Hello. 
 I am developing nrf52832 (S132 v7.0.1, SDK v17.0.0) as a peripheral. 
 I am creating a characteristic using characteristic_add. I want to set the attribute handle at that time. It is listed as 0xNNNN in the core specification of the Bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jan 2022 11:51:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83959/is-the-characteristic-attribute-handle-freely-configurable" /><item><title>RE: Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/thread/349224?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 11:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de3acd54-20f8-40c9-b458-de9b41373ca5</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;thank you. That information was very helpful.&lt;br /&gt;If you have time, please answer another question. Thank you very much.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/thread/349222?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 11:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca19c53-c641-4e19-bc5c-14ac61befbed</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Yes, it is same as long as it is added to the attribute table in the same order .With respect to our softdevice, this handle is just the index of the attribute in the attribute table. So it remains same for sure as long as your device is up and running and it remains same for ever if you add the attributes in the same order when chip restarts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/thread/349153?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 09:25:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc850460-e116-4e53-a49c-1d556b1eb1bb</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;thank you for your answer. I found that I couldn&amp;#39;t set it freely.&lt;br /&gt;It is said that it is automatically assigned, but is the handle value assigned to one characteristic always the same?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/thread/349120?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 07:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e1f948-5b89-42dc-aab3-102aed1a3dea</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Attribute handles are set by the BLE stack (Softdevice in this case) when you add a characteristic using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v7.0.1%2Fgroup___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga9ee07ea4b96dcca1537b01ff9a7692ba"&gt;sd_ble_gatts_characteristic_add&lt;/a&gt;. You cannot se to any value,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the characteristic attribute handle freely configurable?</title><link>https://devzone.nordicsemi.com/thread/349118?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 06:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a33eda-6b20-4ff3-862a-ca42cb21e074</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The handles are assigned automatically by the stack. There is no API for specifying a specific handle number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>