Since the week of developing the source code, I've been reading the Elk RS-232 documentation and I took my time to layout the code and I made the code as readable as possible. I structure the code so everything looks almost as consistant, and when done, I've written my simple keypad application designed to take advantage of the Elk interface DLL. When I say that I debugged my code, I've used DockLight to figure out what I did wrong and it turned out that I must use "\r\n" (CR-LF) as indicated in the RS-232 documentation. I've discovered that using SerialPort.WriteLine() does not work, so I have to write "\r\n" manually after the checksum calculator.
For Linux and Mac users out there, you can install Mono using your package manager (I prefer YAST under openSUSE 11 better than Synaptic Package Manager under Ubuntu, but to each their own). I have openSUSE 11 virtualized under Windows XP and I haven't tested it yet, so if you have Linux and have Mono installed, give it a try!
One thing that I'd like to mention: I don't know what to name the Elk Interface (I couldn't use the word "my" since I want to put this up in the public domain (I did provide links to websites, such as Elk Products, SmartLabs, Z-Wave, including the others mentioned in the readme file).
So, attached below is the code and Windows DLL for Elk Interface.
I hope Elk does not mind when posting the source code in the public domain.
Updated to 0.2.0 from 0.1.0 instead of 0.1.1 due to name change and some code changes. Any code/name changes will probably have the minor version be up by one.
Update: Okay, renamed to I-Elk.net!
Updated file: 0.2.0 -> 0.2.3
(Please note: Today, November 23, is my birthday, so I won't be making any changes to my source code. See more information in a new post, located in second page.)
Edited by Grayson Peddie, 23 November 2008 - 01:46 AM.