Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send amiibo report #29

Merged
merged 5 commits into from
May 4, 2020
Merged

feat: send amiibo report #29

merged 5 commits into from
May 4, 2020

Conversation

spacemeowx2
Copy link
Contributor

@spacemeowx2 spacemeowx2 commented Apr 23, 2020

Closes: #27

change requests are welcome

@mart1nro
Copy link
Owner

Thank you really much for this cool feature.

I'm currently moving and don't have access to a game that supports amiibo at the moment. It will take me some time to fully look into this.

So far I checked that the Switch is able to recognize an amiibo in the settings menu. This looks really promising. Can't wait to fully test this.

@mart1nro
Copy link
Owner

@spacemeowx2 Currently looking through the code. What does mcu stand for?

@colemickens
Copy link

I was able to validate this as working. Thanks for this @spacemeowx2!

Using a Raspberry Pi 4 running Raspbian and this PR with joycontrol, I was able to send BOKOBLIN.bin to my Switch with just a bluetooth dongle.

@benhid
Copy link

benhid commented May 3, 2020

Tested using Raspberry Pi Zero W with Raspbian Lite (2020-02-13). Thank you @spacemeowx2!

PS. libhidapi-hidraw0 is required, step-by-step tutorial in 🇪🇸 here

@0mie
Copy link

0mie commented May 3, 2020

I was able to validate this as working. Thanks for this @spacemeowx2!

Using a Raspberry Pi 4 running Raspbian and this PR with joycontrol, I was able to send BOKOBLIN.bin to my Switch with just a bluetooth dongle.

How'd you install it on Raspbian?

@colemickens
Copy link

I wrote this up for Ubuntu-in-a-VM-on-Windows users, but it should basically be the same thing for Raspbian: https://gist.github.com/colemickens/b08d1a339f4483c6b3c08e739d6cf5d0.

@mart1nro
Copy link
Owner

mart1nro commented May 4, 2020

@spacemeowx2

I guess mcu includes IR and NFC.

I'm guessing MCU stands microcontroller unit, meaning we are sending commands to the microcontroller which handles ir and nfc. I refactored the code a bit and renamed the things according to that.

It would be nice if you could add some more comments in the mcu code, to explain the meaning of bits and byte strings you are setting. I would also like to dig into that a bit, to be able to maintain the code in the future. Which resource did you use to implement nfc?

Anyways, since the code works and most of it not being API relevant, I'll merge this now. Thanks again for implementing NFC.

@mart1nro mart1nro merged commit b139080 into mart1nro:master May 4, 2020
@ydxred
Copy link

ydxred commented May 16, 2020

Can't connect!!!!

@leoleoasd
Copy link

leoleoasd commented May 16, 2020

Can't connect!!!!

you are supposed to create a issue rather than asking here. Please also provide the error info. It seems that you are using Chinese ubuntu, and the Bluetooth program is not happy with utf-8.


你应该创建一个issue, 而不是回复这个pr. 你也应该提供错误提示框中的完整信息, 看上去是因为你使用了中文的ubuntu, 而bluetooth程序在处理utf8编码的时候有问题.

mart1nro added a commit that referenced this pull request Sep 2, 2020
This reverts commit b139080, reversing
changes made to 2f85c4c.
Nem0oo added a commit to Nem0oo/joycontrol that referenced this pull request Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there has anyway to report amiibo data?
7 participants