O'Reilly logo

Building Wireless Sensor Networks by Robert Faludi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and Configuring XIG

Setting up the XIG is easy, now that you’re familiar with the general administration of a ConnectPort gateway. If you haven’t already, follow the instructions in the previous sections Setting Up a ConnectPort and Configuring a ConnectPort. Next, download the XIG code, which is linked from this book’s website. It should also be available at http://code.google.com/p/xig/downloads/list in the form of a ZIP file that contains xig.py and _xig.zip. Make sure the main file (xig-x.x.x-bin.zip) gets unzipped, but leave _xig.zip and any other internal files in their compressed form.

Warning

The XBee Internet Gateway is still undergoing active development and may have been upgraded and changed by the time you read this. Check this book’s website (see the Preface) to make sure you have the latest files and instructions.

Once you are looking at the ConnectPort’s administration interface, click on the Python link to begin uploading files. The ConnectPorts all come with the required python.zip libraries preloaded. There may be other resource files here as well, including zigbee.py, which is not needed for this project but can safely remain in the directory. Click the Browse button to navigate to and select each file you’d like to upload, starting with xig.py. Click the Upload button and wait for a File Uploaded message to appear at the top of the screen, as shown in Figure 7-22. Repeat this process for _xig.zip.

Next, click the Auto-start Settings link at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required