shezi / airmtp

42 stars 5 forks source link

Canon PowerShot SX730 get stuck on sendProbeRequest - Timeout? #2

Open Damme opened 4 years ago

Damme commented 4 years ago

Hello

I found out that Canon PowerShot SX730 gets stuck on https://github.com/shezi/airmtp/blob/master/airmtp.py#L1137 - mtpwifi.sendProbeRequest(g.socketEvents)

Solution coult be to have a time out on that command or argument to disable sendProbeRequest.

I've commented out this line and everythine works like a sharm. Thanks for making this!

shezi commented 3 years ago

I have no idea, since I have never worked with the code. But if you send me a pull request, I'll gladly accept it.