Skip to content

feat: send amiibo report#29

Merged
mart1nro merged 5 commits into
mart1nro:masterfrom
spacemeowx2:nfc-r3
May 4, 2020
Merged

feat: send amiibo report#29
mart1nro merged 5 commits into
mart1nro:masterfrom
spacemeowx2:nfc-r3

Conversation

@spacemeowx2
Copy link
Copy Markdown
Contributor

@spacemeowx2 spacemeowx2 commented Apr 23, 2020

Closes: #27

change requests are welcome

@mart1nro
Copy link
Copy Markdown
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
Copy Markdown
Owner

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

@spacemeowx2
Copy link
Copy Markdown
Contributor Author

@colemickens
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

ydxred commented May 16, 2020

Can't connect!!!!

@leoleoasd
Copy link
Copy Markdown

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