Before communication, check if optical fiber is correctly attached