Skip to content

cc2531 rssi incorrectly converted #277

Description

@s1e3p3r

In 'killerbee/cc253x.py' class 'CC253x.pnext()', RSSI value 'rssi' is converted from a byte object to a python int, but should be an 8 bit signed int (eg: -1 is converted to python int: 255). This results in an incorrect RSSI value and when PPI information is written it may raise an exception because 'rssi' will be written as an int8.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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