This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Gatt max size and number of connection count to change in Relay_hrs example

Hai ,

  In my application i should connect parallel connection and peripheral and central part connections simultaneously.

for this i developed from hrs_relay example .in this example by default NRF_SDH_BLE_CENTRAL_LINK_COUNT  has given 2 and NRF_SDH_BLE_GATT_MAX_MTU_SIZE is 23 .

i need to change both i have to more central connection at same time,

so i change values to increase after changing nrf gets resetting due to ram memory size issue ,its doesn't showing any ram size to increase 

how can i increase this ?

when i tried with ble_app_blinky_example when i incresed the gatt_size and central count showed the ram size to increase..

how to change here??

Parents Reply
  • Hi Sowmiya, 

    The multilink central example have the capability to connect to NRF_SDH_BLE_CENTRAL_LINK_COUNT(8) peripherals. I do not think we have any example to show the multilink peripheral, sTo be able to compile your project to have multiple peripheral instances, you should change NRF_SDH_BLE_PERIPHERAL_LINK_COUNT in sdk_config.h file to how many concurrent instances of peripheral you want to have. And in the BLE_GAP_EVT_CONNECTED event of the peripheral, you should start connectable advertising again so that it will be able to connect again.

Children
No Data
Related