<?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>The nrf51422 couldn&amp;#39;t able to discover the service.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52677/the-nrf51422-couldn-t-able-to-discover-the-service</link><description>Hi, 
 I am using nrf51422 dk board using sdk 12.3 and soft device s130 in keil5 ide. In our project i am using nrf51422 board as central and other controller Bluetooth board (cc256 moda which is BLE and classic Bluetooth) is used as peripheral. I am using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Oct 2019 08:37:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52677/the-nrf51422-couldn-t-able-to-discover-the-service" /><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/214073?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 08:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63cc1029-0ffd-43b0-84d1-78079d635478</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;For each call to&amp;nbsp;&lt;span&gt;sd_ble_uuid_vs_add() it will return a unique&amp;nbsp;uuid_type that you should re-use when calling&amp;nbsp;sd_ble_gatts_service_add() later to get the wanted UUID for the service.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/214033?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 05:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ef02ec1-a30d-4a71-a90d-f16d6d0e8580</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Kindly check the changes and replay..I am waiting for the replay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/213109?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 07:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:926d4626-2179-4426-a5e5-deddb06dcb5e</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have made changes in the program like this&lt;/p&gt;
&lt;pre class="_3rGPyS-T4z661D_PbTU36A allowTextSelection"&gt;uint32_t ble_nus_c_init(ble_nus_c_t * p_ble_nus_c, ble_nus_c_init_t * p_ble_nus_c_init)
{
    uint32_t      err_code;
    ble_uuid_t    uart_uuid;
    ble_uuid128_t nus_base_uuid = NUS_BASE_UUID;
	  ble_uuid128_t nus_tx_char_uuid = NUS_TX_CHARACTERISTIC_UUID;
    ble_uuid128_t nus_rx_char_uuid = NUS_RX_CHARACTERISTIC_UUID;
	ble_uuid128_t nus_tx1_char_uuid = NUS_TX1_CHARACTERISTIC_UUID;
  ble_uuid128_t nus_rx1_char_uuid = NUS_RX1_CHARACTERISTIC_UUID;
 
 
	 
   // printf(&amp;quot;INIT\r\n&amp;quot;);
    
    VERIFY_PARAM_NOT_NULL(p_ble_nus_c);
    VERIFY_PARAM_NOT_NULL(p_ble_nus_c_init);

    err_code = sd_ble_uuid_vs_add(&amp;amp;nus_base_uuid, &amp;amp;p_ble_nus_c-&amp;gt;uuid_type);
    VERIFY_SUCCESS(err_code);
	printf(&amp;quot;ddd===%d\r\n&amp;quot;,err_code);
	  printf(&amp;quot;ble_uuid\r\n&amp;quot;);
	if(err_code==NRF_SUCCESS)
	{
		
    printf(&amp;quot;sd_ble_uuid\r\n&amp;quot;);
	}
    uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
    uart_uuid.uuid = BLE_UUID_NUS_SERVICE;
	  err_code = sd_ble_uuid_vs_add(&amp;amp;nus_tx_char_uuid, &amp;amp;p_ble_nus_c-&amp;gt;uuid_type);
    VERIFY_SUCCESS(err_code);
    uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
    uart_uuid.uuid = BLE_UUID_NUS_TX_CHARACTERISTIC;
    err_code = sd_ble_uuid_vs_add(&amp;amp;nus_rx_char_uuid, &amp;amp;p_ble_nus_c-&amp;gt;uuid_type);
    VERIFY_SUCCESS(err_code);
    uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
    uart_uuid.uuid = BLE_UUID_NUS_RX_CHARACTERISTIC;&lt;br /&gt;    err_code = sd_ble_uuid_vs_add(&amp;amp;nus_tx1_char_uuid, &amp;amp;p_ble_nus_c-&amp;gt;uuid_type);
    VERIFY_SUCCESS(err_code);
    uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
    uart_uuid.uuid = BLE_UUID_NUS_TX1_CHARACTERISTIC;
    err_code = sd_ble_uuid_vs_add(&amp;amp;nus_rx1_char_uuid, &amp;amp;p_ble_nus_c-&amp;gt;uuid_type);
    VERIFY_SUCCESS(err_code);
    uart_uuid.type = p_ble_nus_c-&amp;gt;uuid_type;
    uart_uuid.uuid = BLE_UUID_NUS_RX1_CHARACTERISTIC;
    
    
	 //  printf(&amp;quot;%d\r\n&amp;quot;,uart_uuid.uuid);  
   //  printf(&amp;quot;%d\r\n&amp;quot;,uart_uuid.type);  
   
   
    p_ble_nus_c-&amp;gt;conn_handle           = BLE_CONN_HANDLE_INVALID;
    p_ble_nus_c-&amp;gt;evt_handler           = p_ble_nus_c_init-&amp;gt;evt_handler;
    p_ble_nus_c-&amp;gt;handles.nus_rx_handle = BLE_GATT_HANDLE_INVALID;
    p_ble_nus_c-&amp;gt;handles.nus_tx_handle = BLE_GATT_HANDLE_INVALID;

    return ble_db_discovery_evt_re&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and i have made vs_uuid_count=5 not with this function &lt;span&gt;&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT  as&lt;br /&gt;&lt;/span&gt;as this definition is not there in this sdk 12.3... still it is not connecting and &lt;br /&gt;it is not executing this function the errcode is not success for this function .&lt;br /&gt;can you help me &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/213098?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 06:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46212ee4-aced-401b-9c4d-797c56902dca</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;I am using nrf51422 as central in our project.&lt;/p&gt;
&lt;p&gt;Plz help me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/213097?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 06:38:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ed9b9f7-0e2a-469a-9ea0-95baec77f64e</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Sorry for the delay response.I am using SDK 12.3, pca10028 so in this sdk the&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT,&amp;nbsp;sd_ble_uuid_vs_add(),&amp;nbsp;These functions are not there .so can you tell me do i need to use 15.3 sdk (nrf52) or can i make change in this sdk 12.3(nrf51).plz help me&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212778?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 10:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e15f4eb-62db-41af-a926-4ced3e31413d</guid><dc:creator>awneil</dc:creator><description>[quote userid="83393" url="~/f/nordic-q-a/52677/the-nrf51422-couldn-t-able-to-discover-the-service/212711"]replay[/quote]
&lt;p&gt;* reply&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212752?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 09:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6842f46-c8c8-40a5-aa29-591a2e96c450</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Start with the ble app central and peripheral example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_blinky_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_blinky_c.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_blinky.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_blinky.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you have that up and running the next step is to add vendor specific UUID&amp;#39;s as shown in the example code already, e.g. look at&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT,&amp;nbsp;sd_ble_uuid_vs_add(), and&amp;nbsp;sd_ble_gatts_service_add(). A tip is that the&amp;nbsp;uuid_type from&amp;nbsp;&lt;span&gt;sd_ble_uuid_vs_add() is used as an input parameter to the&amp;nbsp;sd_ble_gatts_service_add(). This is for instance seen in&amp;nbsp;ble_lbs_init().&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212711?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 06:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c70f4eed-861b-49d8-8b6c-be709d3bd959</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Kindly clear my doubt..I am waiting for your replay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212381?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2019 11:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:759b721d-3c52-4987-b57f-42e386105aa6</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Thanks for replying.&lt;/p&gt;
&lt;p&gt;Yes i remember to add base uuid to this &lt;span&gt;sd_ble_uuid_vs_add&lt;/span&gt;&amp;nbsp; function.So here i have added base uuid. But i don&amp;#39;t know to how to use and where to use&amp;nbsp; all the 4 characteristics in the program . can you plz tell me how to enable the cccd .plz tell me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212380?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2019 10:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c4ffb1-f972-4beb-8120-a9ce9f7c12e9</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Did you remember to sd_ble_uuid_vs_add() those UUIDs before use?&lt;/p&gt;
&lt;p&gt;Not that using four or more vendor specific uuids requires adjusting the &lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/structble__common__enable__params__t.html#afba280d9af779389b8456889f6e16eb6"&gt;vs_uuid_count&lt;/a&gt; parameter field for sd_ble_enable().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212375?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2019 04:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87ec2d4-1665-4e2a-aac4-9d88d8dac9ba</guid><dc:creator>Namitha</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Yes i know that it wont support for new ble designs.since we have already started the development with this controller so we have started with this. can you tell me which one is the latest BLE designs so that which we will start development&amp;nbsp; which will support TI&amp;#39;s Bluetooth and also this has&amp;nbsp; to support 4 characteristics with different uuid .so plz suggest me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf51422 couldn't able to discover the service.</title><link>https://devzone.nordicsemi.com/thread/212272?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 12:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9b3144b-d8ce-4799-b2b4-75e867cc9f8a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You know that nRF51 is not recommended for new BLE designs?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42960/status-of-nrf51-products/169728#169728"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/42960/status-of-nrf51-products/169728#169728&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>