Port number emulation for wireless Universal Serial Bus (USB) connections
is provided. Virtual USB port numbers are emulated and associated with
external devices that are wirelessly connected to a host device. The
associations are maintained in a data structure. When a wireless external
device connects with the host device after a period of disconnection, the
emulated port number associated with the wireless external device is
identified. The virtual port number is provided to a software component
in the host device so that the external device can resume interaction
with software components in the host device across enumerations. In one
example implementation, the virtual USB port numbers are provided to a
plug and play manager, which handles the wireless USB devices in a manner
similar to wired USB devices.