Skip to content

Commit

Permalink
update readme with tnc_send_data issue
Browse files Browse the repository at this point in the history
  • Loading branch information
khusmann committed Dec 25, 2024
1 parent 4c75c2b commit 3781876
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,26 @@ asyncio.run(main())
To see what else you can do with this library, check out the examples in the
`benlink.client` module documentation.

## Known issues

If you try to send any data with `benlink.client.RadioClient.send_tnc_data` it
will immediately reply with a `INCORRECT_STATE` error. If you immediately retry
the command within two seconds, it will work. I have no idea why it does this.
In all of my btsnoop logs of the official app, the command appears to work on
the first try. If anyone can figure out what's going on here, please reply to
[this open issue](https://github.com/khusmann/benlink/issues/1)!

In any case, at some point I plan to add a higher-level interface for sending /
receiving TNC data that will automatically retry failed commands and queue /
combine message fragments.

## Roadmap

Things to do, in no particular order:
Things to do:

- [ ] Make a higher-level interface for sending / receiving TNC data (auto
retry, queue message fragments)
- [ ] Implement more commands and settings
- [ ] Make a higher-level interface for sending / receiving TNC data (right now
you have to break it into fragments)
- [ ] Find more radios that use this protocol and test them with this library
- [ ] Figure out firmware flashing process / protocol (this is key for long-term
independence from the HT app)
Expand Down
19 changes: 16 additions & 3 deletions src/benlink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,26 @@ async def main():
To see what else you can do with this library, check out the examples in the
`benlink.client` module documentation.
# Known issues
If you try to send any data with `benlink.client.RadioClient.send_tnc_data` it
will immediately reply with a `INCORRECT_STATE` error. If you immediately retry
the command within two seconds, it will work. I have no idea why it does this.
In all of my btsnoop logs of the official app, the command appears to work on
the first try. If anyone can figure out what's going on here, please reply to
[this open issue](https://github.com/khusmann/benlink/issues/1)!
In any case, at some point I plan to add a higher-level interface for sending /
receiving TNC data that will automatically retry failed commands and queue /
combine message fragments.
# Roadmap
Things to do, in no particular order:
Things to do:
- [ ] Make a higher-level interface for sending / receiving TNC data (auto
retry, queue message fragments)
- [ ] Implement more commands and settings
- [ ] Make a higher-level interface for sending / receiving TNC data (right now
you have to break it into fragments)
- [ ] Find more radios that use this protocol and test them with this library
- [ ] Figure out firmware flashing process / protocol (this is key for long-term
independence from the HT app)
Expand Down

0 comments on commit 3781876

Please sign in to comment.