Skip to content

Questions on README #2

@ming1

Description

@ming1

Hello,

API review, I'm not happy with DeviceParams.

Care to provide more details?

Better errors.
Sadly the kernel driver returns the same error for different error situations. And in
some cases we need to send multiple messages, e.g., we can only send
SetParams if the device' state is DEAD, this requires to first send GetDevInfo to get > the status.

Right, GetDevInfo() is available anytime. And in which cases, you need to send
multiple messages?

The original imlementation supports to set each param in single command, but
that way makes things a bit complicated, but the control interface can be extended,
and we just need to understand the use case.

Thanks,
Ming

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