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?