<?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>send data fail using ble_nus_data_send</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40534/send-data-fail-using-ble_nus_data_send</link><description>Hi, 
 I am using nus service to send and receive data between Android App. 
 After connection established, App send some data to my module and ble_evt_handler get that data well. 
 And to send reply message to App, I call the ble_nus_data_send directly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Nov 2018 15:02:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40534/send-data-fail-using-ble_nus_data_send" /><item><title>RE: send data fail using ble_nus_data_send</title><link>https://devzone.nordicsemi.com/thread/157563?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 15:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd39b47a-5bba-48fb-a24c-9ff68177b758</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;It was my mistake.&lt;/p&gt;
&lt;p&gt;I did separate nus/uart handler to another file.&lt;/p&gt;
&lt;p&gt;But&amp;nbsp;BLE_NUS_DEF(m_nus, NRF_SDH_BLE_TOTAL_LINK_COUNT); was included in both file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data fail using ble_nus_data_send</title><link>https://devzone.nordicsemi.com/thread/157556?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 14:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91a3ba97-3cc5-4767-85b7-36188ca5c05d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you passing&amp;nbsp;m_conn_handle to&amp;nbsp;ble_nus_data_send(), and what is the value does the connection handle have when you get the error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data fail using ble_nus_data_send</title><link>https://devzone.nordicsemi.com/thread/157541?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 14:16:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d18f2b-8337-4304-9d14-d9ff2d45988b</guid><dc:creator>paul0208</dc:creator><description>&lt;p&gt;I am using &amp;quot;nRF Toolbox for BLE&amp;quot; APP from you&lt;/p&gt;
&lt;p&gt;My source is from ble_app_uart example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data fail using bsp_event_handler</title><link>https://devzone.nordicsemi.com/thread/157511?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 13:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a208328-6b4d-4a28-a055-ebf709fd809a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error 8&amp;nbsp;corresponds to&amp;nbsp;NRF_ERROR_INVALID_STATE and will be returned if one of the following conditions are true:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- Invalid Connection State&lt;br /&gt;&amp;nbsp;- Notifications and/or indications not enabled in the CCCD&lt;br /&gt;&amp;nbsp;- An ATT_MTU exchange is ongoing&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;verify that the&amp;nbsp;android app enabling notifications for this characteristic.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>