removed getUplinkPort
removed getDownlinkPort
remove unused lines