skot / bitskipc

BM1397 driver in C with libftdi
2 stars 3 forks source link

need to split responses into individual packets #2

Open skot opened 1 year ago

skot commented 1 year ago

responses all start with 0xAA, so maybe use this to split them up.

Georges760 commented 1 year ago

AA 55 is the preamble of all frame from ASIC

also in 4th byte you have the frame length (excluding preamble), that you can use to expect a number of byte after this lenght... this is wrong, only valid for frame from PC to ASIC...