samyk / keysweeper

KeySweeper is a stealthy Arduino-based device, camouflaged as a functioning USB wall charger, that wirelessly and passively sniffs, decrypts, logs and reports back (over GSM) all keystrokes from any Microsoft wireless keyboard in the vicinity.
https://samy.pl/keysweeper/
1.09k stars 252 forks source link

no matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)' #13

Open icaruspony opened 7 years ago

icaruspony commented 7 years ago

I am getting this error:

no matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)'

Please help.

samyk commented 7 years ago

Try https://github.com/samyk/Adafruit_FONA_Library/commit/09e2aae02d923e24a35062c79b5fc3ac0a660efe

icaruspony commented 7 years ago

Thanks. I actually found that in a comment on your YouTube video and fixed that.

But now it fails to compile for RF24 (and I copied those 3 files from maniacbugs RF24) and changed the <> to "".

So I'm stuck again.

On Thu, Jul 6, 2017, 7:05 PM Samy Kamkar notifications@github.com wrote:

Try samyk/Adafruit_FONA_Library@09e2aae https://github.com/samyk/Adafruit_FONA_Library/commit/09e2aae02d923e24a35062c79b5fc3ac0a660efe

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samyk/keysweeper/issues/13#issuecomment-313542824, or mute the thread https://github.com/notifications/unsubscribe-auth/AVfb92VoF2OiFTFnBY7xES8H0m-kdXBGks5sLWgjgaJpZM4KKrAE .

samyk commented 7 years ago

More details please

JaspaJami commented 6 years ago

Im getting also error from RF24.

Seems to be a lot of undefined reference errors.

Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)" keysweeper_mcu_src.ino:1136: undefined reference to RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference toRF24::setAutoAck(bool)' keysweeper_mcu_src.ino:811: undefined reference to RF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference toRF24::setDataRate(rf24_datarate_e)' keysweeper_mcu_src.ino:813: undefined reference to RF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference toRF24::setChannel(unsigned char)' keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)' .............

JaspaJami commented 6 years ago

Seems to be somekind of problem when keeping RF24 libary with this code. When i install that as a library seems to work ok, dont know atm whats the problem (i did edit the path in RF24.h for the RF24_config.h)

samyk commented 6 years ago

Using https://github.com/maniacbug/RF24 ?

huskyachao commented 5 years ago

Im getting also error from RF24.

Seems to be a lot of undefined reference errors.

Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)" keysweeper_mcu_src.ino:1136: undefined reference to RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference toRF24::setAutoAck(bool)' keysweeper_mcu_src.ino:811: undefined reference to RF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference toRF24::setDataRate(rf24_datarate_e)' keysweeper_mcu_src.ino:813: undefined reference to RF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference toRF24::setChannel(unsigned char)' keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)' .............

Hi~I also meet with the same problem.Have you solved it? I use the Arduino IDE.

ghost commented 5 years ago

@samyk Have you had a moment to investigate this issue? I too am trying to replicate this project and am receiving a variety of undefined references all related to RF24 as describe above.

Happy to help with this issue further if I can.

All The Best,

samyk commented 5 years ago

Are you using https://github.com/maniacbug/RF24? I believe that was the version used -- unfortunately there are a ton of forks of it and I'm not sure particularly which was the library of the week. I'd suggest just going into the RF24 .h files and moving those functions from private to public.

ghost commented 5 years ago

I am. I played around with everything and got the code to compile. When I put the RF24.cpp file into the keysweeper_mcu_src directory, the code properly compiled. I didn't see that mentioned anywhere in the write up and I won't pretend to know why that made a difference. Hope that helps.