<?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>Nrf52840 not able to send data from central device to App.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94781/nrf52840-not-able-to-send-data-from-central-device-to-app</link><description>Hi Everyone, 
 I am using nrf52840 in my project which is used as a central device. I have my app through which I can send data to the central device. The device is also able to receive the data and process it. Now when I want to send back the data to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2022 11:53:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94781/nrf52840-not-able-to-send-data-from-central-device-to-app" /><item><title>RE: Nrf52840 not able to send data from central device to App.</title><link>https://devzone.nordicsemi.com/thread/400358?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 11:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41a7b3bd-c7ab-409f-bb4e-4e99884face3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you sure that it is the&amp;nbsp;&lt;span&gt;ble_aqrs_c_setting_send() function is what is trigging this hardfault specifically? I am assuming there is something with your custom service on the central side that is not set up correctly, but it&amp;#39;s hard to tell by looking at your code what exactly it is. Are you certain the device is able to connect to and discover the correct service from the peripheral side? Do you see the data sent from the peripheral received correctly to the central application?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51016/custom-service-setup-in-central"&gt; this reply &lt;/a&gt;by my colleague Susheel here where he explains how to modify I.E. the ble_nus_c.c file to implement a custom central service to recognize a custom UUID and do discovery correctly, etc.&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></channel></rss>