How to detect UU cable connnected programmatically