<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>ram resource requirements</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88729/ram-resource-requirements</link><description>dear all， 
 I want to know how to estimate ram of softdevice use. 
 For example, as a central, how much ram will be required when adding a custom ble service, 
 and how much ram will be required when adding support for one more connection.</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 08 Jun 2022 13:05:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88729/ram-resource-requirements" /><item><title>RE: ram resource requirements</title><link>https://test-devzone.nordicsemi.com/thread/371420?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:05:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:007de293-375a-414d-abf8-01935304a74f</guid><dc:creator>user91830</dc:creator><description>&lt;p&gt;ok，i will try to test ,&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ram resource requirements</title><link>https://test-devzone.nordicsemi.com/thread/371408?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 12:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3988f613-c43c-496b-8e9f-0a7f50bebdf1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Delay 7,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s pretty much depends on the service and the characteristic.&amp;nbsp;&lt;br /&gt;The easiest way to estimate that is to actually test using our project. You will have a rough idea of how many bytes needed for a certain service/characteristic.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ram resource requirements</title><link>https://test-devzone.nordicsemi.com/thread/371385?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 11:49:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:285d9c60-19d2-4035-a261-b21c49e56bb1</guid><dc:creator>user91830</dc:creator><description>&lt;p&gt;&lt;span&gt;thanks your reply.it`s useful.but i want to&amp;nbsp;&lt;span&gt;&lt;strong&gt;estimate&lt;/strong&gt; the ram&amp;nbsp;&lt;strong&gt;before developing project&lt;/strong&gt;.when adding a device infomation services 、battery services or custom services&amp;nbsp;as a central.Is there any relevant experience parameters, such as how much ram will be required&amp;nbsp;by adding a nus.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Thanks again&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ram resource requirements</title><link>https://test-devzone.nordicsemi.com/thread/371367?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 11:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d63976-5184-4313-9920-24294bf39d2c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi delay_7,&lt;/p&gt;
&lt;p&gt;You can find out the RAM required for the softdevice by looking at the&amp;nbsp;p_app_ram_base that&amp;#39;s output from the&amp;nbsp;sd_ble_enable() function.&amp;nbsp;&lt;br /&gt;You can see this in the description of&amp;nbsp;sd_ble_enable() function:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt; * @param[in, out] p_app_ram_base Pointer to a variable containing the start address of the&amp;nbsp;application RAM region (APP_RAM_BASE). On return, this will&amp;nbsp;contain the minimum start address of the application RAM region &amp;nbsp;required by the SoftDevice for this configuration.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What you can do is to printout&amp;nbsp;p_app_ram_start after&amp;nbsp;sd_ble_enable() call in&amp;nbsp;nrf_sdh_ble_enable() in nrf_sdh_ble.c. Similar to what we do here when the ram on configured for the softdevice is not sufficient:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1654686318802v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>