<?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>Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13462/cannot-discover-characteristic</link><description>Hi all, 
 I am new to nordic. I have two pca10031 dongle. First of all I had programmed example codes (one as peripheral and other one as central) and tested, it works fine. But as per my end requirements, I have to scan and connect to iphone. So, i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2016 12:44:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13462/cannot-discover-characteristic" /><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51374?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 12:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a7e2b8-cb02-4c94-a25f-58839a934d4d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Basically you check the header.evt_id like this: switch (p_ble_evt-&amp;gt;header.evt_id). The events are then defined in the different headerfiles.&lt;br /&gt;
e.g:&lt;br /&gt;
BLE_GAP_EVTS in ble_gap.h using the BLE_GAP_EVT_BASE,&lt;br /&gt;
BLE_GATTC_EVTS in ble_gattc.h using the BLE_GATTC_EVT_BASE and&lt;br /&gt;
BLE_GATTS_EVTS in ble_gatts.h using the BLE_GATTS_EVT_BASE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51373?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 07:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5ab42a-c91c-4487-957a-81198267c8cb</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;I have another question.
Let me describe the whole situation.
First of all peripheral starts advertising.
-Central starts scanning.
-Performs the connection with peripheral.
-Central discovers the service and characteristic
-enable the notification on the characteristic
-As peripheral detects that the notification is enabled by central, it sends the data (e.g. hello).
-Central detects the event BLE_GATTC_EVT_HVX in function void client_handling_ble_evt_handler(ble_evt_t * p_ble_evt).
-Further parcing the ble_evt_t * p_ble_evt data, i found the testing data (hello string) was here.&lt;/p&gt;
&lt;p&gt;p_ble_evt-&amp;gt;evt.gattc_evt.params.read_rsp.data.&lt;/p&gt;
&lt;p&gt;We can see that there are multiple objects of p_ble_evt, like common_evt, gap_evt, l2cap_evt, gattc_evt, gatts_evt&lt;/p&gt;
&lt;p&gt;So my question is, how i come to know that which particular object i need to search for.
In simple words, how i can know that for what reason this function is called?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51372?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 07:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ea31b3b-0f3e-4cd8-b959-dd9f63ecf1d0</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;@shibshab: Yes it is possible&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51371?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 07:23:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8014eda2-baa7-4a3d-aa5d-f8985b7b5184</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;Thank you for replying. Issue is resolved. Actual problem was at iPhone side.
UUID of service and characteristic was causing the problem.
UUID of service : E20A39F4-73F5-4BC4-A12F-17D1AD07A961
UUID of characteristic : 08590F7E-DB05-467E-8757-72F6FAEB13D4&lt;/p&gt;
&lt;p&gt;after changing the UUID of characteristic to E20A39F5-73F5-4BC4-A12F-17D1AD07A961, everything works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51370?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 06:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90c8b828-db3b-40e8-9720-4dbbaafae838</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Is it possible to use iOS as a peripheral? (I&amp;#39;m just curious)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot discover characteristic</title><link>https://devzone.nordicsemi.com/thread/51369?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 19:32:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407449a4-5ba4-4e4c-8ace-f8285e6db3e8</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Are you using a custom UUID? if that is the case you should register this so you can get the UUID type when discovering the service.  Can you also try to connect to the iPhone and do a service discovery using the master control panel for pc to check that the services and characteristics is there and that you are trying to discover the right UUID&amp;#39;s?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>