Hi!
I want to create connection to the internet from PalmVx device using mobile
phone modem. I debug code under emulator, modem attached to COM2, emulator
settings are configured to use COM2 as serial port.
So I open serial manager, send AT\r\n  and ATDTnn,nnnnnn\r\n, commands to
modem, it dials, returns "CONNECTED" then follows:
...
"dialin.xxx.com login:" I send my login, but get no response. SrmReceive
return the username I supplied as login, and nothing more.
I've tried SrmSendFlush(port) after sending data, but it does not help.
The server machine emulator dials is running Unix. I suppose I am connecting
Unix workstation, instead of PPP service, because emulator/modem does not
know it is should connect over PPP.

here's a piece of code:
if(StrNCompare(rcv, "CONNECT", 7)) {
    .....
    if (StrNCompare(login, "login:",6)) {
    numSent = SrmSend(m_portId, sLogStr, StrLen(sLogStr), &err);

    // SrmReceive... here I read and get nothing
    ..


How can I configure PPP connection from palm over modem? What I am doing
wrong?
Thank You.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to