{"id":15648136,"url":"https://github.com/noracodes/rn2903","last_synced_at":"2025-03-29T23:45:40.680Z","repository":{"id":84925782,"uuid":"230797567","full_name":"NoraCodes/rn2903","owner":"NoraCodes","description":"A Rusty interface for the RN2903 LoRa module's serial protocol [mirror]","archived":false,"fork":false,"pushed_at":"2020-01-01T19:35:07.000Z","size":1822,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T01:42:09.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NoraCodes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.html","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":"2019-12-29T20:03:59.000Z","updated_at":"2020-01-01T19:35:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"7354672b-bcb9-4d34-99e9-9b0fe0a09951","html_url":"https://github.com/NoraCodes/rn2903","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Frn2903","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Frn2903/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Frn2903/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Frn2903/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoraCodes","download_url":"https://codeload.github.com/NoraCodes/rn2903/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258866,"owners_count":20748573,"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","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-10-03T12:23:41.724Z","updated_at":"2025-03-29T23:45:40.661Z","avatar_url":"https://github.com/NoraCodes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RN2903\n## A Rusty interface for the RN2903 LoRa module's serial protocol\n\nThe RN2903 is a LoRa and FSK transciever for the 915MHz ISM band, commonly used in USB\ndevices like the LoStik.\n\nThis crate provides a safe, idiomatic interface using cross-platform native serial\nfunctionality via `serialport`. This supports, for instance, a LoStik connected to a USB\nTTY or virtual COM port, or a RN2903 connected via a TTL serial interface.\n\nThis crate is available under the GNU General Public License, version 3.0 only, and does\nnot directly depend on unstable crates.\n\n## Example\n\nFor instance, here is a simple program which dumps all LoRa packets received.\n\n```rust\nuse rn2903::{Rn2903, ModulationMode};\n\nfn main() {\n    let mut txvr = Rn2903::new_at(\"/dev/ttyUSB0\")\n        .expect(\"Could not open device. Error\");\n    txvr.mac_pause().unwrap();\n    txvr.radio_set_modulation_mode(ModulationMode::LoRa).unwrap();\n    loop {\n        if let Some(packet) = txvr.radio_rx(65535).unwrap() {\n            println!(\"{:?}\", packet);\n        }\n    }\n}\n```\n\n## Module Documentation\n\nThis repository reproduces the relevant documents for the RN2903 module at\n[command_reference-40001811B.pdf](docu/command_reference-40001811B.pdf) and\n[datasheet-DS5000239H.pdf](docu/datasheet-DS5000239H.pdf).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Frn2903","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoracodes%2Frn2903","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Frn2903/lists"}