Hi. I'm using PCA10028, SDK10.0.0, S130.
About "ble_app_multilink_central" for the reference. This code shows me below sequence.
Scan->connect request->get connection event->scan again......
I want to send "connection request" at the same time as below.
Scan->connect request->get connection EVT
->connect request->get connection EVT
->connect request->get connection EVT
So I made my source code as below.
for(int i=0;i<adv_data_search_num;i++)
{
ble_evt_t * p_ble_evt;
memcpy(p_ble_evt->evt.gap_evt.params.adv_report.peer_addr.addr, adv_data_search_g.adv_tag[i].PHY_peer_address, 6);
p_ble_evt->evt.gap_evt.params.adv_report.peer_addr.addr_type=adv_data_search_g.adv_tag[i].addr_type;
err_code = sd_ble_gap_connect(&p_ble_evt->evt.gap_evt.params.adv_report.peer_addr,
&m_scan_params,
&m_connection_param);
APP_ERROR_CHECK(err_code);
}
Unfortunatly system goes to abnormal status, when applying this code.
Is there any solution for multi connection requests at the same time?
I need your help.