The Source for Java Technology Collaboration


How To Get Started With Yggdrasil

Ensure you are using the latest version of the Sun SPOT sdk and Netbeans 6.1 or later

Download the example here

Connect a SPOT to the computer

Open the project 'RedDuck' in Netbeans

Right click on the 'RedDuck' project and select 'Properties'

Under Categories, select Java Sources classpath

Click 'Add Jar / Folder'

Navigate to the lib folder (Example/lib/yggdrasil_common.jar)

Add 'yggdrasil_common.jar'

Click OK

Build and Deploy the project to a Sun SPOT

Disconnect the SPOT from the computer and press the reset button


Connect a BaseStation to the computer

Open the project 'RedDuckHost' in Netbeans

Right click on the 'RedDuckHost' project and select 'Properties'

Under Categories, select Java Sources classpath

Click 'Add Jar / Folder'

Navigate to the lib folder (Example/lib/yggdrasil_common.jar)

Add 'yggdrasil_common.jar'

Click OK

Clean and build the project 'RedDuckHost'

Run the project 'RedDuckHost'

RedDuckHost will find any SPOTS running RedDuck and begin communication. It takes 3 - 5 minutes for this process to take place.

Topic HowTo . { Edit | Ref-By | Printable | Diffs r4 < r3 < r2 < r1 | More }
 XML java.net RSS

  

Revision r4 - 2008-08-07 - 03:34:48 - arshan
Parents: SpotsSensorFramework