Hai, I want to connect central to a single peripheral and after certain operations, I want to connect central to more peripherals
- I tried with,
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 1
and after some operations, I had changed to
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 8
but my device (central) connecting to a single peripheral only not with many periphral
2. even i tried with
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 8
BLE_LBS_C_ARRAY_DEF(m_lbs_c, NRF_SDH_BLE_CENTRAL_LINK_COUNT);
BLE_DB_DISCOVERY_ARRAY_DEF(m_db_disc, NRF_SDH_BLE_CENTRAL_LINK_COUNT);
NRF_BLE_SCAN_DEF(m_scan);
NRF_BLE_GQ_DEF(m_ble_gatt_queue, NRF_SDH_BLE_CENTRAL_LINK_COUNT,NRF_BLE_GQ_QUEUE_SIZE);
and after some operations, I had changed to
#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 8
BLE_LBS_C_ARRAY_DEF(m_lbs_c, NRF_SDH_BLE_CENTRAL_LINK_COUNT);
BLE_DB_DISCOVERY_ARRAY_DEF(m_db_disc, NRF_SDH_BLE_CENTRAL_LINK_COUNT);
NRF_BLE_SCAN_DEF(m_scan);
NRF_BLE_GQ_DEF(m_ble_gatt_queue, NRF_SDH_BLE_CENTRAL_LINK_COUNT,NRF_BLE_GQ_QUEUE_SIZE);
But i getting error like, " Initializer element is not a constant"
Kindly help me, thank you