Main Site Documentation

Zte mf626 usb modem to fez ? ::)


#1

Is it possible to connect a zte mf626 usb modem to fez ?

This is the code im trying to use
USBH_Device usb3g = new USBH_Device(device.ID, device.INTERFACE_INDEX, device.TYPE, device.VENDOR_ID, device.PRODUCT_ID, device.PORT_NUMBER);
try
{
serialUSB = new USBH_SerialUSB(usb3g, 115200, Parity.None, 8, StopBits.One);

Device connected
usb3g 6610 49 0
#### Exception System.Exception - 0xffffffff (3) ####
#### Message:
#### GHIElectronics.NETMF.USBHost.USBH_SerialUSB::Init [IP: 0000] ####
#### GHIElectronics.NETMF.USBHost.USBH_SerialUSB::.ctor [IP: 0039] ####
#### FEZ_Cobra_Console_Application4.Program::DeviceConnectedEvent [IP: 0092] ####
#### GHIElectronics.NETMF.USBHost.USBH_DeviceConnectionEventHandler::Invoke [IP: 0000] ####
#### GHIElectronics.NETMF.USBHost.USBHostController::nativeEventDispatcher_OnInterrupt [IP: 0037] ####
#### GHIElectronics.NETMF.System.InternalEvent::nativeEventDispatcher_OnInterrupt [IP: 0054] ####
A first chance exception of type ‘System.Exception’ occurred in GHIElectronics.NETMF.USBHost.dll
error


#2

I have read this patricks’s post http://www.tinyclr.com/forum/10/1071/#/2/.
I realized that there is not a cdc data interface in this device descriptor.
So i can not use ppp connection over this device

If I had a device with a cdc data interface Would be possible to use a ppp connection with the device I mean
This is a part of a usb modem Huawei E173 descriptor
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
And It has an Interface CDC Data
Would be possible to use USBH_SerialUSB with that device and use ppp connection
Regards