{"id":31063500,"url":"https://github.com/dfieschko/rp1210","last_synced_at":"2025-09-15T13:09:30.912Z","repository":{"id":37899513,"uuid":"416904942","full_name":"dfieschko/RP1210","owner":"dfieschko","description":"A Python32 implementation of the RP1210C standard. Now with 100% test coverage!","archived":false,"fork":false,"pushed_at":"2025-09-04T15:39:56.000Z","size":5633,"stargazers_count":26,"open_issues_count":19,"forks_count":15,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-09-11T08:05:52.984Z","etag":null,"topics":["32-bit","automotive","diagnostics","j1939","python3","rp1210"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dfieschko.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":"2021-10-13T21:37:09.000Z","updated_at":"2025-07-18T05:38:29.000Z","dependencies_parsed_at":"2024-06-05T16:51:50.377Z","dependency_job_id":null,"html_url":"https://github.com/dfieschko/RP1210","commit_stats":{"total_commits":396,"total_committers":6,"mean_commits":66.0,"dds":"0.21717171717171713","last_synced_commit":"8ae31f9b272a9026e047cc2166d1b22d4a8f9ce0"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/dfieschko/RP1210","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfieschko%2FRP1210","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfieschko%2FRP1210/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfieschko%2FRP1210/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfieschko%2FRP1210/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfieschko","download_url":"https://codeload.github.com/dfieschko/RP1210/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfieschko%2FRP1210/sbom","scorecard":{"id":338992,"data":{"date":"2025-08-11","repo":{"name":"github.com/dfieschko/RP1210","commit":"f4ee64760d06c47ef8f7d06e7fc2849be59c0c26"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 6/11 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pytest.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":0,"reason":"binaries present in source code","details":["Warn: binary detected: Test/test-files/dlls/CIL7R32.DLL:1","Warn: binary detected: Test/test-files/dlls/CMNSI632.dll:1","Warn: binary detected: Test/test-files/dlls/CMNSPT32.dll:1","Warn: binary detected: Test/test-files/dlls/DGDPA35.dll:1","Warn: binary detected: Test/test-files/dlls/DGDPA5MA.dll:1","Warn: binary detected: Test/test-files/dlls/DGDPA5SA.dll:1","Warn: binary detected: Test/test-files/dlls/DTKRP32.dll:1","Warn: binary detected: Test/test-files/dlls/DrewLinQ.dll:1","Warn: binary detected: Test/test-files/dlls/NULB2H32.dll:1","Warn: binary detected: Test/test-files/dlls/NULB2J32.dll:1","Warn: binary detected: Test/test-files/dlls/NULN2R32.dll:1","Warn: binary detected: Test/test-files/dlls/NULU2H32.dll:1","Warn: binary detected: Test/test-files/dlls/NULU2J32.dll:1","Warn: binary detected: Test/test-files/dlls/NULW2H32.dll:1","Warn: binary detected: Test/test-files/dlls/NULW2J32.dll:1","Warn: binary detected: Test/test-files/dlls/PEAKRP32.dll:1","Warn: binary detected: Test/test-files/dlls/dgDPA532.dll:1","Warn: binary detected: Test/test-files/dlls/dlausb32.dll:1","Warn: binary detected: Test/test-files/dlls/dlausu32.dll:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pytest.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/dfieschko/RP1210/pytest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pytest.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dfieschko/RP1210/pytest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/dfieschko/RP1210/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/dfieschko/RP1210/python-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-publish.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/dfieschko/RP1210/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:30","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T05:21:19.291Z","repository_id":37899513,"created_at":"2025-08-18T05:21:19.291Z","updated_at":"2025-08-18T05:21:19.291Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275261186,"owners_count":25433513,"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-15T02:00:09.272Z","response_time":75,"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":["32-bit","automotive","diagnostics","j1939","python3","rp1210"],"created_at":"2025-09-15T13:09:27.963Z","updated_at":"2025-09-15T13:09:30.898Z","avatar_url":"https://github.com/dfieschko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RP1210 for Python\n\n```\npip install rp1210\n```\nA Python module for interacting with RP1210 adapter drivers, following the RP1210C standard.\nContributions welcome!\n\n**Note from the author:** I no longer work with RP1210 regularly (or at all) and have no need to work with and no access to RP1210 adapters. As such, I'm not actively updating this package anymore. Contributions and bug reports are still welcome.\n\n**This module is considered 'complete', mostly by dint of me not updating it anymore.**\n\nSome documentation and examples are available in [this repo's wiki](https://github.com/dfieschko/RP1210/wiki) and the Examples folder.\n\nThis module was written and tested with Python 3.9 and 3.10, 32-bit. Older (and newer) Python versions have not been tested and may not be supported.   \n32-bit Python is required because RP1210 drivers are all 32-bit,\nand can thus only be loaded with 32-bit Python. A 64-bit implementation via\n[MSL-LoadLib](https://github.com/MSLNZ/msl-loadlib) is possible and may be released as a separate\nmodule sometime in the future.\n\nNot all aspects of the RP1210C standard are fully implemented as independent features. Currently, my focus is on J1939 communication.\nOther protocols have significantly less support, but you can still access all the low-level commands via the `RP1210API` class.\n\nWhile I try to provide adequate documentation, the RP1210C standard is owned by TMC, not me, and is\nnot reproduced here. For a complete understanding of the RP1210 standard, you must purchase and\nread the official RP1210C documentation from TMC.\n\nOfficial RP1210C documentation can be purchased from TMC at this link ($37.50 at time of writing):\n    https://www.atabusinesssolutions.com/Shopping/Product/viewproduct/2675472/TMC-Individual-RP\n\n### Getting Started\n```python\nfrom RP1210 import RP1210Client, translateErrorCode\n\n# init client\nclient = RP1210Client()\n\n# select vendor and device\nclient.setVendor(\"NULN2R32\") # Nexiq USB-Link 2 in this case\nclient.setDevice(1) # wired USB-Link 2\n\n# connect to adapter w/ specified protocol\nclientID = client.connect(b'J1939:Baud=Auto') # will return clientID or error code\nerror_msg = translateErrorCode(clientID)\nif error_msg != \"NO_ERRORS\": # failed to connect\n   print(\"Connection failed:\", error_msg)\n\n# read all messages (no filter)\nclient.setAllFiltersToPass()\n\n# send a message\nmsg = b'message contents'\nerr_code = client.tx(msg)\nprint(\"Tx Result:\", translateErrorCode(err_code))\n\n# read messages\nwhile True:\n   msg = client.rx()\n   if msg: # message was received\n      print(msg)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfieschko%2Frp1210","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfieschko%2Frp1210","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfieschko%2Frp1210/lists"}