C# TI-83+ linking library - Got a blacklink?
Moderator: MaxCoderz Staff
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
C# TI-83+ linking library - Got a blacklink?
I'm developing a C# library ("bunch of classes", if you like) for linking with the TI-83 Plus using the blacklink. Adding support for the grey link would be (in theory) trivial, but not owning a grey link makes testing a little tricky.
The blacklink should be the easiest to support - every TI-83 Plus calculator sold here (UK) comes with one, for starters. However, apparently this is not the case in the USA - what cable do you have?
There are 3 classes - HardwareLink, SoftwareLink and TI83PlusLink. Each one needs the lower-level one to operate - so you can use a HardwareLink alone, but creating a SoftwareLink creates a HardwareLink too. The HardwareLink simply sends/receives bytes over the plain TI byte protocol. The SoftwareLink class provides functions to handle data packets - it'll wrap raw data into packets for you (calculating checksums &c) and has a few standard packets set up already (CheckAcknowledge, SendAcknowledge etc).
The TI83PlusLink class adds high level functions; GetScreenshot fills a Bitmap with a screenshot, GetDirectoryListing fills an ArrayList with variable headers.
I'm trying to make this project rock solid; all functions time out cleanly, and they all return booleans (true on success, false on failure).
Woud you find this useful?
The blacklink should be the easiest to support - every TI-83 Plus calculator sold here (UK) comes with one, for starters. However, apparently this is not the case in the USA - what cable do you have?
There are 3 classes - HardwareLink, SoftwareLink and TI83PlusLink. Each one needs the lower-level one to operate - so you can use a HardwareLink alone, but creating a SoftwareLink creates a HardwareLink too. The HardwareLink simply sends/receives bytes over the plain TI byte protocol. The SoftwareLink class provides functions to handle data packets - it'll wrap raw data into packets for you (calculating checksums &c) and has a few standard packets set up already (CheckAcknowledge, SendAcknowledge etc).
The TI83PlusLink class adds high level functions; GetScreenshot fills a Bitmap with a screenshot, GetDirectoryListing fills an ArrayList with variable headers.
I'm trying to make this project rock solid; all functions time out cleanly, and they all return booleans (true on success, false on failure).
Woud you find this useful?
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
Let him use any language he want to. No need for high-pressure C++ salesmenship.
- TI Site:
Grey Link = Old Serial
Black Link = New Serial
USB != Serial
- TI Site:
Grey Link = Old Serial
Black Link = New Serial
USB != Serial
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
That's my point exactly.
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
The only USB link I know of the "silver link." It really bugs me that TI names their cables after colors.
My diet consists of nails, code-stealers, and HP fans.
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Projects:
Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]