<?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>Services initialisation and setup template?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119/services-initialisation-and-setup-template</link><description>Now that I have TWI and the BLE stack initialising, I&amp;#39;d like to create services. The Server (peripheral) sends out a few bytes to the client when a local trigger happens, and also needs to be able to accept bytes from the client whenever they are sent</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Aug 2013 11:05:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119/services-initialisation-and-setup-template" /><item><title>RE: Services initialisation and setup template?</title><link>https://devzone.nordicsemi.com/thread/654?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2013 11:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4682cfd-c767-4935-afe5-dff462e20da3</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;To clean things up, I&amp;#39;d be happy if you could evaluate the answer you have received and accept it if you feel it&amp;#39;s sufficient. If not, it might be useful to expand your question a little and provide further information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Services initialisation and setup template?</title><link>https://devzone.nordicsemi.com/thread/655?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2013 07:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:269837c5-c57d-4b0d-99f0-cbecc3b5b531</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi sd,&lt;/p&gt;
&lt;p&gt;The battery service is a nice template example to start with that you can modify yourself and use the SDK. What is meant with that the API will not change, is that all functions called sd_ will have the same functionality over different versions of softdevices, as long as the major version number does not change.&lt;/p&gt;
&lt;p&gt;The SDK examples might change, and this is not part of the API that will not change (the Battery Service is part of the SDK and the other profiles/services as well) So the SDK can be modified as you see it fit.&lt;/p&gt;
&lt;p&gt;The only time the API changes is between major version numbers, and it is used to indicate that some API calls have changed, or that you need to handle additional events.&lt;/p&gt;
&lt;p&gt;for adding additional services, you can have a look at this previous answer:
&lt;a href="http://devzone.nordicsemi.com/index.php/how-do-i-create-my-own-service-on-the-ble-stack#reply-171"&gt;devzone.nordicsemi.com/.../how-do-i-create-my-own-service-on-the-ble-stack&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>