Projects » Connection API
The connection API is a utility to allow you to connect with your TI calculator through the computer. Can be used with games.
The general Idea of this, is that the API will be written in java. The programmer programs their code on the calc, and programs a java program on the computer, to interact with the calculator. The program could read a variable off of a calc. The problem is, that it won't read until it reaches a pause or getcalc statement. (This can be considered a good thing.)
It is a cross platform way to communicate with the Calculator. It will be programmed in java, and I will release API documentation. That's right! You can do various things, for example, connecting to a server using java, posting a high score, and then receive a list of the high scores to the computer running your java program, and then your java program would send that data to the calculator.
Not really satisfied? Another example could be where you are in school, and you want to play a game with a friend. A game that was designed with multiplayer in mind, but will only allow you to connect with that short little cable? Well, I might introduce a feature, like peer to peer transfer, in which both people will have their calculators connected to different computers, and they will be able to type something as simple as the username of the person you want to connect computers with, and then the network, like a school network, would see if a person by that username is logged on, and if he is running that program.
But wait, there's more! Imagine an app store, but for the TI, and completely free. That means, that if you want to download that nice new Zelda game, then you can just press enter, and within a few minutes, your program is on your calc.
But wait, that's not all! Say you made an app, that can run programs from ram, but you want a feature that you can be able to put someone else's program into your program. (Imagine DCS, only with the programs installed into it.) You can have you java program read your app, and the target program you want to install, and then the java program will see if the target program has any subprograms, that need to be installed with it, and then it will install it into your app, and the send the app back to your calc. Great for updates too!
|jnesselr||12 Apr 2010 00:55||Okay, so the program works on mac. Well, almost. I still have to finish a few things, but since I can send byes on the mac side, I should be able to start with the main java wrapper. I still don't know about windows, though.|
|jnesselr||16 Sep 2009 02:48||Oh my goodness. No wonder TI-Connect is so horrible. It's the calculators fault. Turns out, that to get one variable, you have to get a directory listing of every single one!!!! (That is to say, that I am working on it…)|
|jnesselr||12 Sep 2009 23:01||So I finally found a free USB logger, and could see the data sent/received. Yay!!! This project continues!!!|
|jnesselr||12 Sep 2009 03:12||I have been busy with things, but this projects is not dead. I am trying to see the variable data from a transfer. If you have a program that can do that, would you just do the variable A as 267193, recieve it from your calc, then send it back, and send me what bytes were sent to/received from the calc. This is for USB btw.|
|jnesselr||26 Jul 2009 06:02||If you start a variable transfer while in a program, it will end the program. I believe, that the calc can do getcalc to the computer. I will test it on Monday.|