<?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>C++ BLE example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36609/c-ble-example</link><description>SDK : 15.0 
 Softdevice : 6.0 
 DK : NRF52_DK 
 
 Hi everyone, 
 Does anyone have a BLE example with C ++ ? (a beacon example or anything else) I would like to have the Makefile and the application code. Thanks, regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Jul 2018 12:14:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36609/c-ble-example" /><item><title>RE: C++ BLE example</title><link>https://devzone.nordicsemi.com/thread/140969?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:14:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6fa1472-b190-4d2a-aa15-e1a9fcc5fc0e</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Adafruit has built an excellent C++ ble library for the nrf52 that should function within the Nordic SDK once some of the Arduino references are removed. It is currently based on SDK 14.2 however they are apparently in the process of updating to 15.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C++ BLE example</title><link>https://devzone.nordicsemi.com/thread/140966?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d070e69-8a5b-4ad3-b87d-e3e3443be9be</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;All the SDK libraries are written in plain old C, but there are nothing preventing you from writing your application in C++. I do not have an example at hand though, but hopefully someone&amp;nbsp;on the forum has something that they can share.&lt;/p&gt;
&lt;p&gt;I want to add though that just making an example compile with a C++ compiler should be easy, but if you want C++ look and feel (object oriented etc) of everything then you have to make a lot of wrappers around existing libraries and drivers. This may not be worth the effort, and from my experience it tends to increase complexity rather than reduce it (which should be the end goal in any case).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>