GithubHelp home page GithubHelp logo

Won't receive COM messages about ardity HOT 6 CLOSED

dwilches avatar dwilches commented on August 27, 2024
Won't receive COM messages

from ardity.

Comments (6)

Vortex070 avatar Vortex070 commented on August 27, 2024 1

from ardity.

dwilches avatar dwilches commented on August 27, 2024

Hello,

Have you tried the sample Arduino code provided with Ardity? It's at the bottom of this page.
If that code works with your Arduino, then you can use it to debug your other code.

Regards.

from ardity.

KaiKruschel avatar KaiKruschel commented on August 27, 2024

Hi,
I have the same problem. I open the DemoScene_AutoPoll in Unity while your example Sketch is running on an Arduino Yùn. The Arduino serial monitor gets the heartbeat messages.
The console in Unity prints "Connection established" and nothing more. This is Unity Version 2019.4.0f1 on Mac OS. The API compatibility Level is set to .Net Standard 2.0. But the same behaviour occurs on .Net 4.x. Do you have any ideas, what this could be?

from ardity.

KaiKruschel avatar KaiKruschel commented on August 27, 2024

I tried to get the example autopoll scene to run with the arduino test code since that already has a message listener. On Mac OS I get a connection message but none of the following messages. If I use the arduino serial monitor it works fine. Strangely enough if I use the same code on a windows machine, it works without problem. Will look into this further and update here when I find the time.

Thanks for the help

from ardity.

KaiKruschel avatar KaiKruschel commented on August 27, 2024

Just a quick update: I set Dtr and Rts to true manually for the port in the AttemptConnection Method of the AbstractSerialThread Class. A quick test shows that setting either of them works just as well.
@Vortex070 Docklight seems to be Windows only unfortunately

from ardity.

dwilches avatar dwilches commented on August 27, 2024

Hello,
Thanks for the information, I'll update the package to include configuration for both flags then.
Thanks!

from ardity.

Related Issues (20)

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.