Where is candevice.h ?
-
I was just trying to understand how the CAN messages work. In CanInterface.cpp, I can see these functions (each calling on the next):
SendRequestAndGetStandardReply
SendRequestAndGetCustomReply
SendCanMessage
SendMessageHowever, SendMessage is not defined anywhere. I think it should be within CanDevice.h, but CanDevice.h isn't anywhere, nor is CanId.h, or CanMessageFormats.h - yet these are #included in some of the .cpp files.
Is the repository missing these? Or are we supposed to get these header files elsewhere?
-
CanDevice.h I still cannot find. But I found this:
https://github.com/Duet3D/CANlib
which includes the CanId and the CanMessageFormats, but still can't find CanDevice.h -
@jml It is part of Core2NG : https://github.com/Duet3D/CoreN2G/blob/3.5-dev/src/CanDevice.h
GitHub has a nice search engine that allow you to search on all the repositories of an organization so if you do a search for
SendMessage
, you easily find where it is defined. -
@Falcounet Thank you for finding it! Can you teach me how to do the search? When I do it, github cannot find SendMessage or CanDevice.h.
This is what I search:
org:Duet3D SendMessage
org:Duet3D CanDevice.h -
@jml nevermind - I had to sign in in order for github to show Code results. Thanks!
(is there a way to mark this post solved?) -
-