NXT.USBSourceFunctions to choose and connect to NXT bricks connected through USB. So far, it works on Linux (users of other platforms, your help is welcome).
Handle to a USB mindstorm device.
connect dev connect through USB to the brick device dev (given by Mindstorm.NXT.USB.bricks). See the section "How to connect the brick through USB" for more information.