<?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>can we make custom service without using UART sending and receiving data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23948/can-we-make-custom-service-without-using-uart-sending-and-receiving-data</link><description>can we make custom service without using UART for sending and receiving data and also how to receive the data in central side and for sending data?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 14:39:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23948/can-we-make-custom-service-without-using-uart-sending-and-receiving-data" /><item><title>RE: can we make custom service without using UART sending and receiving data</title><link>https://devzone.nordicsemi.com/thread/94288?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 14:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ebd153-04f8-4a06-8132-9d02711aefac</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@irayya(IC): You could also use the Heart Rate Service examples, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/ble_sdk_app_hrs.html?cp=4_0_0_4_2_2_9"&gt;here&lt;/a&gt; is the peripheral and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/ble_sdk_app_hrc.html?cp=4_0_0_4_2_0_0"&gt;here&lt;/a&gt; is the central example descriptions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can we make custom service without using UART sending and receiving data</title><link>https://devzone.nordicsemi.com/thread/94290?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 13:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2528f7d9-60e3-4e30-b539-cf38435ef87a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sorry, I still suggest Nordic BLE UART Service;) Alternatively you can use template project showing how to use all usual Nordic SDK libs (&lt;code&gt;examples\ble_peripheral\ble_app_template&lt;/code&gt;) but that&amp;#39;s for GAP Peripheral side only also beacon example &lt;code&gt;examples\ble_peripheral\ble_app_beacon&lt;/code&gt; can be used as GAP Peripheral baseline. On central side you will need to go through SDK examples in &lt;code&gt;examples\ble_central&lt;/code&gt; and simply choose which one has the most parts you like. In a nutt shell there is no shortcut from my perspective: either you don&amp;#39;t know how to do embedded FWs in C (or you don&amp;#39;t want to go that way) and than take NUS examples or you know what to do and then you understand it takes several weeks or even months to get into new SDK and MCU specifics, choose your favorite build-chain and IDE and get your hands dirty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can we make custom service without using UART sending and receiving data</title><link>https://devzone.nordicsemi.com/thread/94289?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 13:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e0ca61-8b48-45db-a9ae-904d5f1d25c8</guid><dc:creator>IC</dc:creator><description>&lt;p&gt;@endnode
can you please suggest the example program for both central and peripheral&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can we make custom service without using UART sending and receiving data</title><link>https://devzone.nordicsemi.com/thread/94287?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 12:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2054a5d-9a78-4170-922e-cc9fcbc1dbe5</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sure you can. Simply use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_t_t_s.html?cp=2_3_0_1_1_2_4"&gt;GATTS API&lt;/a&gt; functions to provision your custom UUID base, GATT Service, Characteristic(s) and you are ready to use any GATT method on top of them to transfer data (you need to define your protocol and flow of course).&lt;/p&gt;
&lt;p&gt;On the other side you will use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_t_t_c.html?cp=2_3_0_1_1_2_2"&gt;GATTC API&lt;/a&gt; to discover services on the server and again use GATT methods on top of them to transfer data (according to protocol and flow you design).&lt;/p&gt;
&lt;p&gt;Why people promote Nordic BLE UART Service is because they have complete set of examples (both Central/Peripheral roles for all nRF5x chips and also mobile app examples) and they do basically what you describe (and most of people need). Changing UUIDs to make it &amp;quot;custom&amp;quot; is then trivial job. However if you want to go harder way then you can build all that from API manually in your custom project (and e.g. use NUS examples only as inspiration).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>