-5

I'm using a QT creator application. In my application I need to transmit and receive data's using CAN protocol using C++ source code.

I searched a lot on Google also, but I was not able to find the source code for this.

Kirk Beard
  • 9,569
  • 12
  • 43
  • 47
sivanesan1
  • 779
  • 4
  • 20
  • 44
  • How are you connected to your CAN Bus? – Vertexwahn Jan 22 '16 at 09:59
  • This site is about asking specific programming problems or patterns, also showing you've tried something and are stuck in the process. Please read [this](http://stackoverflow.com/help/on-topic) to know what's on topic here. – legends2k Jan 22 '16 at 10:08

1 Answers1

0

Independent of language, first understand the CAN protocol (ie, formation of data packets), and the different layers used, and what is the underlying physical transport. Since this involves more than one system you should start with a reference implementation, like the Discovery board, or other boards referenced in http://liu.diva-portal.org/smash/get/diva2:822343/FULLTEXT01.pdf, or http://www.keil.com/forum/22051/can-bus-on-lpc2129/

Prabindh
  • 3,356
  • 2
  • 23
  • 25