<?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>Notification on wrong UUID characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72667/notification-on-wrong-uuid-characteristic</link><description>I have a service with 2 characteristics, TX and RX. On TX the notify is enabled, because TX should send a notification when something changes. I manage to change what is needed but in my Android APP the characteristic which has notification descriptor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 09:11:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72667/notification-on-wrong-uuid-characteristic" /><item><title>RE: Notification on wrong UUID characteristic</title><link>https://devzone.nordicsemi.com/thread/300609?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 09:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65ba61af-f905-4914-ba92-a4f0e64e859e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="Ivan Jug"]Thank you[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="Ivan Jug"]I was using nRF connect for Android. Not sure what it was before but now notifications seem to be working correctly. I guess that data that I tried with was the problem.&amp;nbsp;[/quote]
&lt;p&gt;Aha, I am glad to hear that you think you&amp;#39;ve located the root of the issue, and that the notifications now seem to be working correctly.&lt;/p&gt;
[quote user="Ivan Jug"]Now my problem is in my own Android app, but by confirming that everything works correctly with nRF app I guess I have to check a bit more about ble on android.[/quote]
&lt;p&gt;Alright - please do not hesitate to open a new ticket if you should encounter any issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notification on wrong UUID characteristic</title><link>https://devzone.nordicsemi.com/thread/300517?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 18:53:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def86487-b12e-4b56-82ed-391008c3304b</guid><dc:creator>Ivan Jug</dc:creator><description>&lt;p&gt;Thank you, I will check what you provided in details. I was using nRF connect for Android. Not sure what it was before but now notifications seem to be working correctly. I guess that data that I tried with was the problem.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now my problem is in my own Android app, but by confirming that everything works correctly with nRF app I guess I have to check a bit more about ble on android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notification on wrong UUID characteristic</title><link>https://devzone.nordicsemi.com/thread/299505?ContentTypeID=1</link><pubDate>Fri, 12 Mar 2021 14:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc6d1b2b-cd1c-43e8-8200-9828cd80ce04</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]On TX the notify is enabled, because TX should send a notification when something changes. I manage to change what is needed but in my Android APP the&amp;nbsp;characteristic which has notification descriptor seems&amp;nbsp;to be RX. Is the notification actually sent through RX characteristic or am I doing something wrong?[/quote]
&lt;p&gt;You will need the central to enable the TX&amp;#39;s notification CCCD, for the device to transmit using the TX characteristic.&lt;br /&gt;The RX and TX terms should be used from the perspective of the device that implements them. It is a common mistake to mix up which direction the TX or RX is intended for, it happens all the time.&lt;/p&gt;
[quote user=""]For now I am simply trying to send TEST to the nRF and this increases counter and I would like to return that value of counter as notification. Which example should I check about that?[/quote]
&lt;p&gt;The characteristic descriptions and usage sounds very similar to &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_nus_eval.html"&gt;the ble_app_uart examples from the SDK&lt;/a&gt;.&lt;br /&gt;The example demonstrates how to set up a &amp;#39;emulated UART over BLE&amp;#39; connection to another device, which transmits and receives data to/from another device using an RX and TX characteristic with notifications.&lt;br /&gt;I highly recommend that you take a look through that example, to see how this can be implemented.&amp;nbsp;&lt;/p&gt;
[quote user=""]I was trying through nRF connect but when notification is enabled it gets flooded and the nRF program crashes. It is probably stuck in loop of confirmation, there is confirmation for notification?&amp;nbsp;[/quote]
&lt;p&gt;Are you here talking about nRF Connect for Desktop application, or nRF Connect for smartphone application?&lt;br /&gt;Could you elaborate what you mean when you say that it is flooded, and the program crashes?&lt;br /&gt;What connection interval are you using for your connection?&lt;br /&gt;&lt;br /&gt;Notifications require only Link Layer acknowledgement, while Indications require application layer acknowledgement.&lt;br /&gt;Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71045/avoid-updating-attribute-value-on-indications-notifications/291823#291823"&gt;reply by my colleague, for a more detailed description of the differences between notifications and indications&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>