<?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>PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54879/pc-ble-driver-turns-on-notification</link><description>I&amp;#39;m using pc-ble-driver(C program) to get the data from other device, I can get character now, but I don&amp;#39;t know how to turn on the character&amp;#39;s notification like the start key in nrf connect ,is there any api to turn on it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Dec 2019 11:56:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54879/pc-ble-driver-turns-on-notification" /><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/224715?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 11:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:907556fe-773e-469d-ae10-40c3f7c3c8bc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see that you&amp;#39;ve set the characteristic properties according to the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.0.1%2Fstructble__gatt__char__props__t.html"&gt;ble_gatt_char_props_t&amp;nbsp;&lt;/a&gt;&lt;span&gt;structure in the SoftDevice specifications. Please make sure you&amp;#39;ve done that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/224623?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 08:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8939d80-8599-4be4-be86-7929b1062d68</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6567.546.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I think I had set it, because I added my character by looking this site&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/224445?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 13:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0caaf34-5a67-4de7-9b49-93db4bed6bcb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You have to set read/write attribute properties as well. Have you done that? It is described in the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;BLE characteristics tutorial&lt;/a&gt; I linked to earlier.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/224302?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 04:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bd06d89-fdbe-4189-88d9-97cc438215af</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/546.png" /&gt;&lt;/p&gt;
&lt;p&gt;I had set the code like this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223816?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 09:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb33a7f4-4e48-4984-b2ab-e0fd9d86eda4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you upload a code snippet showing how/where you set the CCCD in the first place?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223759?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 06:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b9ed6c7-f401-4415-bc33-99a33b30f2f8</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;I actually set these parameters in my dk ,but it still can&amp;#39;t change the cccd value, I&amp;#39;m wondering&amp;nbsp; that my cccd value in my pc-ble-driver is wrong, it is 0x2803 shows in the driver, but in nrf connect, it shows 0x2902, and the handlers of my character and cccd are same&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4670.aa.png" /&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223631?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 14:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2f3cdc-7c7f-4a77-9fd1-bedd745e8c85</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Error code 0x103 means that the write operation is not permitted. You&amp;#39;ll need to set all the permissions that are needed in order to write there. Please check that the following permissions are set:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;char_md.char_props.read = 1;
char_md.char_props.write = 1;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.read_perm);
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.write_perm);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can also check out this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;BLE characteristic guide&lt;/a&gt; for more info on how to set up custom characteristics.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223498?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 08:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8556c632-7b07-4b47-acf4-4ab783a807ab</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;My PC-BLE-DRIVER detect my cccd as 0x2803 ,but when I try to change the cccd value ,it returned this&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/bl.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223476?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 07:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a7b9e47-af48-4ac7-84f0-4253725bfae2</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I need more information in order to be able to help you. Can you upload the log file where you get this error? Does it have an error code?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/223357?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 13:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7261e82-9169-4206-bc17-f9ec09bb023d</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;It returns that no CCCD value find&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/222727?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 09:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e0cb167-8ba8-4196-985c-3fcc30c6f9e4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What error do you get if you try changing the CCCD value? Please provide some more information so I&amp;#39;ll be able to help you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/222502?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 05:09:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0993561a-c532-4fdb-92d5-200b3ae651fd</guid><dc:creator>Geass77</dc:creator><description>&lt;p&gt;I have enable the notification in central, but when I use the nrf-connect my cccd shows 2902, however ,in pc-ble driver it shows 2803, so I can&amp;#39;t change the cccd value in my pc-ble-driver, it returns error&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1541.TEST.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER turns on notification</title><link>https://devzone.nordicsemi.com/thread/222123?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 13:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258c386e-029c-4560-a56f-4a2bf2aca57b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll have to enable notifications on the central you&amp;#39;re connecting your device to in order to get the characteristics. You can check out the ble_nus_c_evt_handler and the notif_enable() function in our&amp;nbsp;&lt;strong&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fble_sdk_app_nus_c.html&amp;amp;cp=6_1_4_2_0_7"&gt;ble_app_uart_c&amp;nbsp;&lt;/a&gt;&lt;/strong&gt;example&amp;nbsp;to see how this is done.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>