File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ static struct ble_gap_event_listener ble_eatt_listener;
77
77
static struct ble_npl_event g_read_sup_cl_feat_ev ;
78
78
79
79
static void ble_eatt_setup_cb (struct ble_npl_event * ev );
80
- static void ble_eatt_start (uint16_t conn_handle );
81
80
82
81
static struct ble_eatt *
83
82
ble_eatt_find_not_busy (uint16_t conn_handle )
@@ -376,7 +375,6 @@ ble_gatt_eatt_write_cl_cb(uint16_t conn_handle,
376
375
return 0 ;
377
376
}
378
377
379
- ble_eatt_start (conn_handle );
380
378
381
379
return 0 ;
382
380
}
@@ -572,33 +570,6 @@ ble_eatt_connect(uint16_t conn_handle, uint8_t chan_num)
572
570
return 0 ;
573
571
}
574
572
575
- static void
576
- ble_eatt_start (uint16_t conn_handle )
577
- {
578
- struct ble_gap_conn_desc desc ;
579
- struct ble_eatt * eatt ;
580
- int rc ;
581
-
582
- rc = ble_gap_conn_find (conn_handle , & desc );
583
- assert (rc == 0 );
584
- if (desc .role != BLE_GAP_ROLE_MASTER ) {
585
- /* Let master to create ecoc.
586
- * TODO: Slave could setup after some timeout
587
- */
588
- return ;
589
- }
590
-
591
- eatt = ble_eatt_alloc ();
592
- if (!eatt ) {
593
- return ;
594
- }
595
-
596
- eatt -> conn_handle = conn_handle ;
597
-
598
- /* Setup EATT */
599
- ble_npl_eventq_put (ble_hs_evq_get (), & eatt -> setup_ev );
600
- }
601
-
602
573
void
603
574
ble_eatt_init (ble_eatt_att_rx_fn att_rx_cb )
604
575
{
You can’t perform that action at this time.
0 commit comments