Apr-27-2021, 06:23 PM
Well
to be totally honest i've been openly told i couldn't benefit from any support relative to that subject, which I think is preposterous, so i cant really disclose more information regarding makes, models
All i have left then is the requests displayed by the serial port sniffer, which consists in setting timeout parameters in a certain way and sending 4 specific bytes to initiate the transfer. FYI i was able to make it work on windows setting the same parameters and using win32 serial api. I apologize next lines are not python but they are still code
to be totally honest i've been openly told i couldn't benefit from any support relative to that subject, which I think is preposterous, so i cant really disclose more information regarding makes, models
All i have left then is the requests displayed by the serial port sniffer, which consists in setting timeout parameters in a certain way and sending 4 specific bytes to initiate the transfer. FYI i was able to make it work on windows setting the same parameters and using win32 serial api. I apologize next lines are not python but they are still code
cout << "Set params OK" << endl; //Setting Timeouts timeouts.ReadIntervalTimeout = 10; timeouts.ReadTotalTimeoutMultiplier = 0; timeouts.ReadTotalTimeoutConstant = 10; timeouts.WriteTotalTimeoutMultiplier = 0; timeouts.WriteTotalTimeoutConstant = 50; if (SetCommTimeouts(hComm, &timeouts) == FALSE) { printf_s("\nError to Setting Time outs"); CloseHandle(hComm);//Closing the Serial Port } cout << "Set timeouts OK" << endlBest regards.