bluekitchen / raccoon

Raccoon BLE Sniffer
91 stars 31 forks source link

pca10059 don't restart sniffing after following a connection #11

Closed SeanBurford closed 3 years ago

SeanBurford commented 3 years ago

After following a connection, the LED on the pca10059 doesn't start flashing again.

Looking at raccoon.py, the restart CMD_SNIFF_CHANNEL only sends a 19 byte payload, compared to the 20 byte payload during initial setup. It omits the min RSSI value. Increasing this packet to 20 bytes and providing the same min RSSI value results in happy LEDs and, by the look of things, ongoing packet capture.

mringwal commented 3 years ago

Fixed by your PR.