riverloopsec / killerbee

IEEE 802.15.4/ZigBee Security Research Toolkit
http://www.riverloopsecurity.com
Other
756 stars 215 forks source link

TelosB - AttributeError: 'Serial' has no attribute 'setBaudrate' #193

Closed Lithimlin closed 2 years ago

Lithimlin commented 4 years ago

I've tried to flash killerbee using the ./flash_telosb.sh and run into a couple of problems:

I'll open another issue to mention the following again but it would be really helpful if there was a virtualenv to open with the needed libraries with their correct versions installed and to switch from python2 to python3 since the support will run out soon.

That being said, how do I solve the AttributeError?

Lithimlin commented 4 years ago

Due to a recent change of PySerial, self.serialport.setBaudrate(baudrate) in goodfet.bsl, line 1392 now needs to be self.serialport.baudrate = baudrate

taylorcenters commented 2 years ago

Thanks, PR #252 made this change!