Hi all,
Last year I successfully deployed a video game driven by a C2 machine. I've been asked to duplicate the work for another client but when I try to run the same software with the rowing machines they have sent, I get this error:
Error (-10150): TKDDI_INVALID_PORT_ERR
An invalid port number was specified
The demo app with the SDK picks up the PM3 no problem, I'm using the correct address (AFAIK) based on the output of tkcmdsetDDI_discover_pm3s, so I'm stuck trying to work out what port this error is referring to.
I'm using the Mac SDK, from what I can tell this SDK is the same version that I used last year (same timestamps/filesizes), so my assumption is that the firmware responds differently and that the Mac SDK hasn't been updated? Not really sure as I can't look deeper into the source of tkcmdsetCSAFE_command to see what's throwing the error.
Any help greatly appreciated!
K
Problem with new machine
Re: Problem with new machine
So turns out I needed to use a different product name:
ecode = tkcmdsetDDI_discover_pm3s(TKCMDSET_PM3_PRODUCT_NAME2, 0, &units);
fixed the issue, previous version was using TKCMDSET_PM4_PRODUCT_NAME.
From what I can tell the machines I have now are flashed to the latest firmware, so I'm not sure what's going on here, just glad it's working again.
Thanks Scott for looking into it all the same!
K
ecode = tkcmdsetDDI_discover_pm3s(TKCMDSET_PM3_PRODUCT_NAME2, 0, &units);
fixed the issue, previous version was using TKCMDSET_PM4_PRODUCT_NAME.
From what I can tell the machines I have now are flashed to the latest firmware, so I'm not sure what's going on here, just glad it's working again.
Thanks Scott for looking into it all the same!
K