Tuesday, August 9, 2011

Fit the Second

I've decided to dub this latest version of Elmo v0.2.
Most of the work I've been doing has been on the iPhone app - generally this is more problematic than the server because of my unfamiliarity of the development system. I've got to a point now where I've separated the raw network protocol from the Elmo specific protocol and the application logic - although it's not a brilliant implementation because the structure has evolved as I've learnt, it is along the right lines and should allow quite a bit of flexibility in what I do.
The low level network component has been stable for some time and most of my work has been on the Elmo protocol - which is now working well in both directions. The View rendering has been rewritten to use the configuration downloaded from the server rather than hard-coded data.
The final piece of the puzzle was in the server and that involved hooking up the commands sent by the iPhone to the actual IR codes that need to be transmitted. I decided to map these because it will make it more flexible later on, so there is a translation file on the server that takes the command from the iPhone and maps it to the device file and IR code that needs to be transmitted.
Last night I ran the whole edifice up on the iPhone and windows server simulators and it all hung together - so I now have fully configurable iPhone screens, command mapping and IR code generation. It looks the same as it did before but under the hood it's far more capable.
Next step is to get the whole lot working on the real server and iPhone and then work out what I need to do to make it into a practical system to do some initial real-life testing.

No comments:

Post a Comment