View Single Post
  #1   Spotlight this post!  
Unread 17-01-2013, 07:46
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
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?
Reply With Quote