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.
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.