Skip to content

FW v7.7.0 has chaninfo issue #22

@dkluger

Description

@dkluger

cbhw\device\nsp throws an error with the get_config() method. RECONFIGALL returns 266 channels on a hub that is configured to 256 channels. This is because of a change where the hub responds with channels it can trigger on an NSP, i.e. the 4x analog outs, 4x digital outs, and 2x analog outs (4+4+2=10, 256+10=266). I made a patch in the hitl_testing_dev branch that counts n_infos based on counting in a for loop when this criteria is met: self._config['channel_types'][i] == CBChannelType.FrontEnd. The old version simply counts based on n_infos = len(self._config["channel_infos"])

There's probably a more elegant solution in lower level packet parsing methods that I am not knowledgeable enough to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions