Wednesday, October 19, 2011

IT WORKS! (at least what is testable to this point)

Just a quick update, up to this point I have tested setting up a Bluetooth server socket and having it scan for connections.  In addition, the structure of the code should be about what it will be in the final version, this means that the BlueMesh project is looking promising.

The next step is to have another socket scanning for a server socket and bind to it.  Once this is done, it should be smooth sailing writing code to manage these connections and to route data.

More to come soon!

Monday, October 17, 2011

This week at BlueMesh

This week I have been working on restructuring the code such that it is much more modular.  I am currently finishing writing all of the most basic code needed to setup a mesh network over Bluetooth which will hopefully be done by the end of this week or early next week.  Once that is done, the next step will be to do some extensive testing and write functionality to handle problems with connections.

In order to test my project I need 3 Android 2.0+ devices MINIMUM which seems to be a little bit of a problem.  I currently have my phone (Thunderbolt) and the two RCOS phones (G1), but those need to be upgraded to 2.0 which might take some time.  Unfortunately I still have not found a way to emulate Bluetooth hardware so that I can test my project from my computer so my only means of testing at this point is to use these phones.

-Jerry

Saturday, October 1, 2011

CRC and more

Most recently I have written a CRC class which is meant to take the IDs of all the devices in the network and calculate a CRC over them in order to check that each device knows everybody who is in the network.  This class may also be useful in the future because checksums are important when dealing with multiple devices in order to ensure that no information is lost.

This week I will be looking more into exactly how to connect devices over bluetooth and how to send data over those connections.  I have the general framework that I think I will need mostly set up at this point and the rest should be filling in the bluetooth functionality.  I will also be writing up some more documentation this week so it will be easier for anyone who wishes to help.