{"id":24739468,"url":"https://github.com/bang-olufsen/yahdlc","last_synced_at":"2025-10-10T08:30:44.422Z","repository":{"id":55377638,"uuid":"42705253","full_name":"bang-olufsen/yahdlc","owner":"bang-olufsen","description":"yahdlc - Yet Another HDLC implementation","archived":false,"fork":false,"pushed_at":"2024-02-28T11:25:05.000Z","size":51,"stargazers_count":85,"open_issues_count":1,"forks_count":28,"subscribers_count":57,"default_branch":"master","last_synced_at":"2025-04-03T18:09:10.786Z","etag":null,"topics":["c","communication","hdlc","protocol","serial"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bang-olufsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-18T07:02:14.000Z","updated_at":"2025-03-23T03:47:28.000Z","dependencies_parsed_at":"2022-08-14T22:50:59.702Z","dependency_job_id":null,"html_url":"https://github.com/bang-olufsen/yahdlc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bang-olufsen/yahdlc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang-olufsen%2Fyahdlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang-olufsen%2Fyahdlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang-olufsen%2Fyahdlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang-olufsen%2Fyahdlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bang-olufsen","download_url":"https://codeload.github.com/bang-olufsen/yahdlc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bang-olufsen%2Fyahdlc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003299,"owners_count":26083555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","communication","hdlc","protocol","serial"],"created_at":"2025-01-27T22:58:46.009Z","updated_at":"2025-10-10T08:30:43.895Z","avatar_url":"https://github.com/bang-olufsen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yahdlc - Yet Another HDLC\n\n[![Build Status](https://travis-ci.org/bang-olufsen/yahdlc.svg)](https://travis-ci.org/bang-olufsen/yahdlc) [![Coverage Status](https://coveralls.io/repos/bang-olufsen/yahdlc/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/bang-olufsen/yahdlc?branch=master) [![Scan_Coverity](https://img.shields.io/coverity/scan/12502.svg)](scan) [![License](https://img.shields.io/badge/license-MIT_License-blue.svg?style=flat)](LICENSE)\n\nThe Yet Another High-Level Data Link Control implementation is a framing protocol optimized for embedded communication with single pass operations. It uses the HDLC asynchronous framing format. For more information see:\n\nhttps://en.wikipedia.org/wiki/High-Level_Data_Link_Control\n\nThe supported frames are limited to DATA (I-frame with Poll bit), ACK (S-frame Receive Ready with Final bit) and NACK (S-frame Reject with Final bit). All DATA frames must be acknowledged or negative acknowledged using the defined ACK and NACK frames. The Address and Control fields uses the 8-bit format which means that the highest sequence number is 7. The FCS field is 16-bit by default, but can be set to 32-bit by the definition of \"CRC32\".\n\nBelow are some examples on the usage:\n\n```\nAcknowledge of frames:\nA ----\u003e B   DATA [Seq No = 1]\nA \u003c---- B   DATA [Seq No = 4]\nA \u003c---- B    ACK [Seq No = 2]\nA ----\u003e B    ACK [Seq No = 5]\n\nNegative acknowledge of frame:\nA ----\u003e B   DATA [Seq No = 1]\nA \u003c---- B   NACK [Seq No = 1]\nA ----\u003e B   DATA [Seq No = 1]\n\nAcknowledge frame lost:\nA ----\u003e B   DATA [Seq No = 1]\nA  X\u003c-- B    ACK [Seq No = 2]\n*Timeout*\nA ----\u003e B   DATA [Seq No = 1]\n```\n\n## Programming languages\n\nCurrently yahdlc supports C/C++ and Python. Python bindings for yahdlc has been implemented by SkypLabs and can be found here:\n\nhttps://github.com/SkypLabs/python4yahdlc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang-olufsen%2Fyahdlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbang-olufsen%2Fyahdlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbang-olufsen%2Fyahdlc/lists"}