{"id":20820839,"url":"https://github.com/webdad/lib-lawo-can","last_synced_at":"2026-03-14T22:32:04.660Z","repository":{"id":152505439,"uuid":"86052833","full_name":"WebDaD/lib-lawo-can","owner":"WebDaD","description":"A small library to use the lawo-canbus.","archived":false,"fork":false,"pushed_at":"2017-03-24T09:53:06.000Z","size":588,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T08:25:36.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebDaD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-03-24T09:52:01.000Z","updated_at":"2017-03-24T09:52:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"295f4f72-3672-4050-bb2c-270537329e0c","html_url":"https://github.com/WebDaD/lib-lawo-can","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WebDaD/lib-lawo-can","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDaD%2Flib-lawo-can","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDaD%2Flib-lawo-can/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDaD%2Flib-lawo-can/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDaD%2Flib-lawo-can/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDaD","download_url":"https://codeload.github.com/WebDaD/lib-lawo-can/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDaD%2Flib-lawo-can/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30520315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T19:51:21.629Z","status":"ssl_error","status_checked_at":"2026-03-14T19:51:12.959Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-17T22:10:27.236Z","updated_at":"2026-03-14T22:32:04.640Z","avatar_url":"https://github.com/WebDaD.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lib-Lawo-Can\nA small library to use the lawo-canbus.\n\nIt uses a patched Version of the canutils to make this work.\n\n## Installation\n\nAdd \"lib-lawo-can\" to your dependencies.\n(For Details, what happens next, see install.sh)\n\n## Usage\n\n```js\nvar LawoCan = require('lib-lawo-can') // Import class\nvar myCan = new LawoCan('vcan0') // create a new object on the CAN-Interface vcan0\nmyCan.on('read', function(data) {\n  // do something if a canMessage arrives\n  // data:\n  // data.vcan = The CAN-Interface\n  // data.id = The ID of the Message\n  // data.data = The Data as Array of Hex-Codes\n})\nvar id = 'C0C3000' // An Id for a Message\nvar data = ['00', '01'] // DataArray to send\nmyCan.send(id, data, function(error) { // Send the Message on the CAN-Interface\n  // Will return an Error or null\n})\n\nmyCan.destroy(function () { // destroys this object and closes the candump\n\n})\n\n```\n\n## Tests\nFor Testing purposes, the lib sends itself a message and creates a temporary CAN-Interface vcan99\n\nThe do `npm run test`\n\n# Acknowledgements\nThe patched canutils are made by Helmut Scholz, BR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdad%2Flib-lawo-can","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdad%2Flib-lawo-can","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdad%2Flib-lawo-can/lists"}