Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Enumerate the CAN bus with C++ WPILib? (http://www.chiefdelphi.com/forums/showthread.php?t=111432)

kenfox 17-01-2013 07:46

Enumerate the CAN bus with C++ WPILib?
 
I think I know how to send the enumerate command:

Code:

sendMessage(CAN_MSGID_API_ENUMERATE, NULL, 0);
Now how to use receiveMessage() for the responses? Just iterate over the possible device IDs with a 0 second timeout?

Will the same solution for getting enumerate responses also work for getting the enumerate message after a power reset?


All times are GMT -5. The time now is 18:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi