<?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>Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/582/ble-stack-server-receiverlink-loss</link><description>But in button event handler. 
 i want data to read from eeprom through i2c bus. and send it 
 through bluetooth stack for every press of buuton 0. 
 but in master control panel ,its says bluetooth connection loss ,once i press button 0. 
 Kindly tell</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Oct 2013 08:07:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/582/ble-stack-server-receiverlink-loss" /><item><title>RE: Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/thread/3025?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2013 08:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f142245d-94da-41bb-839e-cbc1472a0f8d</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Once i enable sd_devce api . it is working now.&lt;/p&gt;
&lt;p&gt;and can you see my thread and reply me&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/pheripheral-accessible-while-bluetooth-stack-s-enabled" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/pheripheral-accessible-while-bluetooth-stack-s-enabled&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/thread/3024?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2013 07:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cc715b2-7d01-4af6-a1c2-e52145ff3c6a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Balaji,&lt;/p&gt;
&lt;p&gt;Could you send us your project files ?&lt;/p&gt;
&lt;p&gt;It should be noted that, when you use twi_hw_master_SD_4_4.c, the softdevice must be enabled before otherwise the sd_ppi_* calls will have no effect and may cause errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/thread/3023?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 06:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aa4adf4-16fd-4796-b8a8-61178112301a</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Actually my device connection to eeprom is broken. so i think it is not writing data . sorry&lt;/p&gt;
&lt;p&gt;for wrong reply. but now it is writing data to eeprom  and reading fine. (i saw by keeping break point).&lt;/p&gt;
&lt;p&gt;but once i flash code ,and press the button 0 ,it is not giving advertisement ,so i cant send the data&lt;/p&gt;
&lt;p&gt;over bluetooth stack. can you say why advertisement is not coming when i enable soft device api.&lt;/p&gt;
&lt;p&gt;(But i am getting advertisement when i use directly ppi address register)&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/thread/3022?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2013 13:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:902d965c-c9f2-4229-a0cc-27d5da88639e</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi  Hung Bui,&lt;/p&gt;
&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;I am using twi_hw_master.c .&lt;/p&gt;
&lt;p&gt;once i used your code , write operation to eeprom is not working fine.&lt;/p&gt;
&lt;p&gt;can you give some more details.&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble stack server receiverlink loss</title><link>https://devzone.nordicsemi.com/thread/3021?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2013 10:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa5de73-8d20-4ff1-8679-d70ed8a8ea2c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you let me know if you use hardware twi or software twi ?
If you use hardware twi (twi_hw_master.c) you would have to modify the code to avoid directly access PPI when the stack is enabled. Otherwise you will receive a hardfault.&lt;/p&gt;
&lt;p&gt;You would need to use sd_ppi_* api call instead of direct access to the NRF_PPI-&amp;gt;* registers.&lt;/p&gt;
&lt;p&gt;I attached here a modified version of the twi_hw_master  (SDK4.4) to use when the softdevice is enabled.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/twi_5F00_hw_5F00_master_5F00_SD_5F00_4_5F00_4.c"&gt;twi_hw_master_SD_4_4.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>