<?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>Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54968/android-studio-peripherals-oncharacteristicwriterequest</link><description>Hello 
 I am writing a peripheral emulator application on android. My peripherals include 2 services and 4 characteristics. I tested my application with nRF Connect on the computer, it didn&amp;#39;t get any errors. My central device, works very well with a peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 30 Nov 2019 09:23:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54968/android-studio-peripherals-oncharacteristicwriterequest" /><item><title>RE: Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/thread/222883?ContentTypeID=1</link><pubDate>Sat, 30 Nov 2019 09:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d711f3ff-d4f5-4db5-ad0c-f7681837fed4</guid><dc:creator>HuanVH</dc:creator><description>&lt;p&gt;&lt;span&gt;sd_ble_gattc_write() return success&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for helping&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/thread/222766?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 11:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03b81e2-070a-4a38-b062-76631a010da4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Look at how this is done in the central examples in the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Look for the discovery complete&amp;nbsp; event inside the discovery handler, and ensure that the specific characteristic is discovered before you use it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So what did sd_ble_gattc_write() return?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/thread/222677?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 01:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee3e8cd-daed-47dd-aba8-5660b01f19df</guid><dc:creator>HuanVH</dc:creator><description>&lt;p&gt;I send the data right away at the db_disc handler function, after running the ble_smk_on_db_disc_evt function. I think that&amp;#39;s the problem, I put a breakpoint at the send function, the conn_handle are all available.&lt;br /&gt;This only happens with peripherals running on Android, with peripherals running on SoCs do not have this problem. I am forced to use 1 app_timer to send this data.&lt;br /&gt;So is there a best way to identify all services and characteristics that have been discovered?&lt;br /&gt;Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/thread/222656?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 16:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe492d66-9cff-411c-89af-ac2786b26a59</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So your peripheral works when you test it against nRF Connect, but not on the central.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you see what your&amp;nbsp;ble_smk_info_write() function returns? What does&amp;nbsp;sd_ble_gattc_write() return?&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: Android studio Peripherals onCharacteristicWriteRequest</title><link>https://devzone.nordicsemi.com/thread/222558?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 09:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0171169a-d12e-45eb-85db-e68d20e0ac9c</guid><dc:creator>HuanVH</dc:creator><description>&lt;p&gt;I found the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>