Have been into DCE Generation last night (could not sleep ;) )
It's pretty straight forward:
1.) Add the device and the command it implements in the Webadmin (see e.g. CM11A for examples).
2.) go to trunk/src/sql2cpp from a compiled svn checkout and simply run "./sql2cpp"
(that will update the c++ database constants/objects to include your new devicetemplate id)
3.) go to trunk/src/DCEGen and run "./DCEGen -d <your devicetemplate id>"
4.) go to the newly created directory trunk/src/<your device template name> and do a "make bin"
5.) add a new device from your template
6.) start your device with "./<your device template name> -d <your device id>"
7.) watch the successful connection to the router and verify the "Registered: yes" for your device in the web interface
i will add a wiki page after extending some commands and events.
best regards,
Hari
Sweet!
I think I'm gonna have to check that out..
here we go... CRASH course in C++...
Quote from: ddamron on January 04, 2008, 12:31:39 PM
Sweet!
I think I'm gonna have to check that out..
here we go... CRASH course in C++...
if you have programming experience it should not be that hard (and i can safely assume that from your contributions). I'm still searching for some good reference as my last c++ coding was years ago.
best regards,
Hari
lol..
No, I don't know how to code..
I just take what others give me and rehash it. ::)
lol
I started the Ruby code for PLCBUS. very basic, but I want to capitalize on what I've learned...
I'll start another thread with the framework..
Dan
as i said before Dan.. just go into C++ knowing it's a brain damaged language, and you'll be just fine. ;)
-Thom