Modify

Opened 3 weeks ago

Closed 12 days ago

#212 closed enhancement (fixed)

Request to extend serial port baud rate list in BNC

Reported by: k2mil@… Owned by: stuerze
Priority: normal Component: BNC
Version: BNC 2.2 Keywords: serial; port; rate
Cc: k2mil@…

Description

Hello,
In BKG Ntrip Client (BNC) the serial port baud rate list currently tops out at 115200 bps. Could you please add higher rates, at least 230400 bps (ideally also 460800 and 921600)?
This enables stable transfer of high-rate GNSS streams (e.g., RTCM 3.x at higher update rates).
Best regards,

Attachments (0)

Change History (1)

comment:1 by stuerze, 12 days ago

Resolution: fixed
Status: newclosed

Hello,

the currently used serial class QextSerialPort supports only the following baud rates:

enum BaudRateType {
    BAUD50,                //POSIX ONLY
    BAUD75,                //POSIX ONLY
    BAUD110,
    BAUD134,               //POSIX ONLY
    BAUD150,               //POSIX ONLY
    BAUD200,               //POSIX ONLY
    BAUD300,
    BAUD600,
    BAUD1200,
    BAUD1800,              //POSIX ONLY
    BAUD2400,
    BAUD4800,
    BAUD9600,
    BAUD14400,             //WINDOWS ONLY
    BAUD19200,
    BAUD38400,
    BAUD56000,             //WINDOWS ONLY
    BAUD57600,
    BAUD76800,             //POSIX ONLY
    BAUD115200,
    BAUD128000,            //WINDOWS ONLY
    BAUD256000             //WINDOWS ONLY
};

The largest values are valid for Windows only and reach not to your suggested values.

Because of another issue, I have tried to switch to the Qt5 internal class QSerialPort. But it seems to have an unresolved bug. Furthermore, in this class also only a limited number of baud rates is available.

Hence, for data transfer with larger data volume, I can only recommend to use another technique, such as TCP.

Best regards, Andrea

Modify Ticket

Change Properties
Action
as closed The owner will remain stuerze.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.