Coder Social home page Coder Social logo

nmea2000_socketcan's People

Contributors

ben22ee avatar grantstephens avatar thomasonw avatar ttlappalainen avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nmea2000_socketcan's Issues

NMEA2000.SetCANPort("can0");

I have a raspberry pi 2 with pican2 duo iso board. I am trying to display NMEA2000 traffic using the sample main.cpp code here: https://github.com/thomasonw/NMEA2000_socketCAN. I am using NetBeans IDE 8.2 and have both NMEA2000_socketCAN and NMEA2000 in my build. When I try to compile the sample code, I get the following compile error:

main.cpp: In function ‘int main()’:
main.cpp:25:14: error: ‘class tNMEA2000’ has no member named ‘SetCANPort’
NMEA2000.SetCANPort("can0"); // Select the CAN port @ can0 (default)

If I comment out the "NMEA2000.SetCANPort"can0");" it will compile and run, but I'm not seeing data when connected to a NMEA2000 network. I have run candump (can0) and cansend (can1) and it works.

Any ideas on how to correct this issue? Is there code to detect and display the the bitrate of a device on the network?

Compiling issue with candump example

Hello,

I am getting the below error when trying to compile the example code.

'serStream' was not declared in this scope; did you mean 'N2kStream'

Please help!

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.