{"id":40316438,"url":"https://github.com/lynaisy/rxserialport","last_synced_at":"2026-01-20T07:02:40.624Z","repository":{"id":231964713,"uuid":"123416031","full_name":"lynaisy/RxSerialPort","owner":"lynaisy","description":"基于Rxjava2.x的串口通信library ","archived":false,"fork":false,"pushed_at":"2018-03-17T02:46:07.000Z","size":136,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-07T03:54:51.784Z","etag":null,"topics":["android","rxjava2","serial-ports","serialport"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lynaisy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-03-01T09:55:45.000Z","updated_at":"2024-04-07T03:54:52.985Z","dependencies_parsed_at":"2024-04-07T04:05:02.331Z","dependency_job_id":null,"html_url":"https://github.com/lynaisy/RxSerialPort","commit_stats":null,"previous_names":["lynaisy/rxserialport"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lynaisy/RxSerialPort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynaisy%2FRxSerialPort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynaisy%2FRxSerialPort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynaisy%2FRxSerialPort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynaisy%2FRxSerialPort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lynaisy","download_url":"https://codeload.github.com/lynaisy/RxSerialPort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynaisy%2FRxSerialPort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":["android","rxjava2","serial-ports","serialport"],"created_at":"2026-01-20T07:02:33.481Z","updated_at":"2026-01-20T07:02:40.617Z","avatar_url":"https://github.com/lynaisy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RxSerialPort\n基于Rxjava2.x的串口通信library \n## 使用方法\n\n打开并监听串口，accept方法会一直保持回调，直到手动关闭串口\n\n        try {\n            SerialPortListener.statListen(\"/dev/ttyS3\", 9600, 0)\n                    .subscribeOn(Schedulers.io())\n                    .subscribe(new Consumer\u003cbyte[]\u003e() {\n                        @Override\n                        public void accept(byte[] bytes) throws Exception {\n                            //todo 实现业务逻辑\n                        }\n                    }, new Consumer\u003cThrowable\u003e() {\n                        @Override\n                        public void accept(Throwable throwable) throws Exception {\n\n                        }\n                    });\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n\n\n发送数据\n\n\tSerialPortSender.send(serialPortFileName,bytes);\n\n关闭串口\n\n\tSerialPortListener.stop(serialPortFileName);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynaisy%2Frxserialport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flynaisy%2Frxserialport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynaisy%2Frxserialport/lists"}