{"id":13420287,"url":"https://github.com/stephane/libmodbus","last_synced_at":"2026-02-13T18:04:58.018Z","repository":{"id":786337,"uuid":"481977","full_name":"stephane/libmodbus","owner":"stephane","description":"A Modbus library for Linux, Mac OS, FreeBSD and Windows","archived":false,"fork":false,"pushed_at":"2025-12-18T09:49:57.000Z","size":1852,"stargazers_count":3989,"open_issues_count":191,"forks_count":1901,"subscribers_count":210,"default_branch":"master","last_synced_at":"2025-12-20T08:17:10.562Z","etag":null,"topics":["automation","c","libmodbus","modbus"],"latest_commit_sha":null,"homepage":"http://libmodbus.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephane.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING.LESSER","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["stephane"],"polar":"stephane"}},"created_at":"2010-01-21T10:42:06.000Z","updated_at":"2025-12-20T05:01:42.000Z","dependencies_parsed_at":"2023-07-05T18:48:48.844Z","dependency_job_id":"4e89ae5c-1376-4ff1-ac62-5efb28d5823c","html_url":"https://github.com/stephane/libmodbus","commit_stats":{"total_commits":853,"total_committers":70,"mean_commits":"12.185714285714285","dds":0.1535756154747948,"last_synced_commit":"b25629bfb508bdce7d519884c0fa9810b7d98d44"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/stephane/libmodbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane%2Flibmodbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane%2Flibmodbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane%2Flibmodbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane%2Flibmodbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephane","download_url":"https://codeload.github.com/stephane/libmodbus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephane%2Flibmodbus/sbom","scorecard":{"id":851263,"data":{"date":"2025-08-11","repo":{"name":"github.com/stephane/libmodbus","commit":"bb1344325025e59bb33144394bdacd8298283834"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"Code-Review","score":1,"reason":"Found 4/30 approved changesets -- score normalized to 1","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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"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/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/stephane/libmodbus/build.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING.LESSER:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v2.1: COPYING.LESSER:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.1.11 not signed: https://api.github.com/repos/stephane/libmodbus/releases/181179908","Warn: release artifact v3.1.10 not signed: https://api.github.com/repos/stephane/libmodbus/releases/85346289","Warn: release artifact v3.1.9 not signed: https://api.github.com/repos/stephane/libmodbus/releases/84889233","Warn: release artifact v3.1.8 not signed: https://api.github.com/repos/stephane/libmodbus/releases/74644217","Warn: release artifact v3.1.7 not signed: https://api.github.com/repos/stephane/libmodbus/releases/56673880","Warn: release artifact v3.1.11 does not have provenance: https://api.github.com/repos/stephane/libmodbus/releases/181179908","Warn: release artifact v3.1.10 does not have provenance: https://api.github.com/repos/stephane/libmodbus/releases/85346289","Warn: release artifact v3.1.9 does not have provenance: https://api.github.com/repos/stephane/libmodbus/releases/84889233","Warn: release artifact v3.1.8 does not have provenance: https://api.github.com/repos/stephane/libmodbus/releases/74644217","Warn: release artifact v3.1.7 does not have provenance: https://api.github.com/repos/stephane/libmodbus/releases/56673880"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 4 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-23T22:37:28.335Z","repository_id":786337,"created_at":"2025-08-23T22:37:28.335Z","updated_at":"2025-08-23T22:37:28.335Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"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":["automation","c","libmodbus","modbus"],"created_at":"2024-07-30T22:01:30.474Z","updated_at":"2026-02-13T18:04:57.986Z","avatar_url":"https://github.com/stephane.png","language":"C","readme":"# A groovy modbus library\n\n![Build Status](https://github.com/stephane/libmodbus/actions/workflows/build.yml/badge.svg)\n[![Coverity Scan Build Status](https://scan.coverity.com/projects/8058/badge.svg)](https://scan.coverity.com/projects/libmodbus)\n\n## Overview\n\nlibmodbus is a free software library to send/receive data with a device which\nrespects the Modbus protocol. This library can use a serial port or an Ethernet\nconnection.\n\nThe functions included in the library have been derived from the Modicon Modbus\nProtocol Reference Guide which can be obtained from [www.modbus.org](http://www.modbus.org).\n\nThe license of libmodbus is *LGPL v2.1 or later*.\n\nThe official website is [www.libmodbus.org](http://www.libmodbus.org). The\nwebsite contains the latest version of the documentation.\n\nThe library is written in C and designed to run on Linux, Mac OS X, FreeBSD, Embox,\nQNX and Windows.\n\nYou can use the library on MCUs with Embox RTOS.\n\n## Installation\n\nYou will only need to install automake, autoconf, libtool and a C compiler (gcc\nor clang) to compile the library and asciidoc and xmlto to generate the\ndocumentation (optional).\n\nTo install, just run the usual dance, `./configure \u0026\u0026 make install`. Run\n`./autogen.sh` first to generate the `configure` script if required.\n\nYou can change installation directory with prefix option, eg. `./configure\n--prefix=/usr/local/`. You have to check that the installation library path is\nproperly set up on your system (*/etc/ld.so.conf.d*) and library cache is up to\ndate (run `ldconfig` as root if required).\n\nThe library provides a *libmodbus.pc* file to use with `pkg-config` to ease your\nprogram compilation and linking.\n\nIf you want to compile with Microsoft Visual Studio, you should follow the\ninstructions in `./src/win32/README.md`.\n\nTo compile under Windows, install [MinGW](http://www.mingw.org/) and MSYS then\nselect the common packages (gcc, automake, libtool, etc). The directory\n*./src/win32/* contains a Visual C project.\n\nTo compile under OS X with [homebrew](http://mxcl.github.com/homebrew/), you\nwill need to install the following dependencies first: `brew install autoconf\nautomake libtool`.\n\nTo build under Embox, you have to use its build system.\n\n## Testing\n\nSome tests are provided in *tests* directory, you can freely edit the source\ncode to fit your needs (it's Free Software :).\n\nSee *tests/README* for a description of each program.\n\nFor a quick test of libmodbus, you can run the following programs in two shells:\n\n1. ./unit-test-server\n2. ./unit-test-client\n\nBy default, all TCP unit tests will be executed (see --help for options).\n\nIt's also possible to run the unit tests with `make check`.\n\n## To report a bug or to contribute\n\nSee [CONTRIBUTING](CONTRIBUTING.md) document.\n\n## Documentation\n\nYou can serve the local documentation with:\n\n```shell\npip install mkdocs-material\nmkdocs serve\n```\n","funding_links":["https://github.com/sponsors/stephane","https://polar.sh/stephane"],"categories":["TODO scan for Android support in followings","C","Messaging","Industrial protocols"],"sub_categories":["Modbus","Modbus (Yes it's still alive)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane%2Flibmodbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephane%2Flibmodbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephane%2Flibmodbus/lists"}