{"id":25830896,"url":"https://github.com/lab5e/at","last_synced_at":"2025-02-28T19:34:40.763Z","repository":{"id":47551957,"uuid":"302618983","full_name":"lab5e/at","owner":"lab5e","description":"Library for AT command interfaces on IoT devices.  For now only Sara N21x (and possibly N31x)","archived":false,"fork":false,"pushed_at":"2023-08-24T11:42:46.000Z","size":33,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-19T19:42:45.332Z","etag":null,"topics":["at-commands","bg95","golang","n210","n211","nb-iot","nrf91","sara","ublox"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab5e.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":"2020-10-09T11:17:39.000Z","updated_at":"2024-01-24T04:01:31.000Z","dependencies_parsed_at":"2024-06-19T19:02:08.475Z","dependency_job_id":"479797d0-4d33-4611-ab8e-92f6de1c6cd2","html_url":"https://github.com/lab5e/at","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/lab5e%2Fat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab5e","download_url":"https://codeload.github.com/lab5e/at/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241212344,"owners_count":19927926,"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":["at-commands","bg95","golang","n210","n211","nb-iot","nrf91","sara","ublox"],"created_at":"2025-02-28T19:34:36.226Z","updated_at":"2025-02-28T19:34:40.758Z","avatar_url":"https://github.com/lab5e.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AT command library\n\n**This is a work in progress.  Use at your own risk**\n\n[![GoDoc](https://godoc.org/github.com/lab5e/at?status.svg)](https://godoc.org/github.com/lab5e/at)\n\nThe AT command library is a Go library for communicating with mobile\nnetwork IoT modules via their AT command set.  Currently only the\nuBlox Sara N210/N211 is supported, but this library might work with\nthe uBlox N310 too.\n\nAs mentioned above this is a work in progress so expect things to\nchange around and maintainance of this library to be somewhat\nepisodic. \n\nIf you want to contribute or you have suggestions, please do not\nhesitate to contact @borud.\n\n\n## Sample code\n\n    package main\n    \n    import (\n    \t\"log\"\n    \t\"os\"\n    \n    \t\"github.com/lab5e/at/n211\"\n    )\n    \n    const baudRate = 9600\n    \n    func main() {\n    \tif len(os.Args) \u003c 2 {\n    \t\tlog.Fatalf(\"Usage %s \u003cserial device\u003e\", os.Args[0])\n    \t}\n    \n    \tdevice := n211.New(os.Args[1], baudRate)\n    \tif err := device.Start(); err != nil {\n    \t\tlog.Fatalf(\"Error opening device: %v\", err)\n    \t}\n    \tdefer device.Close()\n    \n    \t// Turn on debugging so you can see the interaction with the device\n    \tdevice.SetDebug(true)\n    \n    \t// Just send a blank AT command to verify the device is there\n    \tif err := device.AT(); err != nil {\n    \t\tlog.Fatalf(\"Error speaking to device on '%s': %v\", os.Args[1], err)\n    \t}\n    \tlog.Printf(\"Device seems to be responsive\")\n    }\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab5e%2Fat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab5e%2Fat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab5e%2Fat/lists"}