I work with FEX Cobra 1.3 device and I have a USB 3G modem (Huawei E173u-1). I would like to establish an internet connection using this modem, i.e. I need to write a program that will be loaded to the device and will use the modem for establishing an internet connection. I would appreciate if you explain me how I can achieve the goal.
Cobra has PPP stack that you can use with one of the available serial port. You can use any PPP modem with serial port. We have used Telit in the past.
Welcome to the community.
OK, but could you give me, please, a reference to a program or a document that describes establishing of an internet connection so that I can write a program for the device.
Please look in library documentation http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation/Index.html
Specifically under PPP class in Net namespace.
Thank you, but it is not what I really need. I saw an example named “This example enables Ethernet Interface and retrieves an IP address lease from DHCP server. An example code about AT commands is also provided.” In this example is used a modem which is connected to a com-port, but I have a USB modem. So, this example doesnt work with it.
I tried to use USBH_SerialUSB, but my attempt failed.
Do you have any idea how I can use my USB modem? Or do I need a vendor specification in order to write my own driver for it like it was made in the UtilityMicro lib (http://code.tinyclr.com/project/294/utilitymicro/)?