Giter VIP home page Giter VIP logo

unityserialport's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unityserialport's Issues

OSX gets bytes capped at 3F

It took me a while to trace this down, but I was getting incorrect results for some of transmitted values on a mac, namely nothing higher than 0x3F would come through (while the results on windows were correct), I found a list of exceptions in serial.cs, Please consider changing (this is from line 228)

        case RuntimePlatform.WindowsEditor:
	case RuntimePlatform.WindowsPlayer:
	case RuntimePlatform.WindowsWebPlayer:

To following, it fixes the issue on OSX

        case RuntimePlatform.WindowsEditor:
	case RuntimePlatform.WindowsPlayer:
	case RuntimePlatform.WindowsWebPlayer:
	case RuntimePlatform.OSXEditor:
	case RuntimePlatform.OSXPlayer:

Does not work under Windows

The script does not work under Windows.

I know.

I didn't need to support Windows when I wrote this script. So I didn't bother supporting it.
If you need it and know how to fix it, just do and make a pull request. Otherwise ask in comments and I'll try to find some time if there is enough requests. Or hire me, that could definitely speed up things.

List of preferred devices

Guessing the correct serial port from the list returned by the OS is not always exact.
A way to improve could be to have a configurable parameter to specify a list of preferred names or partial strings to be found in names.

New version of Unity seems to break this package

Hi there -

I updated to the new version of Unity and got all kinds of errors related to this package.

I'm not able to troubleshoot at the moment because I'm just pushing for a videogame debut...but wanted to let you know that it works on Unity 5.6.1f so that's what I'm using now.

I'm using Mac OS

Thanks!

Unable to open COM port on Windows

Some users get an error on Windows when trying to open the known to be correct serial port.
Possibly when the serial port number is greater than 9.
A solution might be to add the string "\\\\.\\" before the port name.
The Serial.GetPortName() function can be modified to add this string around line 522:

if (portNames.Length > 0)
    return "\\\\.\\" + portNames [portNames.Length - 1];

Please comment (either success of fail) if you try this patch. Does it work in all situation ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.