gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FBUS speed change to 19200 and 115200


From: Jari Turkia
Subject: FBUS speed change to 19200 and 115200
Date: Wed, 07 Nov 2007 22:10:15 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

In fbus.c, function at2fbus_serial_open there is:
        device_changespeed(19200, state);
        dprintf("Switching to FBUS mode\n");
        res = send_command("AT\r\n", 4, state);
        if (res)
                res = send_command("AT&F\r\n", 6, state);
        if (res)
                res = send_command("AT*NOKIAFBUS\r\n", 14, state);
        device_changespeed(115200, state);

What's the idea of changing to 19200 to issue a few AT-commands? I'm sure it is there for a reason, but in my case it breaks things up.

My solution would be to have a fixed 115200 in config file and and never to switch speeds. How does that sound like?

Regards,
Jari Turkia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]