Hello Michele,

 

Back from holiday (in Italy), I?m trying to catch up with your recent 
development of the cc2530 driver.

However, following the steps in your earlier email (the one I?m answering to 
now), step 3 leads to an error (see included log file).

The following steps (4,5 and 6) don?t give errors.

 

Following the next steps in the tutorial, I can run mvn install on the trove4j 
directory level and also on the trunk directory level without errors.

The next step in the tutorial is referring to a directory ?trunk/tester. There 
is a directory ?testing? but not a directory ?tester?! Running mvn pax:run in 
the ?testing? directory fails.

 

Maybe you can have a look and help me out,

Thanks,

Han

 

 

Van: Michele Girolami [mailto:Michele.Girolami at isti.cnr.it] 
Verzonden: dinsdag 29 maart 2011 17:41
Aan: Han Alink
CC: dev at zb4osgi.aaloa.org
Onderwerp: Re: [zb4osgi Dev] Next development steps - how to share experience

 

Hi Han,

 

no problem. Now It's strange because I've compiled the whole project form 
stretch also removing the .m2 directory.

I'll suggest you to:

1)run mvn clean from the trunk and remove your .m2 directory (backup if 
necessary for your purposes).

2)download all the code of ZBee4OSGi in order to have a similar dir. strucure:

ZB4OSGi

            releases

            sandbox

            trunk

            website

 

 

3)go to ZB4OSGi\trunk\externals\bundles\rxtx and run the following command: mvn 
install

4)go to ZB4OSGi\trunk\externals\libraries\trove4j and type the following 
commands:

            4.1)mvn install:install-file -DpomFile=pom.xml -Dfile=trove.jar

            4.1)mvn install:install-file -DpomFile=pom.xml 
-Dfile=trove-javadocs.jar

            4.1)mvn install:install-file -DpomFile=pom.xml 
-Dfile=trove-sources.jar

 

5)go to ZB4OSGi\trunk\externals\bundles\trove4j and run the following command: 
mvn install

6)go to: ZB4OSGi\trunk and type mvn install

 

 

For your information the problem is related to the trove4j library that one of 
the bundle of ZBee4OSGi (ZigBee Dirver) is not able to find within the .m2 
local repository. 

Let me know.

 

Regards.

 

Il giorno 29/mar/2011, alle ore 17.29, Han Alink ha scritto:





Hello Michelle,

 

Thanks for your help and patience! But ?.

 

I followed your instructions, but still got the same error message.

I did not have the software installed in the directory ZB4OSGi\trunk but in 
ZB4OSGi (without the trunk subdirectory).

I changed that, reloaded from your repository, and again followed all the 
steps. Still got the same error message.

 

I have included the log file.

Hope I don?t take too much of your time!?

 

Kind regards,

Han

 

 

 

Van: Michele Girolami [mailto:Michele.Girolami at isti.cnr.it] 
Verzonden: dinsdag 29 maart 2011 9:30
Aan: Han Alink
CC: dev at zb4osgi.aaloa.org
Onderwerp: Re: [zb4osgi Dev] Next development steps - how to share experience

 

Hi Han,

 

In order to make everything clear:

1)go to: ZB4OSGi\trunk and type mvn clean

Then:

 

2)go to your .m2 directory (usually located in your home user directory e.g. 
c:\Documents and Settings\userX\.m2 and remove manually the sub-directory 
.m2\repository\org\aal-persona

3)go to ZB4OSGi\trunk\externals\bundles\rxtx and run the following command: mvn 
install

4)go to ZB4OSGi\trunk\externals\libraries\trove4j and type the following 
commands:

            4.1)mvn install:install-file -DpomFile=pom.xml -Dfile=trove.jar

            4.1)mvn install:install-file -DpomFile=pom.xml 
-Dfile=trove-javadocs.jar

            4.1)mvn install:install-file -DpomFile=pom.xml 
-Dfile=trove-sources.jar

 

