{"id":17964809,"url":"https://github.com/cvik/ecoap","last_synced_at":"2025-04-03T19:30:21.115Z","repository":{"id":57492498,"uuid":"279030414","full_name":"cvik/ecoap","owner":"cvik","description":"Simple CoAP encode/decode library for Erlang.","archived":false,"fork":false,"pushed_at":"2021-09-01T20:03:59.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T03:51:20.961Z","etag":null,"topics":["coap","erlang"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/cvik.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":"2020-07-12T09:16:33.000Z","updated_at":"2021-09-03T06:33:50.000Z","dependencies_parsed_at":"2022-08-28T11:51:23.096Z","dependency_job_id":null,"html_url":"https://github.com/cvik/ecoap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvik%2Fecoap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvik%2Fecoap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvik%2Fecoap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvik%2Fecoap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvik","download_url":"https://codeload.github.com/cvik/ecoap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247065020,"owners_count":20877688,"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":["coap","erlang"],"created_at":"2024-10-29T12:08:49.202Z","updated_at":"2025-04-03T19:30:21.082Z","avatar_url":"https://github.com/cvik.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ecoap - simple coap encode/decode library\n\nCoAP stands for Constrained Application Protocol, which is a Request/Response oriented\nbinary protocol meant to be used with embedded devices with limited memory (usually KiloBytes,\nnot Gigabytes).\n\nSee [RFC7252](https://datatracker.ietf.org/doc/html/rfc7252) for further details.\n\n## example usage\n\n```erlang\n1\u003e {ok, Packet} = ecoap:decode(\u003c\u003c68,2,62,111,119,104,82,128,177,49,1,50,1,51,255,100,97,116,97\u003e\u003e).\n{ok,#{code =\u003e post,msg_id =\u003e 15983,\n      options =\u003e\n          [{uri_path,\u003c\u003c\"1\"\u003e\u003e},{uri_path,\u003c\u003c\"2\"\u003e\u003e},{uri_path,\u003c\u003c\"3\"\u003e\u003e}], % full path /1/2/3\n      payload =\u003e \u003c\u003c\"data\"\u003e\u003e,\n      token =\u003e \u003c\u003c119,104,82,128\u003e\u003e,\n      type =\u003e confirmable}}\n\n2\u003e ecoap:encode(Packet).\n{ok,\u003c\u003c68,2,62,111,119,104,82,128,177,49,1,50,1,51,255,\n      100,97,116,97\u003e\u003e}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvik%2Fecoap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvik%2Fecoap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvik%2Fecoap/lists"}