Well… My tests of PPP was also unsuccessful But in my case Connect() is freezes for some while. After ~1min or less g120 board goes to reboot. Tested with G120 module with our board and with G120HDR + Serial Module. We are using 2 different cellular operators (CDMA 800 & CDMA450) with PAP & CHAP authentication. Here is my simply test code:
public static void Main()
{
powerPort = new OutputPort(GHI.Pins.G120.P2_8, true);
modem = new UniCellular("COM2", BaudRate.BR_115200, Parity.None, DataBits.DB_8, StopBits.One, Handshake.None);
modem.ReadTimeout = 1000;
modem.Open();
Thread.Sleep(10000);
bool res = modem.IsReady;
res = modem.IsRegistered;
res = modem.Dial("#777");
PPPSerialModem ppp = new PPPSerialModem(modem);
ppp.Open();
try
{
ppp.Connect(PPPSerialModem.AuthenticationType.Pap, "perfectum@ perfectum.com", "a", 7000);
//ppp.Connect(PPPSerialModem.AuthenticationType.Chap, "internet@ uzcdma.uz", "password", 7000);
}
catch (Exception e)
{
Debug.Print(e.Message);
}
Debug.Print(ppp.IPAddress);
Debug.Print(ppp.DnsAddresses[0]);
Debug.Print(ppp.GatewayAddress);
}
I was about to try 4.3 Beta 3, but it is not working for me.
FEZ Config does not find Cobra II, but I can see it in Device Manager. Another weird thing is that LDR0 and LDR1 buttons simulate pressing “1”, in other words if Notepad is open and if I press any of those buttons, “1” is being typed.
I am using Win 8.1, USB 2.0/3.0. I have tried re-installing everything, but it didn’t help.
That’s strange. Normaly you have something with “Debugable Device” in device manager.
Looks like you have a program on the board that uses USB Client mode and emulates a keyboard.
Try booting in loader mode
Hold LDR0 + LDR1 … press Reset, release LDR0 + LDR1 within 3 sec.
You should se a COM Port device now
and upload tiny booter and firmware.
The TinyBooter needs to updated anyway I think.
As next step I would recommend to uninstall all GHI software, reboot, install again, and then try again.
Looks like there is something wrong with your GHI USB Driver.
Have you installed anything (hardware-ish) lately, that might have damaged the GHI Driver setup?
I have re-installed GHI software (NETMF and Gadgeteer Package 2014 R2 Beta-3.exe) more than 10 times now. I have rebooted my PC several times.
I was using Gadgeteer Package 2014 R1 without any issues. I have uninstalled it and I have installed Gadgeteer Package 2014 R2 Beta 3. After that I can no longer access Cobra II.
It is most likely GHI USB Driver that’s causing all this, but Device Manager shows no obvious problems.
It appears that updating Cobra II to 4.3 Beta 3 bricks it somehow. It’s now stuck in GHI bootloader mode. Options I’ve tried:
Workstation, Fezconfig from Beta 3 — no luck, says something is wrong with drivers;
Wokstation, FezConfig 1.0.1 (from 4.2) — no luck, doesn’t recognise COM port;
Laptop, FezsConfig from Beta 2 — no luck, says something is wrong with drivers;
Laptop, FezConfig 1.0.1 (from 4.2) — no luck, doesn’t recognise COM port;