5)go to ZB4OSGi\trunk\externals\bundles\trove4j and run the following command: 
mvn install

6)go to: ZB4OSGi\trunk and type mvn install

 

In you are still not able to compile the project, I'll suggest you to:

1)backup your .m2 directory

2)empty your  .m2 directory

3)restart with the previous 6 steps (from  1 to 6)

 

Regards.

 

 

Il giorno 25/mar/2011, alle ore 19.26, Han Alink ha scritto:






Hello Michele,

 

The First 2 Maven runs finished without errors.

The last one (the main one) still gives an error.

 

I hope I don?t consume too much of your support time with this kind of problems.

Nevertheless, thanks for your help.

I included the log file.

 

Regards,

Han

 

Van: Michele Girolami [mailto:Michele.Girolami at isti.cnr.it] 
Verzonden: vrijdag 25 maart 2011 17:11
Aan: Han Alink
CC: dev at zb4osgi.aaloa.org
Onderwerp: Re: [zb4osgi Dev] Next development steps - how to share experience

 

Hi Han,

 

in order to complete the procedure you need also to perform manually 2 
operations:

 

1)move to ZB4OSGi\trunk\externals\libraries\trove4j and run the following 
command: mvn install

2)move to ZB4OSGi\trunk\externals\bundles\rxtx and run the following command: 
mvn install

and...

3)move to ZB4OSGi\trunk and run mvn install

 

Regards.

 

Michele.

 

 

 

Il giorno 24/mar/2011, alle ore 15.52, Han Alink ha scritto:







Hello Michele,

 

After the update, Maven is running almost to the end I think. I get a warning 
and an error about the rxtx jar.

I again included a log file.

 

Thanks for your help so far,

 

Han

 

Van: Michele Girolami [mailto:Michele.Girolami at isti.cnr.it] 
Verzonden: donderdag 24 maart 2011 10:40
Aan: Han Alink
CC: dev at zb4osgi.aaloa.org
Onderwerp: Re: [zb4osgi Dev] Next development steps - how to share experience

 

Hi Han,

 

As you probably already know here 
<http://zb4osgi.aaloa.org/redmine/projects/zb4osgi/wiki/Tutorial>  you can find 
an initial  tutorial supporting the start-up phase.

Actually exist 2 different approaches in order to start-up with ZBee4OSGi:

1)From the source repository -> download the code, compile it and run it

2)From the release -> download it and lunch it

 

If you are not yet familiar with Maven  and you want to use ZBee4OSGi I would 
suggest you to adopt the 2 way, here 
<http://zb4osgi.aaloa.org/redmine/attachments/download/38/zb4osgi-0.1.0.zip>  
you can find the all-in-one package ready to be unzipped and run.

Otherwise if you want to build your own the code you have to download it and 
use maven. I suppose you' ve already downloaded the code and set-up maven tool 
(in case please refer to Maven official web page), now you should have this 
dir. structure:

ZB4OSGi

            releases

            sandbox

            trunk

            website

1)From the ZB4OSGi directory update the source code with svn up (or graphically)

2)Move to  ZB4OSGi\trunk and run the following command mvn install. I've just 
made few changes to the trunk in order to have a running configuration. 

 

Now you should be able to compile all the bundles.

 

Regards.

 

Michele.

 

Il giorno 23/mar/2011, alle ore 11.21, Han Alink ha scritto:








Hello Michele,

 

>From the TI documentation I understand that the CC2531 dongle uses the CC2530 
>chip.

TI now also offers a mini development kit ($99,-): 
http://processors.wiki.ti.com/index.php/CC2530ZDK-ZNP-MINI

 

As I want to continue to put effort in Home Automation hard- and software, I am 
going to buy this development kit, unless you think this is not the right kit.

 

I downloaded your software, but running maven generates errors. This probably 
has to do with the OSGi environment not being installed. I have to look into 
this.

I also downloaded you?re the release including the OSGi environment; this one  
is running, but lacks the dongle of course.

 

Kind regards,

Han Alink

 

Van: Michele Girolami [mailto:Michele.Girolami at isti.cnr.it] 
Verzonden: maandag 21 maart 2011 18:50
Aan: Han Alink
CC: dev at zb4osgi.aaloa.org
Onderwerp: Re: [zb4osgi Dev] Next development steps - how to share experience

 

Hi Han,

 

I'm Michele and actually I'm also involved with the development activities 
related to ZBee devices.

TI offers the CC2531 USB 
<http://focus.ti.com/docs/toolsw/folders/print/cc2531emk.html>  evaluation 
Module Kit for about 50? dollars, we had the chance to obtain one copy of it 
for free but only for research purposes. If you have intention to keep 
developing with TI development kit it could be an option, but please consider 
that you also need the license for the compiler in order to build 
existing/custom firmware (a 30-day free license can be easily obtained). Our 
intention is to replace the old and buggy CC2480 with the new CC2531 but, as 
Francesco said, we was planning to re-start around May. In this direction we 
are opened to different USB dongle that can be "easily" integrated with the 
stack, I don't know if you have some expertise with USB ZBee dongle...By 
googling we found different USB ZBee dongles, but we don't know about the 
necessary effort to provide a running and stable replacement for CC2480.

Moreover I've read that you also have some experiences with the Rapp driver, 
ZBee4OSGi actually exploits such a library (Here 
<http://zb4osgi.aaloa.org/redmine/attachments/36/ZigBee_Basedriver-_V2.pdf>  
you can have a perspective of all the bundles building the project, see slide 
n. 17 it is integrated within CC2480 Data Link Protocol Bundle) so if you've 
already experienced it could be a good starting point.

 

Best regards. 

 

 

Il giorno 19/mar/2011, alle ore 13.19, Han Alink ha scritto:









Hello Francesco,

 

I have been working on Home Automation (hardware) development for several years 
(as a hobby). I have mainly developed hardware based on the X10 protocol 
(sensors, light controllers, modem ?).

In 2009 I bought a XBee development kit. I used the Java based drivers form 
Andrew Rapp (http://code.google.com/p/xbee-api/) on the PC side. I studied the 
ZCL documents from the Zigbee alliance and extended the Andrew Rapp driver with 
classes for the exchange of ZCL frames. On the other side, I used a PIC based 
design to receive and react to the ZCL frames.

As I?m not a programmer, I?m afraid I?m not able to come up with  something 
that is fully compliant to the Home Automation profile. Another problem is the 
limitations of the XBee hardware platform. The hardware does hardly provide 
support for ZCL/ZDO messages; almost everything has to be handled by the PIC 
processor.

 

Recently I found your project website. I have not yet downloaded the software 
as I have a few questions. Hope you will answer them:

 

-          The hardware you use is from Texas Instruments. You are probably 
aware of the fact that on the TI website, the CC2480 is not recommended for new 
designs. What device are you recommending now?

-          Did you look into the XBee hardware?

-          Did you develop a ZCL XML format/editor?

 

Kind regards,

Han Alink

The Netherlands

_______________________________________________
Dev mailing list
Dev at zb4osgi.aaloa.org
http://zb4osgi.aaloa.org/mailman/listinfo/dev

 

 

 

<log2.txt>

 

 

 

 

<log3.txt>

 

 

 

 

<log4.txt>

 

Michele Girolami
ISTI - Area della ricerca CNR
via G. Moruzzi 1, I-56124 Pisa         Email: michele.girolami at isti.cnr.it
(entrance 20, 1st floor, room C66)

phone:        +39 050 315 2887              fax:+39 050 315 2040     




 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://zb4osgi.aaloa.org/pipermail/dev/attachments/20110708/ac99779b/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: step3-log.txt
URL: 
<http://zb4osgi.aaloa.org/pipermail/dev/attachments/20110708/ac99779b/attachment-0001.txt>

Reply via email to