Added devices manager and more robust (but slow) device negotiation protocol