{"id":20912093,"url":"https://github.com/adamczykpiotr/linux-canbus-cpp","last_synced_at":"2025-09-13T01:13:20.842Z","repository":{"id":167518601,"uuid":"637130282","full_name":"adamczykpiotr/linux-canbus-cpp","owner":"adamczykpiotr","description":"Small \u0026 easy to use wrapper library for CAN \u0026 CAN-FD","archived":false,"fork":false,"pushed_at":"2023-09-17T19:05:10.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T22:29:10.749Z","etag":null,"topics":["can-bus","can-fd","canbus","cpp","linux"],"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/adamczykpiotr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-06T15:47:24.000Z","updated_at":"2024-10-09T21:23:20.000Z","dependencies_parsed_at":"2024-11-18T14:42:51.824Z","dependency_job_id":null,"html_url":"https://github.com/adamczykpiotr/linux-canbus-cpp","commit_stats":null,"previous_names":["adamczykpiotr/linux-canbus-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamczykpiotr/linux-canbus-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamczykpiotr%2Flinux-canbus-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamczykpiotr%2Flinux-canbus-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamczykpiotr%2Flinux-canbus-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamczykpiotr%2Flinux-canbus-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamczykpiotr","download_url":"https://codeload.github.com/adamczykpiotr/linux-canbus-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamczykpiotr%2Flinux-canbus-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274903997,"owners_count":25371240,"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-09-12T02:00:09.324Z","response_time":60,"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":["can-bus","can-fd","canbus","cpp","linux"],"created_at":"2024-11-18T14:25:16.513Z","updated_at":"2025-09-13T01:13:20.813Z","avatar_url":"https://github.com/adamczykpiotr.png","language":"C++","readme":"# linux-canbus-cpp\n\n[![CodeFactor](https://www.codefactor.io/repository/github/adamczykpiotr/linux-canbus-cpp/badge)](https://www.codefactor.io/repository/github/adamczykpiotr/linux-canbus-cpp)\n\nSmall \u0026amp; easy to use wrapper library for CAN \u0026amp; CAN-FD\n\n## Examples:\n\n* [Standard frames](example/example-can.cpp)\n* [FD frames](example/example-canfd.cpp)\n\n## Building:\n\n```bash\ng++ ./example/example-can.cpp -o \n```\n\n## Testing:\n\n### Setup virtual CAN network:\n\n```bash\n## Setup VCAN\nip link add dev vcan0 type vcan   # Create virtual can interface\nip link set dev vcan0 up          # Start newly created interface\n\n## Setup VCAN FD\nip link add dev vcan1 type vcan   # Create virtual can interface\nip link set vcan1 mtu 72          # Set maximum transmission unit to 72 bytes (fd frame size)\nip link set dev vcan1 up          # Start newly created interface\n```\n\n## TODOs:\n\n- [x] Receiving frames\n    - [x] Blocking mode\n    - [x] Non-blocking mode\n    - [ ] Socket-based filtering\n- [x] Sending frames\n- [x] CAN-FD Support","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamczykpiotr%2Flinux-canbus-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamczykpiotr%2Flinux-canbus-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamczykpiotr%2Flinux-canbus-cpp/lists"}