{"id":17299972,"url":"https://github.com/f4exb/tnc1101","last_synced_at":"2025-08-25T16:20:01.554Z","repository":{"id":30117706,"uuid":"33667605","full_name":"f4exb/tnc1101","owner":"f4exb","description":"Semi-virtual TNC using MSP430 + CC1101 RF module","archived":false,"fork":false,"pushed_at":"2015-04-12T23:58:48.000Z","size":768,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T01:48:07.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/f4exb.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":"2015-04-09T12:29:39.000Z","updated_at":"2023-11-15T20:42:34.000Z","dependencies_parsed_at":"2022-08-17T18:01:04.860Z","dependency_job_id":null,"html_url":"https://github.com/f4exb/tnc1101","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/f4exb%2Ftnc1101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f4exb%2Ftnc1101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f4exb%2Ftnc1101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f4exb%2Ftnc1101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f4exb","download_url":"https://codeload.github.com/f4exb/tnc1101/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881232,"owners_count":21176818,"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-15T11:24:58.959Z","updated_at":"2025-04-14T12:30:34.532Z","avatar_url":"https://github.com/f4exb.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"  tnc1101\n=======\n\nSemi-virtual TNC using MSP430 + CC1101 RF module to send data blocks over the air and a host client application to handle AX.25/KISS protocol\n\n#Introduction\n\nIt assumes the following architecture is in place:\n \u003cpre\u003e\u003ccode\u003e\n+--------------------------------------+\n| Host         Rasp-Pi, whatever...    |\n|                                      |\n|         TCP/IP                       |\n|           |                          |\n|  +-----------------------+           |\n|  | ax0 network interface |           |\n|  +-----------------------+           |\n|           ^                          |\n|           | AX.25/KISS               |\n|           V                          |\n|     /var/ax25/axp1                   |\n|           |                          |\n|           | Virtual serial cable     | \n|           |                          |\n|     /var/ax25/axp2                   |\n|           ^                          |\n|           |                          |\n|           V                          |\n|   +--------------------+             |\n|   | tnc1101 vitual TNC |\u003c- User parameters\n|   +--------------------+             |\n|           ^                          |\n+-----------|--------------------------+\n            | Serial over USB\n+-----------|--------------------------+\n| MCU       |             MSP430F5529  |\n|           v             Launchpad    |\n|   +------------------------+         |\n|   | CC1101 control program |         |\n|   +------------------------+         |\n|           ^                          |\n+-----------|--------------------------+\n            | SPI\n            |                   \\\\|/\n            V                    |\n    +-----------------+          |\n    | CC1101 module   |----------+\n    +-----------------+\n\u003c/code\u003e\u003c/pre\u003e\n\nThe application has two main components\n  - The MCU (MSP430F5529 Launchpad board) interface with the CC1101 RF module in `msp430` folder. It comprises the follwing functions:\n    - Initialize the CC1101 chip with parameters specified by the host client application\n    - Handle the CC1101 Rx and Tx 64 bytes FIFOs to handle data blocks up to 255 bytes called \"radio blocks\"\n  - The client application on the host that communicate with the MCU over USB. Located in `tnc1101` folder it does the following:\n    - Instructs the MCU to initialize the CC1101 module with the desired parameters\n    - Interface with the TNC end of the virtual serial link cable. See \"AX.25/KISS operation\" chapter about details on this virtual \"cable\".\n    - Handle KISS blocks and split them over radio blocks of up to 255 bytes\n    - Move radio blocks back and forth to the MCU via USB\n    - Provides diagnostics\n\nAdditional folders:\n  - The USB stack and interface to other functionnalities of the MSP430F5529 Launchpad board (SPI, ...) from TI are located in `MSP430_USB_API` folder.\n  - The interface with the CC1101 module is located in `MSP430_cc1101`\n  - Common files interfacing host and MCU software are located in the `common` folder\n  - The `scripts` directory contains convenience shell scripts to set-up and bring down AX25/KISS or SLIP interfaces\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff4exb%2Ftnc1101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff4exb%2Ftnc1101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff4exb%2Ftnc1101/lists"}