{"id":20316060,"url":"https://github.com/lupyuen/tinycbor_test","last_synced_at":"2026-06-09T16:31:31.959Z","repository":{"id":87767335,"uuid":"444605179","full_name":"lupyuen/tinycbor_test","owner":"lupyuen","description":"TinyCBOR Test App for Apache NuttX OS","archived":false,"fork":false,"pushed_at":"2022-07-12T12:10:25.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T14:02:58.910Z","etag":null,"topics":["bl602","bl604","cbor","nuttx","pinecone","pinedio","riscv32"],"latest_commit_sha":null,"homepage":"https://lupyuen.github.io/articles/lorawan3","language":"C","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/lupyuen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["lupyuen"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["paypal.me/lupyuen"]}},"created_at":"2022-01-05T00:22:04.000Z","updated_at":"2022-01-06T00:41:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"07a2446e-2e5a-4028-9c49-e3081b8885c7","html_url":"https://github.com/lupyuen/tinycbor_test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lupyuen/tinycbor_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Ftinycbor_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Ftinycbor_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Ftinycbor_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Ftinycbor_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lupyuen","download_url":"https://codeload.github.com/lupyuen/tinycbor_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lupyuen%2Ftinycbor_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34116456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["bl602","bl604","cbor","nuttx","pinecone","pinedio","riscv32"],"created_at":"2024-11-14T18:24:03.418Z","updated_at":"2026-06-09T16:31:31.934Z","avatar_url":"https://github.com/lupyuen.png","language":"C","funding_links":["https://github.com/sponsors/lupyuen","paypal.me/lupyuen"],"categories":[],"sub_categories":[],"readme":"# TinyCBOR Test App for Apache NuttX OS\n\nRead the articles...\n\n-   [\"Encode Sensor Data with CBOR on Apache NuttX OS\"](https://lupyuen.github.io/articles/cbor2)\n\n-   [\"LoRaWAN on Apache NuttX OS\"](https://lupyuen.github.io/articles/lorawan3)\n\nThis repo depends on...\n\n-   [lupyuen2/tinycbor-nuttx](https://github.com/lupyuen2/tinycbor-nuttx)\n\nTo add this repo to your NuttX project...\n\n```bash\ncd nuttx/apps/examples\ngit submodule add https://github.com/lupyuen/tinycbor_test\n```\n\nThen update the NuttX Build Config...\n\n```bash\n## TODO: Change this to the path of our \"incubator-nuttx\" folder\ncd nuttx/nuttx\n\n## Preserve the Build Config\ncp .config ../config\n\n## Erase the Build Config\nmake distclean\n\n## For BL602: Configure the build for BL602\n./tools/configure.sh bl602evb:nsh\n\n## For ESP32: Configure the build for ESP32.\n## TODO: Change \"esp32-devkitc\" to our ESP32 board.\n./tools/configure.sh esp32-devkitc:nsh\n\n## Restore the Build Config\ncp ../config .config\n\n## Edit the Build Config\nmake menuconfig \n```\n\nIn menuconfig, enable the TinyCBOR Test App under \"Application Configuration\" → \"Examples\".\n\nIn NuttX Shell, enter this to run the app...\n\n```bash\ntinycbor_test\n```\n\n# Output Log\n\n```bash\nnsh\u003e tinycbor_test\ntest_cbor: Encoding { \"t\": 1234 }\nCBOR Output: 6 bytes\n  0xa1\n  0x61\n  0x74\n  0x19\n  0x04\n  0xd2\ntest_cbor2: Encoding { \"t\": 1234, \"l\": 2345 }\nCBOR Output: 11 bytes\n  0xa2\n  0x61\n  0x74\n  0x19\n  0x04\n  0xd2\n  0x61\n  0x6c\n  0x19\n  0x09\n  0x29\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupyuen%2Ftinycbor_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flupyuen%2Ftinycbor_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupyuen%2Ftinycbor_test/lists"}