1

Most USB cellular modems present as a composite device containing (amongst other things) a modem and a network adapter. The latter shows up under the "LAN or High-Speed Internet" heading in Network Connections (and under Network Adapters in Device Manager).

enter image description here

I know how to initiate a data session on the modem interface using standard AT commands, but I am looking for information or documentation on (programmatically) using the network adapter.

My modems are a ZTE MF626i and a Sierra Wireless USB 301. I would happy with documentation that was either general in nature or specific to these modems.

Edited to add: I'm using Windows XP, so no Mobile Broadband API.

Hugh Allen
  • 6,509
  • 1
  • 34
  • 44

1 Answers1

1

Assuming you're using Windows 7 or 8, you can use the built in Windows interface. Use the VID and PID to identify the device amongst the Windows Network Adapters (find the VID and PID manually by inspecting the network adapter properties in Windows Device Manager). Once you know the device, you can get the Windows device id programmatically.

Then use Windows Mobile Broadband API together with the device id to make data connections via the network adapter. http://msdn.microsoft.com/de-de/library/windows/desktop/dd323269(v=vs.85).aspx

user1725145
  • 3,993
  • 2
  • 37
  • 58
  • I forgot to say, I'm using Windows XP. I originally had a tag for it, but deleted it to make room for more mobile-telephony-related tags :) – Hugh Allen Jan 20 '13 at 23:29
  • +1 for the link though. I didn't know about the Mobile Broadband API. – Hugh Allen Jan 20 '13 at 23:30
  • Glad at least something was helpful! There is a separate mobile connection interface for Win 8 Metro as well. For XP, there is the standard NDIS interface (I don't know a lot about using it, sorry) and device manufacturers also tended to have proprietory interfaces that used the network adapter for older Windows versions (but these may not be publically available). – user1725145 Jan 21 '13 at 10:16