This wiki is not longer actively used and, due to years of spam, has unfortunately been locked from further editing by anonymous users. Only approved users can edit the wiki or add content. If you would like to contribute to this wiki, please contact the administrator Benjamin Mako Hill.

C4FCM/MBTA Hackathon: Difference between revisions

From Pedia
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
=== MIT NextBus ===
=== MIT NextBus ===


Documentation about the MIT NextBus feed is available in [https://docs.google.com/fileview?id=0ByHoPPJeHkzuOWUwOGEwZjgtNmMyOS00NmZhLTk2YTAtYjRjNzcwZDBlYWMz&hl=en this document], including how to access the various feeds.
=== LED Sign ===




=== LED Sign ===
=== Fossil Watches ===
=== Fossil Watches ===
From David Rosales of Fossil:
"Regarding communicating with the watches, there's a nice piece of [http://forum.xda-developers.com/showthread.php?t=554551 Android software]
[http://www.smartmadsoft.com/forum/index.php?action=vthread&forum=9&topic=151 with an API:]
...that can help you get an android application working with a watch very fast.
If you want to understand the watch's command set - I attached some documents to help clarify what the watch understands and expects.
Here's a short primer, or as short as I can make it :)
It's important to note that these watches were design for Sony Ericsson, so some of the software decisions on the watch are Sony Ericsson centric. Our goal was to make the watch as generic as possible, and we probably only got 80% there because of these decisions. Still, it's the most flexible connected watch on the planet today (and we have much more in the works).
The watches use the Bluetooth Serial Port Protocol (SPP) to communicate. Once paired to a Bluetooth device, the watch will automatically connect and open an SPP session and start sending an initialization sequence using AT commands.
The init sequence is detailed in the XLS for version 1 (MBW-100 and Fossil/Abacus) and version 2 (MBW-150).
The [https://docs.google.com/leaf?id=0ByHoPPJeHkzuMTdkOGUzY2QtMDlmNi00ZmI5LTljNzYtY2Q4NDZkZmI2ZDQ0&hl=en trace*.log] are the details of a command session between an MBW-200 watch and a Sony Ericsson phone.
Once the init sequence is compete, there are a set of commands the watch understands to synch time, enter display mode, vibrate, display text, display graphics, and exit display mode. These display commands are common across the watches.
The MBW-150 and MBW-200 watches have music functions that send additional commands when music control buttons are pressed. Again, these are a little Sony Ericsson specific and not perfect for hacking, but they are still very useful.
The official [https://docs.google.com/fileview?id=0ByHoPPJeHkzuODFlMTU4MzItNGI0My00ZDYwLTg4N2QtYzQyMjEyOTg2ODQ5&hl=en Sony Ericsson AT command pdf document] gives more details on how each command is implemented."
Here's an additional matrix showing all the [https://spreadsheets.google.com/ccc?key=0AiHoPPJeHkzudDNWYjViT25MZUo4WVFqdElzMXZVaHc&hl=en Bluetooth commands]--more condensed than the PDF by a long shot.

Revision as of 16:16, 29 January 2010

Mission

To create applications for the web, phone, and other technologies using recently-released data from MassDOT and MIT.

For more information, please go to our Eventbrite page.

Projects

Resources

MassDOT Data

All the MassDOT feeds and documentation are located at the MassDOT Developers page.

MIT NextBus

Documentation about the MIT NextBus feed is available in this document, including how to access the various feeds.

LED Sign

Fossil Watches

From David Rosales of Fossil: "Regarding communicating with the watches, there's a nice piece of Android software

with an API:

...that can help you get an android application working with a watch very fast.

If you want to understand the watch's command set - I attached some documents to help clarify what the watch understands and expects.

Here's a short primer, or as short as I can make it :)

It's important to note that these watches were design for Sony Ericsson, so some of the software decisions on the watch are Sony Ericsson centric. Our goal was to make the watch as generic as possible, and we probably only got 80% there because of these decisions. Still, it's the most flexible connected watch on the planet today (and we have much more in the works).

The watches use the Bluetooth Serial Port Protocol (SPP) to communicate. Once paired to a Bluetooth device, the watch will automatically connect and open an SPP session and start sending an initialization sequence using AT commands.

The init sequence is detailed in the XLS for version 1 (MBW-100 and Fossil/Abacus) and version 2 (MBW-150).

The trace*.log are the details of a command session between an MBW-200 watch and a Sony Ericsson phone.

Once the init sequence is compete, there are a set of commands the watch understands to synch time, enter display mode, vibrate, display text, display graphics, and exit display mode. These display commands are common across the watches.

The MBW-150 and MBW-200 watches have music functions that send additional commands when music control buttons are pressed. Again, these are a little Sony Ericsson specific and not perfect for hacking, but they are still very useful.

The official Sony Ericsson AT command pdf document gives more details on how each command is implemented."

Here's an additional matrix showing all the Bluetooth commands--more condensed than the PDF by a long shot.