<?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>Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50199/image-transfer-demo-ble_srv_is_notification_enabled-flag-not-set</link><description>Hello. I connected the Image transfer service (running on a nrf52840) to another nrf52840 running a modified BLE_NUS_C service. 
 However, a BLE packet won&amp;#39;t be send out, because the function ble_its_img_info_send(&amp;amp;m_its, &amp;amp;image_info) (lined below) will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2019 13:29:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50199/image-transfer-demo-ble_srv_is_notification_enabled-flag-not-set" /><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200547?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 13:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65d9d020-6d8b-4c7a-9b05-d4a4d16e6c0d</guid><dc:creator>AlexW</dc:creator><description>&lt;p&gt;Thanks. It works.&lt;br /&gt;&lt;br /&gt;The thing acctually was that the image_transfer service has a third &amp;quot;image_info_send&amp;quot; characteristic which is obviously not implemented in the BLE_NUS service. The RX and TX Characteristics of the BLE_ITS and BLE_NUS Service have the same UUID.&lt;br /&gt;That is why part of my transfer worked, but the image size info couldn&amp;#39;t be sent.&lt;br /&gt;&lt;br /&gt;And yes, I modified the image transfer demo already in a way that I do not need all those controlling messages.&lt;br /&gt;&lt;br /&gt;THANK YOU!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200511?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 12:09:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17326021-6deb-4d65-a8e9-30102c650d3a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Use nRF Connect for Desktop to see what services and Characteristic UUIDs you need to use. If I remember correctly, on the mobile application you need to select whether to take a photo or to send a stream, as well as selecting the picture quality. This means that there probably is a characteristic that you need to use to send messages to the nRF telling it to either send a picture or stream, and select the quality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200482?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 11:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6556ea6a-306a-4505-9e47-7bad2076f795</guid><dc:creator>AlexW</dc:creator><description>&lt;p&gt;OK, thanks.&lt;br /&gt;&lt;br /&gt;Yes, I have two nrf52840.&lt;br /&gt;One is running the Image tragsfer demo (slightly modified).&lt;br /&gt;The other one is running the BLE NUS central example.&lt;br /&gt;&lt;br /&gt;I established a connection between both boards already by adapting the target BASE_UUID on the central board.&amp;nbsp;&lt;br /&gt;So, now I will try to modify the ble_nus_c service in a way that it connects to the ble_its service on the peripheral board.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Finally, I want to transfer the image stream from the image_transfer_demo board to the other board, yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200453?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 09:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b0a6b3-06e8-49d1-826c-e37b0919d16a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;No. The ble_its service and ble_nus service has different IDs (called UUID), so they do not work together.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what you are trying to do, but if you want to transfer data from one device (peripheral) to another (central), I suggest that you look into the ble_app_uart and ble_app_uart_c examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to transfer data through the ble_its service, you need to create the ble_its_c (c for central). It will probably look a lot like the ble_nus_c, but with a different UUID for the service and the characteristics.&lt;/p&gt;
&lt;p&gt;The ble_nus service has two characteristics, while I bet the ble_its service only has one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have 2 DKs, I suggest that you program one with the ble_its example, and use the other to connect to it with &lt;a href="https://www.nordicsemi.com/?sc_itemid=%7BB935528E-8BFA-42D9-8BB5-83E2A5E1FF5C%7D" rel="noopener noreferrer" target="_blank"&gt;nRF Connect for Desktop&lt;/a&gt;. This way, you can see what services and characteristics the device has. If the UUID is not shown automatically (not a familiar service) hovering the mouse over the name of the service will tell you the UUID.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200422?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 08:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a736fe2-7302-499b-8821-2c0f1ad4b71c</guid><dc:creator>AlexW</dc:creator><description>&lt;p&gt;Ahh ok, thanks.&lt;br /&gt;I wasn&amp;#39;t really into BLE services yet....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So that means, currently I have the ble_nus service on my BLE central board&lt;br /&gt;and the ble_its service on my BLE peripheral board.&lt;br /&gt;Do I have to implement the ble_its service on my central board instead of the ble_nus service? Or is it possible that the TX_characteristic of the ble_nus service receives the notifications of the ble_its service? And thus, I need to configure that the ble_its notifies the ble_nus TX_characteristic?&lt;br /&gt;&lt;br /&gt;What will be the more useful option?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200313?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 14:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b8b921-c42d-4608-81ec-a98b63d27ddd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I recommend you to read through this tutorial, if you are new to BLE centrals:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Image Transfer Demo: ble_srv_is_notification_enabled flag not set</title><link>https://devzone.nordicsemi.com/thread/200312?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 14:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d8e5fbd-f306-473c-a343-19345c21553f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The image transfer demo has something called a service, with the image transfer demo (its) that it uses to send data through notifications. However, a peripheral can&amp;#39;t send notifications unless the central has enabled notifications on that service.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the ble_app_uart_c example, which uses the ble_nus_c service is actually a service that handles the ble_nus service which is used in the ble_app_uart example. If you look in the main.c file and ble_nus_c.c file in the ble_app_uart_c example, you can see how it enables notifications on the ble_nus TX characteristic. You have to adapt this to enable notifications on the hts characteristic instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>