Skip to content

uaeser_setparams is not implemented #367

@thomas-touhey

Description

@thomas-touhey

Context

Cahute is a C library and set of command-line utilities to communicate with CASIO calculators over serial and USB. For the former, there exists specific USB-serial cables, that present themselves as /dev/ttyUSB[0-9] devices on Linux.

In order to test the port of Cahute for AmigaOS 3.x, I used FS-UAE with the serial_option option set to /dev/ttyUSB0, and my command-line utilities are attempting to communicate with the calculator using Protocol 7.00, for which the communication settings need to be set to 9600N2 (9600 bauds, none parity, 2 stop bits).

Issue

If I plug in the USB serial device then run FS-UAE, the command-line utilities won't connect. This is because when setting the serial params using SDCMD_SETPARAMS on the serial device, the underlying function, uaeser_setparams, fails silently (as a stub).

Workaround

Currently, in order to test my command-line utilities with FS-UAE, I need to set the serial parameters on the host first, then use FS-UAE to read and write to the device, which works.

Expected

I should be able to do this with my utilities within FS-UAE entirely.

See cahute#26 for more information, if need be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions