Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - guigolum

Pages: 1 2 [3]
31
Developers / knx, linuxmce, eib part, ... help?
« on: June 30, 2008, 06:52:24 pm »
EDIT: now working on implementing knx through eibd in linuxmce.
so making a dcedevice to communicate with eibd

old message:


hi

i would like to implement more the knx protocol:
a device on the knx bus is supposed to have a couple adress: one to receive order, one to send back state.

i suppose it is only a matter of translation, but i 'd like to have some help on where in the code is the adress storage coded? and btw, any advise that could help me..

thanx

32
Developers / Re: EIB read function requirement
« on: June 23, 2008, 03:41:08 pm »
thanx for the linking :)

33
gonna see if i can do something for it...

34
Developers / Re: EIB read function requirement
« on: June 20, 2008, 08:58:33 am »
ok, it was very simple actually. i am not sure how the telegram is supposed to be made, but i think it's okay with
Code: [Select]
void EIB::CMD_EIB_Read(string sAddress,string &sCMD_Result,Message *pMessage)
//<-dceag-c275-e->
{
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Received a Read request",);

if(sAddress.length() == 0) {
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Empty Group Address passed as parameter");
return;
}

TelegramMessage tlmsg;
tlmsg.setActionType(READ);

m_msgPool.sendTelegram(&tlmsg);
}
i just needed to know what was a read command; when it's juste a 'please give me your information' one...

i only need to succeed in compiling..

35
Developers / Re: EIB read function requirement
« on: June 15, 2008, 09:22:16 pm »
it seems not to work..

what i've done:

search in the full tree for any file including the EIB_Read word.
for this problem i got only this result:(took me an hour or so to search with find, grep)

./src/Windows_Share_Scanner/Windows_Share_Scanner
./src/Windows_Share_Scanner/.svn/text-base/Windows_Share_Scanner.svn-base
./src/pluto_main/.svn/text-base/Define_Command.h.svn-base
./src/pluto_main/Define_Command.h
./src/Gen_Devices/.svn/text-base/AllCommandsRequests.h.svn-base
./src/Gen_Devices/.svn/text-base/EIBBase.h.svn-base
./src/Gen_Devices/AllCommandsRequests.h
./src/Gen_Devices/EIBBase.h
./src/EIB/.svn/text-base/EIB.cpp.svn-base
./src/EIB/.svn/text-base/EIB.h.svn-base
./src/EIB/EIB.h
./src/EIB/EIB.cpp

several of them are no code.
excluding the EIB.h /.cpp files, i have:

./src/pluto_main/Define_Command.h only defines consts

./src/EIB/.svn/text-base/EIB.cpp.svn-base and ./src/EIB/.svn/text-base/EIB.h.svn-base are just copies of EIB.h and EIB.cpp

in ./src/Gen_Devices/EIBBase.h is only the name of the function, to override.

./src/Gen_Devices/AllCommandsRequests.h just declares functions, doesnt use em.

so i just don't understand where is that function supposed to be used in?

36
Developers / Re: EIB read function requirement
« on: June 14, 2008, 08:17:46 pm »
thank you, i do it and ask for any question.. or for the answer

37
Developers / EIB read function requirement
« on: June 14, 2008, 02:24:39 pm »
hi, i am trying to implement the read function on the eib programm.

but i don't know what is it supposed to do:
do one know where i could get the base idea of this function? the comments are not.. present, so i don't even know:
is the adress parameter supposed to be a filter?(the adress group of the eibd)? i think so because the overload makes a copy of it, meaning the adress isn't changed. this way of working means read(adress) only pops the last message sent on the bus with the destination of(adress). but i rather be sure of it.
the same way is, if there is no message on bus, how to make the calling program understand it? the function doesn't throw an exception.


i think it's gonna be the same for other functions, so i wold appreciate one to give me tips for getting the way to implement these functions. i could try to get every documentation i can, but i think it would be too long..

thanx :)

38
Developers / Re: integrate another daemon to read the bus?
« on: June 13, 2008, 03:13:19 pm »
hum, my boss showed me what was the not implemented part of the code:

in
http://svn.linuxmce.org/pluto/branches/charon-merge/src/EIB/
the file
EIB.cpp
ligne 704:
Quote
void EIB::CMD_EIB_Read(string sAddress,string &sCMD_Result,Message *pMessage)
//<-dceag-c275-e->
{
}
//<-dceag-c350-b->

so,i am gonna get some doc to implement the bus reading. plus several other feature to add. and gonna make another thread if i have questions.

39
Developers / Re: integrate another daemon to read the bus?
« on: June 12, 2008, 11:16:00 pm »
thanx alot.

i already downloaded the (full...)svn tree.

gonna see that tomorrow.(and i think i gonna have some questions)

basically, i have go to the web interface, add a device, implement the fonctions in the skeletton, and compile the driver i just made?

40
Developers / integrate another daemon to read the bus?
« on: June 12, 2008, 05:19:29 pm »
hi, i have been reported a problem i am supposed to solve:(i am studier,not professional, but trying to get some xp)

i think i am supposed to solve this one:
http://wiki.linuxmce.org/index.php/EIB#Can.27t_read_from_the_bus

according to him, i can have to ways to do so:
1- either modifying what exists already(linked me to http://svn.linuxmce.org/pluto/branches/charon-merge/src/EIB/ ) and make it work
2- or use the http://www.auto.tuwien.ac.at/%7Emkoegler/index.php/bcusdk project to get a fully functional daemon

as anyone else ever got this problem, which is not in the 710 known issues ( http://wiki.linuxmce.org/index.php/KnownIssues_0710 )
may one help me to:
- understand where in the sources is supposed to be the function implemented?(bus reading)
- give me some tips to how to make a wrapper for the daemon?(i mean, what is the interface of the one now?)
- give me some tips they think would be useful for me. i remember i just got my degree from university, so i really am not used with professional programming. but i have much time to learn(it's my goal actually)

Pages: 1 2 [3]