Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QUsbEthernetGadget class is used to enable ethernet communication class of USB gadgets. More...
#include <QUsbEthernetGadget>
Inherits QUsbGadget.
Inherited by QUsbEthernetGadgetProvider.
The QUsbEthernetGadget class is used to enable ethernet communication class of USB gadgets.
The QUsbEthernetGadget class is used to configure the USB gadget hardware as an ethernet communication class device.
QUsbEthernetGadget *gadget = new QUsbEthernetGadget; if (gadget->available()) { connect(gadget, SIGNAL(activated()), this, SLOT(ethernetActivated())); gadget->activate(); }
See also QUsbManager and UsbGadgetTask.
Constructs a new QUsbEthernetGadget object in group and attach it to parent. If mode is Client, then the object is constructed in client mode and group may be empty to indicate that the default group should be used.
Returns the name of the network interface. A null bytearray is returned if the gadget is not active().
Returns the local MAC address.
See also setLocalMac().
Returns the remote MAC address.
See also setRemoteMac().
Sets the local MAC address to mac.
See also localMac().
Sets the remote MAC address to mac.
See also remoteMac().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |