timothyscherer / rot2prog

A python interface to the Alfa ROT2Prog Controller.
MIT License
1 stars 2 forks source link

Incomplete response packet #6

Open Fernando6868 opened 3 weeks ago

Fernando6868 commented 3 weeks ago

Hi. i m trying to connect to Rot2prog controller but I'm getting this error after running python -m rot2prog.utils.run:

python -m rot2prog.utils.run Please enter the serial port: COM1 DEBUG:rot2prog.rot2prog:'COM1' opened with 5s timeout DEBUG:rot2prog.rot2prog:Status command queued DEBUG:rot2prog.rot2prog:Command packet sent: ['0x57', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x1f', '0x20'] DEBUG:rot2prog.rot2prog:Response packet received: ['0x57', '0x3', '0x6', '0x0', '0x0', '0x1', '0x3', '0x6'] Incomplete response packet

any idea why this is happening?

timothyscherer commented 3 weeks ago

The expected response packet is 12 bytes, and you are only receiving 8. Ensure your controller uses the same specification as this codebase.