{"id":20398050,"url":"https://github.com/zgbjgg/gnuart","last_synced_at":"2026-04-18T14:04:29.642Z","repository":{"id":14110325,"uuid":"16814996","full_name":"zgbjgg/gnuart","owner":"zgbjgg","description":"The UART erlang application","archived":false,"fork":false,"pushed_at":"2014-02-18T17:43:28.000Z","size":180,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-25T01:52:29.058Z","etag":null,"topics":["erlang","uart"],"latest_commit_sha":null,"homepage":"https://github.com/zgbjgg/gnuart","language":"C","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/zgbjgg.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}},"created_at":"2014-02-13T19:51:45.000Z","updated_at":"2017-06-30T20:29:53.000Z","dependencies_parsed_at":"2022-09-13T01:33:37.457Z","dependency_job_id":null,"html_url":"https://github.com/zgbjgg/gnuart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zgbjgg/gnuart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgbjgg%2Fgnuart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgbjgg%2Fgnuart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgbjgg%2Fgnuart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgbjgg%2Fgnuart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zgbjgg","download_url":"https://codeload.github.com/zgbjgg/gnuart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zgbjgg%2Fgnuart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["erlang","uart"],"created_at":"2024-11-15T04:18:05.093Z","updated_at":"2026-04-18T14:04:26.291Z","avatar_url":"https://github.com/zgbjgg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"gnuart - the UART erlang application\n======\n\nCompile the application and build the shared object\n\n\t$ make all\n\nBefore start application, you must configure priv/gnuart.uart file. This file is the configuration where \nthe devname must be set. The order of the specs is:\n\n\tdevname minimun_time maximum_time timeout\n\nThe specs can be changed at the runtime and could be reloaded when write data to devname.\n\nStart the application with the code loaded \n\n\t$ erl -pa ebin/\n\t\n\t1\u003e application:start(gnuart).\n\tok\n\t\nFrom a valid process, subscribe it to gnuart\n\n\t2\u003e gnuart:subscribe().\n\t{ok,#Ref\u003c0.0.0.39\u003e}\n\t\nOpen the device before send some command\n\n\t3\u003e gnuart:open().\n\tok\n\t4\u003e flush().\n\tShell got {got,#Ref\u003c0.0.0.39\u003e,\u003c\u003c\"device_open\"\u003e\u003e}\n\tok\n\nSend bytes\n\n\t5\u003e gnuart:flush(\"AA0065\").\n\t{ok,flush}\n\t\nThe response is delivered to the calling process (subscribed)\n\n\t6\u003e flush().\n\tShell got {got,#Ref\u003c0.0.0.39\u003e,\u003c\u003c\"FF0000\"\u003e\u003e}\n\tok\n\t\nThe device can be closed using\n\n\t7\u003e gnuart:close().\n\tShell got {got,#Ref\u003c0.0.0.37\u003e,\u003c\u003c\"device_close\"\u003e\u003e}\n\tok\n\t\nHowever you can unsubscribe a process\n\n\t8\u003e gnuart:unsubscribe(Ref).\n\t{ok,unsubscribe}\n\t\n\t\nLicense\n===\nSee LICENSE.txt for more information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgbjgg%2Fgnuart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzgbjgg%2Fgnuart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgbjgg%2Fgnuart/lists"}