libpg2sdr
Host library for the ProStick Gen 2 SDR
Loading...
Searching...
No Matches
pg2sdr_usb_device Struct Reference

Representation of an unopened PG2SDR device on the USB bus. More...

#include <pg2sdr.h>

Data Fields

const char * serial
 
const char * ports
 
libusb_device * lu_device
 

Detailed Description

Representation of an unopened PG2SDR device on the USB bus.

This is allocated during device discovery by pg2sdr_discover_devices(), and freed by pg2sdr_free_device_list().

The contents of pg2sdr_usb_device should not be directly modified. pg2sdr_usb_device::lu_device may be used as needed to discover additional information about the device if needed.

Field Documentation

◆ lu_device

libusb_device* pg2sdr_usb_device::lu_device

Underlying libusb_device for this device.

◆ ports

const char* pg2sdr_usb_device::ports

Physical USB bus/port path for this device, ASCIIZ

◆ serial

const char* pg2sdr_usb_device::serial

Serial number of this device, ASCIIZ


The documentation for this struct was generated from the following file: