first compilation / general questions

Apr 29, 2010 at 3:14 PM
Edited Apr 29, 2010 at 3:47 PM


Thanks for your great job !

 I 'm using : Visual Studio 2008 / Windows XP SP2 / eibmarkt N0000401 KnX/IP gateway.

 I downloaded 0.2.1 release and last source codes.

The release connection to knx gateway -->OK
The webserver starts --> OK
But Could not send a 1 bit value using the Send command page :-( ..
is there any documentation on how to use that page ?

So I tried compiling the sources :
1/ when I open the solution : I get two errors :

File not found : EIBWatchdog.vcproj
File not found : EIBRelay.vcproj
It opens anyway ...

2/ I compiled EIBServer and WebServer And I found that these versions need different config files than those on the release distribution..
I could get them to run But I can not manage to get the webserver connect to the eibserver, I keep getting "10054 socket error" : Can you help me please ?

here is the output of web server :
Initializing Log manager...Successful
Reading Configuration file...Successful.
Initializing Users DB...Successful.
Initializing WEB Interface...Successful.
WEB Server Address is
WEB Server started on Thu Apr 29 16:12:51 2010
[nabil] [Send] Client Hello [ -->]
[nabil] Cannot connect to eib server... Reason: Socket error: 10054: (10054) Unknown error
[nabil] [Send] Client Hello [ -->]
[nabil] Cannot connect to eib server... Reason: Socket error: 10054: (10054) Unknown error

Cannot establish connection with EIB Server!

Press q to stop WEB Server:

Apr 29, 2010 at 3:50 PM
Edited Apr 29, 2010 at 5:37 PM

Hi again,

It worked : in the new config file for webserver I had to put something like:
instead of
since the new EIBServer does not have the local_ip_address parameter anymore.

Again I got the send command problem...

It worked but I had to replace in file : Client.cpp / Ln101
InternalNetMsg* data = (InternalNetMsg*)(buffer + sizeof(EibNetworkHeader));
InternalNetMsg* data = (InternalNetMsg*)(buffer );

And I had to use 0x81 to get On for 1 bit Adress group and 0x80 to send off

I continue trying.

Thanks if you have any documentation :)


May 16, 2010 at 8:20 PM

I'm sorry for not documenting the projects properly, but i would be more than happy to help you with any issue.

as for your questions, it seems like you figuered it out finally, but i am planning next release in the following month that will include "EIB Realy" - a small program that will allow more than one connection to the KNX/Router,

and the main app would be an Android application to control the KNX installation , so stay tuned...


Thanks, Yosi.