Skip to content

taccguy/nfc-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switch NFC Proxy

This repository provides a simple script to proxy Joy-Con <-> Switch communication with ability to spoof data read from NFC reader.

Installation

  • Clone this repository
  • Install dependencies
sudo pip3 install nxbt crc8
  • Run proxy.py script. Check comment in proxy.py for full usage procedure.
sudo python3 proxy.py --mac XX:XX:XX:XX:XX:XX --nfc-data /path/to/data.bin

Getting MAC address

To obtain MAC address of right Joy-Con use following command:

bluetoothctl scan on

Now press pairing button (tiny button below lights) and wait for Joy-Con to show up on the list. Press Ctrl-C to terminate scanning process.

Credits

License

This project is licensed under GPLv3 because of dependency on joycontrol.

Limitation/known issues

  • Please keep in mind this whole project is just a Proof of Concept based on a simple idea of gluing nxbt with pieces of joycontrol. Don't expect high coding standards from it ;)
  • IrNfcMcu - contains a lot of magic constants and logic. I used it as a blackbox because it "just works" but ideally this should be removed from the project and replaced with a component written from a scratch. Unfortunately I would need some real NFC communication dumps for research and I don't have any right now. If you would like to contribute to this project this is a great way to start.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages