/* Tells you if there is an active central GAP procedure (connect or discover).  */
int ble_gap_master_in_progress(void)
/* Tells you if there is an active central GAP procedure (connect or discover).  */
int ble_gap_master_in_progress(void)
{
    return ble_gap_master.op != BLE_GAP_OP_NULL;
}