C# TI-83+ linking library - Got a blacklink?

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

Do you own the black serial link?

Yes
4
29%
No
10
71%
 
Total votes: 14

User avatar
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?

Post by benryves »

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. :roll:
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?
KevinJB
Calc Wizard
Posts: 501
Joined: Sat 28 May, 2005 5:34 am
Location: Chesapeake, Virginia
Contact:

Post by KevinJB »

Indubitably, but why C#? Wouldn't C++ be better put to use?
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
KevinJB | RevSoft
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

I fail to see how C++ would offer any direct advantage over C#... and I prefer C#'s syntax to C++. Hence C#. :)
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

*IF* a calculator comes with a cable over here, it's the SilverLink, but typically only 83+ Silvers come with one, and the newer USB-enabled calculators only come with an A-MiniB cable.
ImageImage
Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

I agree with Andy 100%. That way I can raise my post count.
Image
KevinJB
Calc Wizard
Posts: 501
Joined: Sat 28 May, 2005 5:34 am
Location: Chesapeake, Virginia
Contact:

Post by KevinJB »

:roll:


Well, I just thought more people used C++ over C#, making the lib more widely used. Not my expertise. Ignore me.
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
KevinJB | RevSoft
lecks
Extreme Poster
Posts: 484
Joined: Fri 09 Sep, 2005 1:56 am

Post by lecks »

i have the usb mini cable that came with my 84 silver.. is that a blacklink?
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

It is black, but I think blacklink only refers to the 2.5 mm round I/O port to USB cable. You and me are gonna have to wait until they build mini-usb programs lecks.
Image
lecks
Extreme Poster
Posts: 484
Joined: Fri 09 Sep, 2005 1:56 am

Post by lecks »

the cable's black. i can wait... patience is a virtue
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

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
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

*cough*.... Universal Serial Bus ...

Perhaps you should say USB != 9-pin RS-232 serial? :) But the black link isn't RS-232... But it is 9-pin.
ImageImage
Image
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

That's my point exactly. 8)
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
lecks
Extreme Poster
Posts: 484
Joined: Fri 09 Sep, 2005 1:56 am

Post by lecks »

nobody's told me what the cable is that i have..
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

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]
KevinJB
Calc Wizard
Posts: 501
Joined: Sat 28 May, 2005 5:34 am
Location: Chesapeake, Virginia
Contact:

Post by KevinJB »

'Nuther topic, but it's not the black link or silver link. Shuush. Onto C# flames.

J/K :twisted:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
KevinJB | RevSoft
Post Reply