<?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>How to write custom Central code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27435/how-to-write-custom-central-code</link><description>Hello Community, 
 I have a peripheral device which is transmitting the data through custom battery, accelerometer and temperature services. 
 Now I need to receive that data on the central side. 
 Can you please provide any starting point for writing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Nov 2017 15:42:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27435/how-to-write-custom-central-code" /><item><title>RE: How to write custom Central code?</title><link>https://devzone.nordicsemi.com/thread/108354?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 15:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f89ed5e-b81b-4df7-b6ea-86a859d45190</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Hrushi!&lt;/p&gt;
&lt;p&gt;Take a look at our;&lt;br /&gt;
&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_hrc.html?cp=4_0_0_4_2_0_1"&gt;Heart Rate Collector Example&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Heart Rate Collector application
implements the Collector role for the
Heart Rate Profile. It scans
peripheral devices, connects to the
device advertising with Heart Rate
Service UUID in its advertisement
report, and discovers and configures
the Heart Rate Service to start
sending Notifications of Heart Rate
Measurement.This application will also
discover and configure Battery Service
at the peer.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_hrs.html?cp=4_0_0_4_2_2_12"&gt;Heart Rate Application&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Heart Rate Application is an
example that implements the Heart Rate
profile using the hardware delivered
in the nRF5 Development Kit.   The
application includes the three
services in the Heart Rate profile:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Heart Rate Service&lt;/li&gt;
&lt;li&gt;Battery Service&lt;/li&gt;
&lt;li&gt;Device Information Service&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;This should be a good starting point for writing the code for your central device.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>