<?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 C program to send data by GATT service characteristic value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32575/how-to-c-program-to-send-data-by-gatt-service-characteristic-value</link><description>Dear Sir/Madam, 
 
 I have a sensor prototype board using nRF51822 for Bluetooth communication and I am now working on its firmware. I have installed MDK version 5.16 and using Seggar JLink. I have downloaded SoftDevice S110 and installed it on the system</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Mar 2018 12:46:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32575/how-to-c-program-to-send-data-by-gatt-service-characteristic-value" /><item><title>RE: how to C program to send data by GATT service characteristic value</title><link>https://devzone.nordicsemi.com/thread/125350?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 12:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:634063a2-6cae-447f-bf53-73fe5ad12e28</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Jun,&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;If you are a beginner I would advise you to check out the links on this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30338/getting-started-for-beginners" target="_blank" rel="noopener noreferrer"&gt;thread&lt;/a&gt;&amp;nbsp;for guidance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I assume that you will be using &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v12.x.x/" target="_blank" rel="noopener noreferrer"&gt;SDK v12.3&lt;/a&gt;? If not I would recommend you to use that SDK version since it&amp;#39;s the latest for the nRF51 series. and you should also use &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.softdevices51%2Fdita%2Fsoftdevices%2Fs130%2Fs130.html&amp;amp;cp=3_7_2" target="_blank" rel="noopener noreferrer"&gt;Softdevice s130&lt;/a&gt;. (&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf51%2Fdita%2Fnrf51%2Fcompatibility_matrix%2FnRF51422_nRF51822_ic_rev_sdk_sd_comp_matrix.html&amp;amp;cp=3_0_4" target="_blank" rel="noopener noreferrer"&gt;compatibility matrix&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your application seems simple enough and should be possible for you to achieve by&amp;nbsp;checking out this&amp;nbsp;&lt;a href="https://github.com/bjornspockeli/nRF52_ppi_timper_gpiote_example" target="_blank" rel="noopener noreferrer"&gt;Tutorial&amp;nbsp;&lt;/a&gt;made by&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/bjorn_2d00_spockeli" target="_blank" rel="noopener noreferrer"&gt;Bjorn&lt;/a&gt;. It shows you in&lt;strong&gt; step 5&lt;/strong&gt; how you can read out the Temperature data from a sensor via TWI and you could&amp;nbsp;use the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.3.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_5_4_2_2_19" target="_blank" rel="noopener noreferrer"&gt;ble_app_uart&lt;/a&gt;&amp;quot; example as reference on how to send the sensor data to a central (phone etc..)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;To acquire more knowledge on how BLE works, you should check out these tutorials:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial" target="_blank" rel="noopener noreferrer"&gt;Advertising&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial" target="_blank" rel="noopener noreferrer"&gt;Services&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial" target="_blank" rel="noopener noreferrer"&gt;&lt;em&gt;Characteristics&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>