<?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>connect with central to peripheral with MAC ID at run time connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62028/connect-with-central-to-peripheral-with-mac-id-at-run-time-connection</link><description>hai , 
 In my application , my nrf52840 device in peripheral mode to connect with central (ESP32). 
 then if i get a mac id from central ,i need to connect over with central role with MAC ID to another peripheral(NRF DEVICE). 
 
 here, 
 in my scenario</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jun 2020 06:18:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62028/connect-with-central-to-peripheral-with-mac-id-at-run-time-connection" /><item><title>RE: connect with central to peripheral with MAC ID at run time connection</title><link>https://devzone.nordicsemi.com/thread/253921?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 06:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0198f79a-0c42-4d76-90ad-57ad56e239ab</guid><dc:creator>sowmiya</dc:creator><description>&lt;p&gt;hai ,&lt;/p&gt;
&lt;p&gt;missed conn_handle name in event handler ,&lt;/p&gt;
&lt;p&gt;now i am&amp;nbsp; getting notification from periperal (in relay ) to esp32 .&lt;/p&gt;
&lt;p&gt;i need to send data of more then 60&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but sdk config gatt max size is 23 if i changed to 247 or 100&amp;nbsp;&lt;/p&gt;
&lt;p&gt;when i am running the program after changing this gets resetting due to ram size&amp;nbsp;&lt;/p&gt;
&lt;p&gt;but its not showing to increase the ram size from old size to new ram size&lt;/p&gt;
&lt;p&gt;directly its getting reset .&lt;/p&gt;
&lt;p&gt;how to get this ??could you explain??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect with central to peripheral with MAC ID at run time connection</title><link>https://devzone.nordicsemi.com/thread/253722?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 09:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20e30886-1815-4c7a-a408-330edfca54fb</guid><dc:creator>sowmiya</dc:creator><description>&lt;p&gt;hai ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;in relay example ,&lt;/p&gt;
&lt;p&gt;i added ble_lbs and ble_lbs_c service file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i am able to connect both peripheral and central connection simultaneously.&lt;/p&gt;
&lt;p&gt;i need to send a notification data&amp;nbsp; from&amp;nbsp; relay (peripheral) to esp32 (central).&lt;/p&gt;
&lt;p&gt;i got success return from nrf side (peripheral) but in esp32 i am not getting any data from notification.&lt;/p&gt;
&lt;p&gt;added lbs init function in services init .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void services_init(void)
{
ret_code_t err_code;
ble_hrs_init_t hrs_init;
ble_rscs_init_t rscs_init;
nrf_ble_qwr_init_t qwr_init = {0};
ble_lbs_init_t init = {0};
uint8_t body_sensor_location;

// Initialize Queued Write module instances.
qwr_init.error_handler = nrf_qwr_error_handler;

for (uint32_t i = 0; i &amp;lt; NRF_SDH_BLE_TOTAL_LINK_COUNT; i++)
{
err_code = nrf_ble_qwr_init(&amp;amp;m_qwr[i], &amp;amp;qwr_init);
APP_ERROR_CHECK(err_code);
}


// Initialize LBS.
init.led_write_handler = led_write_handler;

err_code = ble_lbs_init(&amp;amp;m_lbs, &amp;amp;init);
APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i have worked this notification part in ble_app-blinky example for me its working fine .&lt;/p&gt;
&lt;p&gt;but when i added same ble_lbs service in relay example its getting no response..&lt;/p&gt;
&lt;p&gt;whats the issue here ?? is there need to change anything for the notification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect with central to peripheral with MAC ID at run time connection</title><link>https://devzone.nordicsemi.com/thread/252869?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 23:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c21ebde6-0795-4a86-b4df-ba239d1275c7</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;From what I understand, you want to connect your nRF52840 device to the ESP32 where the nRF52840 acts as the peripheral. Then after connected to the ESP32, you want the nRF52840 to start scanning again and connect to another nRF Device but then the nRF52840 should act as the central?&lt;/p&gt;
&lt;p&gt;If my statement above is correct, I suggest that you take a look at our relay example. The relay example should provide pretty much the exact behaviour that you want to acheive.&lt;br /&gt;Relay example: &lt;br /&gt;The application combines a collector part on one end and a sensor part on the other to show how the SoftDevice can be used to make a device simultaneously function as central and peripheral device. The application uses the Peer Manager module, which allows for encryption of both central and peripheral connections simultaneously.&lt;/p&gt;
&lt;p&gt;You can just add the scan filter for the mac address for the device you want to connect to.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>