-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugNew bugNew bug
Description
Hey!
As far as I can see, python4yahdlc doesn't use a continuous buffer, like yahdlc recommends, but still persists its state. This makes it dump raw memory sometimes and doesn't allow for proper partial frames. You either need to store incoming data buffer somewhere and pull / discard bytes as they go (which would make it support partial frames), or call yahdlc_get_data_reset/yahdlc_get_data_reset_with_state after every call to yahdlc_get_data. (to just use yahdlc for HDLC frames parsing and just properly discard partial frames/buffers)
Best regards,
Piotr.
Metadata
Metadata
Assignees
Labels
bugNew bugNew bug