<?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>understanding of services and characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115918/understanding-of-services-and-characteristics</link><description>i have created my characteristics custom and advertised one characteristics but unable to find out how to assign the event handler for the characteristics. I will attach the file i have created the services and added the characteristics . 
 
 and other</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Oct 2024 08:26:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115918/understanding-of-services-and-characteristics" /><item><title>RE: understanding of services and characteristics</title><link>https://devzone.nordicsemi.com/thread/508461?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 08:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8b4df62-f11f-4941-bc75-663b13ccb83e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There is no name assisiated with a characteristic over the air. The protocol is only based on UUID numbers only. So pick any name, and assosiate that name with the UUID conceptually everywhere it is used. If you refer to the SDK, you can see that there are defines that &amp;quot;name&amp;quot; the services and characteristics. And if you look at the standard services you can see that characteristics have names (see &lt;a href="https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/Assigned_Numbers/out/en/Assigned_Numbers.pdf"&gt;assigned numbers&lt;/a&gt;), but that does not live anywhere in code or on air.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: understanding of services and characteristics</title><link>https://devzone.nordicsemi.com/thread/508426?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 18:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba32fdaf-b9c3-43f8-92d4-4865eb04b6cc</guid><dc:creator>hariharan_srm</dc:creator><description>&lt;p&gt;how to name them over air is there any provision&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: understanding of services and characteristics</title><link>https://devzone.nordicsemi.com/thread/508370?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 13:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eb260f8-98b6-41de-acfb-4b7abc608b72</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is described in detail in the old &lt;a href="https://github.com/NordicPlayground/nRF52-Bluetooth-Course"&gt;nRF52 Bluetooth Course&lt;/a&gt;, so I recomend you go throught that. This shows you everythign you need in order to make your own services and characteristics. Refering to that course, you can see it includes an&amp;nbsp;on_write() function that is called for writes, and it checks if the write is for itself, and handles it accordingly.&lt;/p&gt;
&lt;p&gt;Regarding naming, standard UUIDs has names, but the names are not in the code or actually used on air. So for your own services and characteristics, you are free to&amp;nbsp;name them in any way you like in code and elsewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>