<?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>S120 role change dynamic RAM allocation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10101/s120-role-change-dynamic-ram-allocation</link><description>Hi guys, I have an application, where I need to change the role of the S120 softdevice on demand. So, the application boots into central role, reads a couple of BLE sensors and on demand from another CPU, it disconnects from all sensors, disables softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2015 13:20:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10101/s120-role-change-dynamic-ram-allocation" /><item><title>RE: S120 role change dynamic RAM allocation</title><link>https://devzone.nordicsemi.com/thread/37465?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2015 13:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c69df50-69ff-4812-a80d-085bdc5d2944</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Ok. The softdevice will release all used memory when disabled and allocate memory again when you enable it in the new mode. So the only way to save memory for the softdevice is to use the smallest possible attribute table size. The rest of the memory (device manager and attribure handles) is stored by the application, so this is something you have to free there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S120 role change dynamic RAM allocation</title><link>https://devzone.nordicsemi.com/thread/37464?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2015 12:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ac89317-4b59-46d9-b8be-81c0fee57d2b</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;I am using NUS service in peripheral mode, which uses GATT server, so there is not much I can do about that. Also, I&amp;#39;m limited to using BL600 modules from Laird, which have only 16kB version of IC available. Therefore it&amp;#39;s essential to get RAM consumption down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S120 role change dynamic RAM allocation</title><link>https://devzone.nordicsemi.com/thread/37463?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2015 12:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f32c45-4207-4196-902e-68527b524e9d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Bond info and device manager data is the same thing and is handled by the application, so you can modify this. Service data is also handled by the application. However I assume that you are adding a gatt server in peripheral mode, which will use more memory? Anyway have you considered using the 32KB ram variant?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>