Coder Social home page Coder Social logo

Comments (6)

Pascal8749 avatar Pascal8749 commented on May 25, 2024

I think you might be right. With the current code I get problems with a "Reset Communication" command. I just tried your suggestion and replaced "canopen_app_resetCommunication()" with "canopen_app_init()". As a result the "Reset Communication" command works now. I also think that this is the most logical way. Personally, I would expect a "Reset Communication" command to reset the communication. Sounds silly, but deleting the instance and recreating it with the given parameters would meet that expectation exactly.

from canopenstm32.

HamedJafarzadeh avatar HamedJafarzadeh commented on May 25, 2024

I will check that and update you here . Reset Comm should reset the communication. Maybe I missed something...

from canopenstm32.

midiwidi avatar midiwidi commented on May 25, 2024

Hi Hamed. Have you had a chance to verify the issue?

from canopenstm32.

HamedJafarzadeh avatar HamedJafarzadeh commented on May 25, 2024

Hi @midiwidi,

Yes, I had a look today and you are right. The way that CO_RESET_COMM handled is wrong. I will mark this as a bug and fix it in the next release.

from canopenstm32.

midiwidi avatar midiwidi commented on May 25, 2024

Thanks for checking Hamed.

from canopenstm32.

a-leibold avatar a-leibold commented on May 25, 2024

Compared with the main_black.c in the CANopenNode example it seems there is no CO_Delet() necessary

from canopenstm32.

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.