<?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>After I change the nus uuid, the smartphone cannot receive data.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65825/after-i-change-the-nus-uuid-the-smartphone-cannot-receive-data</link><description>Hi, 
 I am using 
 
 nRF52840 
 SDK 15.3.0 
 Keil IDE 
 The soft device is S140 
 JLinkRTTViewer for debug 
 
 Question 1) 
 
 I program based on peripheral\app_uart 
 
 1) Connection with nRFConnect is successful 
 Nordic UART service is displayed 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2020 12:18:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65825/after-i-change-the-nus-uuid-the-smartphone-cannot-receive-data" /><item><title>RE: After I change the nus uuid, the smartphone cannot receive data.</title><link>https://devzone.nordicsemi.com/thread/269164?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a04c3764-28fc-4374-a383-af434fc99367</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]is it correct ?[/quote]
&lt;p&gt;That depends, did you change the nus UUID of only the TX service?&lt;br /&gt;If you change the UUID of only one service, or if you did not change it accordingly in the central, then this will not work. I am guessing that the ble_nus_data_send function fails because the central did not recognize the new uuid and therefore did not enable notifications on the characteristic. When the nRF52840 then went to sent a notification, it will generate an error.&lt;br /&gt;Could you please elaborate on exactly where you changed the UUID, and why you made the change?&lt;br /&gt;&lt;br /&gt;Could you also verify that you have DEBUG defined in your preprocessor defines?&lt;br /&gt;It should look like the included image:&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3311dc1f96f54246857898f6b3b46515/enabling_5F00_debug_5F00_SES.PNG" /&gt;&lt;br /&gt;With DEBUG defined in the preprocessor defines the generated error and which function returned the error will be written to the log.&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>