Jun 17
Architecture drafting
Here are a couple of rough sketches of architectures for the Atmosphericon system:Test one:
I could prototype a flow of information between a web application (Firefox) and a device (an Atmosphericon object) usingfile system access, which is built into every browser.
I could use the FT232R serial-USB chip as my cross-platform PC interface, and connect the serial chip to the Zigbee chip.
I could create a couple of files which emulate TX and RX buffers. I could use RealBasic to create a set of drivers which fould support all three platforms (Linux, OSX, Vista). These drivers would write all data from the virtual serial port RX buffer to an RX file, and poll the TX file for new data, writing it to the virtual TX buffer.
This might be a bit awkward, but it would work without a custom XPCOM module for Firefox.
Test two:
I have not researched this, but it occurred to me this weekend that the removable drive profile for USB might be cross-platform? If so, I might be able to fool any OS into thinking my device was a flash drive.
I would possibly have two pre-created files in the drive, and not allow the creation of any new files. I would, however, allow the TX file to be written to, and the RX file to be read.
My device would poll the TX file, and send any new data. It would delete data as it is sent. It would append the RX file with any new data that comes through the Zigbee channel.
This approach could potentially eliminate theUSB-serial driver, a serial port handler, and a serial-HTTP handler.
Some research needed!
No Comments
Leave a comment