retrospy / RetroSpy

Live controller viewer for Nintendo consoles as well as many other retro consoles and computers. Includes viewer application for Windows, and Arduino sketch for hardware interface.
https://retro-spy.com
GNU General Public License v3.0
145 stars 22 forks source link

SerialMonitor.cs: Added Request To Send Handshake & Data Terminal Rea… #232

Closed Skuzee closed 2 years ago

Skuzee commented 2 years ago

This is a version of an implementation of the NicoHood/Nintendo Library support that is in the current master of NintedoSpy Written by robertvanderaarde committed on Sep 2, 2019

Gamecube.cs: Added support for NicoHood/Nintendo 8 byte serial format.

This also adds support for certain devices that expect handshakes. Written by ClydePowers committed on Aug 25, 2020 and Myself Skuzee committed on Mar 7, 2020

SerialMonitor.cs: Added Request To Send Handshake & Data Terminal Ready = True.
Improves connection/re-connection with certain devices. atgema32u4 (arduino pro micro)

Skuzee commented 2 years ago

In regard to the SerialMonitor change. I added DTR and RTS handshakes to SerialMonitor.cs to improve the connection reliability with my atmega32u4. We found that opening/closing the arduino IDE serial monitor would close the serial connection and NintedoSpy was unable to reconnect without initiating it's own handshake.

zoggins commented 2 years ago

Thanks for the pull request. I will double check that the handshaking change doesn't affect other boards negatively (which it shouldn't) and commit this.