Skip to content

Encode file for negative value #60

@SyHuangCBN

Description

@SyHuangCBN

When I encode txt file (Attached file) including value is negative, the bin file will be changed "2's complement".

docsis -p MTA_bin_integer.txt MTA_bin_integer.bin

The OID type should be integer 32 to avoid transfer value is error.

Could you please provide some advice on how to fix it ?

I used tool to check the value when it had been changed bin file.
bin_file

MTA_bin_integer.txt

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