<?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>Creating a Central device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21986/creating-a-central-device</link><description>Hallo Community, 
 I am new with Nordic chips, now Im trying to develop a BLE central, then i took the BLE_CENTRAL BLE_APP_UART example to start doing it, the SDK is the SDK13, the boards PCA10040 and using Eclipse neon.
But when I flash the board with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 May 2017 10:10:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21986/creating-a-central-device" /><item><title>RE: Creating a Central device</title><link>https://devzone.nordicsemi.com/thread/86268?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 10:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f364f73-d184-43e0-913f-e0031bf47d7e</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;Hung Bui, thanks for you help, I can know do my scan in the central example.
Now I have a 128-UUID from a costum service: 0x0000000000001000800000805F9B34FB;&lt;/p&gt;
&lt;p&gt;According to the example of central uart, they use a 16-UUID but when I change the uuid in the reference .uiid of ble_uuid_t. I have a problem. I cheked it out in other questions and the said i should use
ble_uuid128_t const * 	p_vs_uuid
and sd_ble_uuid_vs_add();
I did,
ble_uuid128_t const * 	p_vs_uuid = 0x0000000000001000800000805F9B34FB;
sd_ble_uuid_vs_add(p_vs_uuid, uint8_t *quatServ);&lt;/p&gt;
&lt;p&gt;but I have problems with the uuid: integer constant is too large for its type.&lt;/p&gt;
&lt;p&gt;I counted and it is the 16 bytes.&lt;/p&gt;
&lt;p&gt;Where am I wrong?&lt;/p&gt;
&lt;p&gt;Regards,
David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a Central device</title><link>https://devzone.nordicsemi.com/thread/86267?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 14:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef14ea7b-3c73-4628-a25f-5d3cb6a89018</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you tried to follow the Getting started guide ?
If you flash the precompiled hex file, would it work ?&lt;/p&gt;
&lt;p&gt;Could you provide your hex file ? Which exactly Softdevice did you flash ?&lt;/p&gt;
&lt;p&gt;I would suggest you to compile and test using GCC and make first, before you test on Eclipse. &amp;quot;No source available for&amp;quot; suggest the the project was not configure properly in Eclipse.&lt;/p&gt;
&lt;p&gt;Please try to test with normal ble_peripheral first , it&amp;#39;s easier to verify if the board work properly with peripheral code. The device should advertise after programming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a Central device</title><link>https://devzone.nordicsemi.com/thread/86266?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 09:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d878b19-ffb0-43dc-b812-eb87084e63ca</guid><dc:creator>Eliot</dc:creator><description>&lt;p&gt;Hallo Hung,&lt;/p&gt;
&lt;p&gt;My Softdevice is already flashed and im still not having a solution, I debugged my promgram and i got this&lt;/p&gt;
&lt;p&gt;No source avaiable for &amp;quot;SVC_Handler() at 0x2ff2&amp;quot;
and
No source avaiable for &amp;quot; () at 0xffffff9&amp;quot;&lt;/p&gt;
&lt;p&gt;And this happend when the  next code is // Initialize the SoftDevice handler module.
SOFTDEVICE_HANDLER_INIT(&amp;amp;clock_lf_cfg, NULL);&lt;/p&gt;
&lt;p&gt;Regards,
David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a Central device</title><link>https://devzone.nordicsemi.com/thread/86265?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 11:35:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aeaad7e-4514-4599-977c-7579c9e9f864</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Have you made sure you flashed the softdevice ?&lt;/p&gt;
&lt;p&gt;Please try to follow the getting started guide and test with some peripheral example first, before you test with the central. Please start &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/nrf51_getting_started.html?cp=4_0_0_1"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>