background image

 

 

Stargate NetBridge Gateway User’s Manual

 

 

5.

 

In the 

Sensor Board

 tab, choose the 

XMesh Application Name

 that matches the firmware 

programmed into the Mote from 

Application Name

 dropdown (It should be 

XMTS400

 if you are 

using Crossbow’s packaged WSN Kit). Click on 

Done

 

;

 NOTE:

 

If you are unable to view the tables on a remote database, verify that the remote PC’s 

firewall accepts connections from your client PC.   

New nodes will also appear in the upper left hand corner of the 

Topology

 view. These nodes can 

be dragged to their correct position on the topology map and those placements can be saved to 
the configuration file in the database. 

6.2  MoteView at a Glance 

MoteView

 has four main user interface sections: 

1.

 

Toolbar / Menus: Allows the user to specify actions and initiate command dialogs. 

2.

 

Node List: Shows all known nodes in a deployment and health status summary. 

3.

 

Visualization Tabs:  Enables the user to view the sensor data in various ways. 

Page 28

 

 

Doc. # 7430-0449-01 Rev. A

 

Содержание Stargate NetBridge

Страница 1: ...Stargate NetBridge Gateway User s Manual Revision A October 2007 PN 7430 0449 01 ...

Страница 2: ...nformation in this document is subject to change without notice Crossbow IRIS MICA TrueMesh and XMesh are registered trademarks of Crossbow Technology Inc Other product and trade names are trademarks or registered trademarks of their respective holders ...

Страница 3: ... 5 5 Network 22 5 6 Data 26 6 Data logging and Visualization using MoteView 27 6 1 Remote Connection using MoteView 27 6 2 MoteView at a Glance 28 7 Advanced Stargate NetBridge Administration 30 7 1 Remote Stargate NetBridge Administration 30 7 2 MoteExplorer Administration 33 7 3 XServe Administration 33 7 4 Recovery of the XServe 37 7 5 Direct connection to a PC using Crossover cable 38 7 6 Assi...

Страница 4: ...Gateway User s Manual 9 2 Other Accessories 51 10 Appendix C Warranty and Support Information 52 10 1 Customer Service 52 10 2 Contact Directory 52 10 3 Return Procedure 52 10 4 Warranty 53 Page ii Doc 7430 0449 01 Rev A ...

Страница 5: ... chance that physical harm could happen to either the person or the equipment The following paragraph heading formatting is used in this manual 1 Heading 1 1 1 Heading 2 1 1 1 Heading 3 This document also uses different body text fonts listed in Table 0 1 to help you distinguish between names of files commands to be typed and output coming from the computer Table 0 1 Font types used in this docume...

Страница 6: ......

Страница 7: ...ed by Crossbow to specifically support the functionality of a WSN gateway For any questions or assistance with this product please contact Crossbow technical support do not contact Linksys directly as they will not be able to assist with issue regarding this particular device 1 2 Package Contents The Stargate NetBridge Gateway package includes 1 x Stargate NetBridge 1 x USB FLASH disk 1 x Stargate...

Страница 8: ...n USB FLASH disk included in the package Insert this device into the bottom USB port of the Stargate NetBridge labeled Disk 1 Please make sure that the side with the electrical contacts on the USB disk mates with the contacts inside the USB connector If the USB disk is plugged in the wrong way the Stargate NetBridge will not boot Also included are a CAT5 Ethernet cable and a snap on inductor For o...

Страница 9: ... ID Insert batteries into the battery holder compartment of the Sensor Nodes and turn the power switch to the ON position Spread the nodes around on your desk top or in the office area Make sure that the sensor nodes are resting on their bases with antenna pointing vertically upwards 2 1 3 Run the GatewayConfig tool to find the IP address of the Stargate NetBridge In order to connect to the Starga...

Страница 10: ...nfig GUI click on Scan Allow sometime for the scanning to complete and the GUI would display a list the Stargate NetBridge gateways that were found in your network Make a note of the IP address assigned to your hostname Double clicking on this IP address will open the MoteExplorer in a web browser Page 4 Doc 7430 0449 01 Rev A ...

Страница 11: ...ress MoteExplorer requires a username and password to login Type the default values below and click on Login Username admin Password crossbow NOTE If you do not have Adobe s Flash 9 x installed in your browser you will be prompted by your browser to install it Follow the instructions given by your browser and then retry the above steps You should see nodes appear in the node list on the left hand ...

Страница 12: ...e network Data Displays the latest sensor readings received for each node in the network Figure 2 2 Screenshot of the MoteExplorer GUI More information about MoteExplorer and its features can be found in the Chapter 5 of the manual NOTE To turn off the power press the power button This allows Stargate NetBridge to correctly shutdown the operating system and takes about 40 seconds Page 6 Doc 7430 0...

Страница 13: ...0 ports The device is further equipped with 8MB of program FLASH 32MB of RAM and a 2GB USB 2 0 system disk The Stargate NetBridge runs the Debian Linux operating system It comes preloaded with Crossbow s Sensor Network management and data visualization software packages MoteExplorer and XServe Those programs are automatically started when a Sensor Network base station is plugged into the secondary...

Страница 14: ...1 x RJ45 Ethernet IEEE 802 3 802 3u 2 x USB 2 0 host USB 1 0 1 1 compatible 4 x status LEDs 1 x power LED 1 x soft power button 1 x Reset button User Interfaces 1 x beeper Automatic boot when powered Real time clock battery backed up RTC Other features Watchdog timer 3 1 3 Environmental and Mechanical Specifications The environmental and mechanical specifications for the Stargate NetBridge gateway...

Страница 15: ...etBridge Gateway LED indicator Indicator Color Status Power Button Green System on Green flashing Yellow System running Ready Status Yellow then flashing Green System boot Ethernet Flashing Green Network activity Disk2 Solid Green XServe Running Disk1 Green USB disk running NOTE To turn off the power press the power button This allows Stargate NetBridge to correctly shutdown the operating system a...

Страница 16: ...0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 560 560 0 b TX bytes 560 560 0 b Total Disk Allocation Filesystem Size Used Avail Use Mounted on dev sda1 2 0G 446M 1 5G 24 tmpfs 16M 0 16M 0 lib init rw udev 11M 33k 11M 1 dev tmpfs 16M 0 16M 0 dev shm Total Memory Allocation total used free shared buffers cached Mem 30707712 29478912 1228800 0 5242880 6508544 Swap 132849664 4775...

Страница 17: ...192 168 x x It is further assumed that this network consists of a NAT router with DHCP server capability a WAN port connected to the Internet and LAN ports hosting the Stargate NetBridge and at least one local PC There are a number of different possible network configurations the Stargate NetBridge can be connected to Further examples are briefly discussed in the Appendix Note that the Stargate Ne...

Страница 18: ...r or Mozilla s Firefox Adobe s Flash Player 9 x To install Flash Player 9 x visit Adobe s web site o http www macromedia com software flash about If you are unsure whether Flash 9 x is already installed on your PC continue with the login steps If Flash 9 x is not installed your web browser will prompt you to install Flash 9 x and will lead you through the steps to do so 5 1 2 MoteExplorer URL Mote...

Страница 19: ... to MoteExplorer 1 Open a web browser on your PC 2 In the URL field type http your gateway name The name of your Stargate NetBridge can be found on a sticker attached to the side of your gateway NOTE If you re using a home network router or can t login with using the name on the sticker use the GatewayConfig tool on your installation CD to find the IP address of your Stargate NetBridge MoteExplore...

Страница 20: ...k they will appear in the Un positioned Nodes box To position a node onto the Map drag the node from the Un positioned box to its location on the Map Once you have positioned all the nodes on the map press the Save button on the top right of the screen to save your changes back to the server If after moving nodes you decide to rollback to the original positions instead of saving the changes press ...

Страница 21: ...color of the link indicates its quality Link Quality Indicators Green Both incoming and outgoing links are over 90 Orange Either one or both of the incoming or outgoing links is between 90 and 40 Red Either one or both the incoming or outgoing links is below 40 The color of the nodes indicates how man potential good neighbors a node has Node Neighbor Quality Indicators Green Node has more than two...

Страница 22: ... and battery voltage To view this information move your mouse over a node and pause for a second 5 4 Charts With many sensor network applications it is important to view data trends over time MoteExplorer allows users to visualize data trends through advanced charting tools Users can create new charts load existing charts and save delete chart configurations Page 16 Doc 7430 0449 01 Rev A ...

Страница 23: ... the first y axis Axis 2 Sensor Chooser This is the sensor that is plotted on the second y axis This axis is optional Node Chooser Sensor values will be charted for the selected nodes Date Range Data for the given date range will be displayed Users can choose from pre selected ranges such as Last Hour Last Day and Last Week or can use the Custom date range to select a custom start and end date Plo...

Страница 24: ...day aggregates of the data Charting date ranges over 2 years are displayed as 30 day aggregates of the data Plot Type When displaying data the user can choose one of three plot types Line Point or High Low Line plots connect a line between the individual data points attempting to interpolate the trend being displayed Point plots display each data value as a point with not connections Finally High ...

Страница 25: ...hart so it is important that the user uses a descriptive name A summary of the charts parameters are displayed below the name Note that pre defined date ranges such as Last Hour Last Day and Last Week are relative date ranges This means that when the chart is loaded it will select data using the time of loading as the end time and will select the start based on the relative date range This is not ...

Страница 26: ... a saved chart name the parameters of that chart as summarized below the chart Note that pre defined date ranges such as Last Hour Last Day and Last Week are relative date ranges This means that when the chart is loaded it will select data using the time of loading as the end time and will select the start time based on the relative date range This is not true for custom date ranges When a custom ...

Страница 27: ...The list of saved charts is displayed in the drop down chooser After selecting a saved chart name the parameters of that chart as summarized below the chart Once a chart is deleted it no longer is available using the load charting wizard The Delete Chart option is used to delete saved charts Charts which were created with the New drop down and are not saved can be removed by clicking the X in the ...

Страница 28: ...t users can click the Refresh button on the left hand window to refresh the chart with current data When viewing a chart with a pre defined Date Range this will readjust the chart window with data from the end date of the date range starting from the current time 5 5 Network The Network window displays network diagnostic information used to determine network health The Network window has three tab...

Страница 29: ... received by the server over the number of packets generated by the node is also displayed in parenthesis next to each yield number In most Crossbow kits the user will see two type of applications Health and Sensor Sensor data is the data generated by the sensor application on the node For example an MTS400 application will display MTS400 application values Health data is generated by the mesh sof...

Страница 30: ...igh load node could be considered bottle necks in the network and can run out of batteries quicker than other nodes in the network Packet Generated This is the number of packet generated by this node Packets Forwarded This is the number of packet forwarded by this node Last Updated This is the last time this node has sent an update of its state In addition to these health statistics the page also ...

Страница 31: ...in from that neighbor and the quality out to the particular neighbor Last Updated This is the last time the node send information about this neighbor 5 5 3 Server Health The Server Health window displays information about the XServe server running on the Stargate NetBridge gateway The following fields are displayed Version This current firmware version of XServe Uptime The length of the time the s...

Страница 32: ... the table attempts to match rows which contain that search string Example 1 A user wants to know all the current sensor readings from Node 10 In the search box type Node 10 and the table will only display data from node 10 Example 2 A user wants to display all Temperature values from throughout the network In the search box type Temperature and only the Temperature sensors will be displayed The l...

Страница 33: ...n using MoteView 1 Launch MoteView 2 0 F by double clicking on the desktop icon 2 Select File Connect to WSN from the menu Select the Mode tab check on Acquire Live Data as operation mode and Custom as acquisition type and click on Next 3 In the Gateway tab type the Hostname IP address of the Stargate NetBridge gateway The Port should default to 9001 Click on Next NOTE The Port Username and Passwo...

Страница 34: ... from your client PC New nodes will also appear in the upper left hand corner of the Topology view These nodes can be dragged to their correct position on the topology map and those placements can be saved to the configuration file in the database 6 2 MoteView at a Glance MoteView has four main user interface sections 1 Toolbar Menus Allows the user to specify actions and initiate command dialogs ...

Страница 35: ...ays a log of server events and incoming messages Toolbar Menus Visualization Tabs Node List Server Messages Figure 6 1 Screenshot of the MoteView GUI More information about MoteView and its features can be found in the MoteView User s manual Doc 7430 0449 01 Rev A Page 29 ...

Страница 36: ...ng the root account as mistakes can render the system unstable or inoperable Typically it is not necessary to be familiar with the underlying Linux operating system to use the Stargate NetBridge as it comes pre programmed for its intended use as a Sensor Network gateway The Stargate NetBridge is running a recent Debian Linux kernel Users familiar with Debian can utilize all its features on the Sta...

Страница 37: ...ou can use ssh and scp if you have Linux and transfer MoteExplorer configuration files To use Samba Start Window s Explorer and select the Map Drive icon which brings up the screen below Type in sluggo 00006 xserve use your Stargate NetBridge s number in place of 00006 Select Connect using a different user name which brings up the following screen Type in user as the user name and use the password...

Страница 38: ...C has connected the file directory on Stargate NetBridge will appear as a mapped drive on your PC Once the file manager window opens the Stargate NetBridge window the files in the usr xserve directory can be read or written Page 32 Doc 7430 0449 01 Rev A ...

Страница 39: ...age Check that the attributes of this file are archive Use Samba to copy the file to Stargate NetBridge s web moteweb images directory The next time MoteExplorer starts you should see this map in the Map view NOTE The ssh secure shell can also be used for remote uploading of the map 7 2 MoteExplorer Administration MoteExplorer is the web based interface of the XServe Gateway Server application Adv...

Страница 40: ...Processing XServe processes converted sensor data routing data into database tables files etc 7 3 1 Starting XServe XServe is automatically started when a USB compatible base station is attached via the Disk 2 USB port The Disk 2 LED on the front panel will be lit green to indicate that XServe is active To start XServe manually run the following command from the command promt etc init d xserve sta...

Страница 41: ...e NetBridge To run the managedb command it is necessary to remotely SSH into the Stargate NetBridge Section 7 1 1 Once you have accessed the Stargate NetBridge the managedb command is located at usr xserve scripts nslu2 folder and can be executed by typing managedb This script manages the xserve database located in usr xserve sys The currently running database is named xserve_sqlite db Saved datab...

Страница 42: ...er needed it is prudent to delete the saved database Operation 3 Enter database name to delete Name used during save operation Database Name Deleting database usr xserve sys xserve_sqlite db Database Name Done When deleting an old database the user will be required to enter the name of the old database Resetting Current Database In most cases it is useful to reset the current database so that all ...

Страница 43: ...e loaded in XServe If you use managedb to reset or change the database your username and password changes could be lost In this version you will only be able to modify the admin password Select an operation 1 Current Admin Password This will display the current admin password for MoteExplorer 2 Change Admin Password This will change the current admin password for MoteExplorer Operation __ Current ...

Страница 44: ... to a PC without a Router is desired a special cross over cable not included must be used The set up procedure is described below Figure 7 2 Direct network connection NOTE This Configuration requires crossover Ethernet cable The Stargate NetBridge is configured to default to a static IP if no DHCP server can be found or an IP lease can not be obtained for other reasons This default IP address is 1...

Страница 45: ... Scroll the embedded window all the way down and click on Internet Protocol TCP IP 4 Fill out the form as shown select the address 192 168 1 1 subnet mask 255 255 255 0 and gateway 192 168 1 1 manually then press OK on all the windows Doc 7430 0449 01 Rev A Page 39 ...

Страница 46: ...7 6 Assigning Static IP address The Stargate NetBridge is factory configured for DHCP dynamic IP address Alternatively it defaults to the static IP address 192 168 1 77 if a DHCP address can not be obtained after 60s If a different static IP address is desired it will need to be reconfigured using the procedure described below Note that in order to change the IP configuration the Stargate NetBridg...

Страница 47: ...ridge or consult your system administrator Often commercial networks link DHCP and DNS which will allow connecting to the Stargate NetBridge by its name without knowing its IP address There is usually a time delay varying widely by network type before the hostname is visible in DNS after the initial boot up Figure 7 3 Multi network configuration 7 8 Re programming the base using UISP utility The U...

Страница 48: ...pecific parameters into the processing module Below is a portion XML Configuration for a MTS300 data packet xml version 1 0 encoding ISO 8859 1 DOCTYPE XServeConfig SYSTEM xserve_config dtd XServeConfig XFieldExtractor name XMTS300 Multihop Config XML order 3 XFields XField name amtype byteoffset 2 length 1 type uint8 XField name nodeid byteoffset 7 length 2 type uint16 specialtype nodeid XField n...

Страница 49: ...owest number being first and highest number being last YES XFields The root of the Field Definition section is the XFields tag There is only XFields tag in a Field Extractor and it contains all Field mapping definitions XFields XFields XField The XField tag defines a single name value pair mapping The name value pairing is done by assigning a portion of the bytes in the data packet to a name Table...

Страница 50: ...p 9 bits and then shift the value over 23 bits The XBitField allows users to define this type of operational logic XBitField name vref byteoffset 17 length 4 type uint32 mask 0xFF800000 shift 23 XBitField Table 8 3 XBitField Attributes Attribute Description Required Name The name of the field The name should be unique within the Field Extractor YES Byteoffset The position of the starting byte in w...

Страница 51: ... data packet For example a light reading from a sensor packet requires conversion from its raw resistance value to a unit of conversion appropriate for light mV Below is the necessary equation Light mV light_value 1252352 voltage_value 1023 4 The equation takes both the light reading in the packet and the voltage value in the packet to convert it to the correct unit of measure XField name light by...

Страница 52: ...nt32 uint64 raw string float double YES XFilter Each Field Definition defines a parser for a particular type of packet The XFilter tag defines a filter which is used by XServe to determine whether a particular packet should be parsed by this Field Definition The XFilter is a set of logical operations on a set of conditions The available logical operations are AND OR and NOT The logical operations ...

Страница 53: ...efines the parameters to each condition Table 8 7 XFilerParam Attributes Attribute Description Required name The name of the parameter to pass into the filter YES value The value of the named parameter to pass into the filter YES XDataSinks Data Sinks are responsible for executing specialized processing on sensor data packets The provided processing modules are Generic Print Datasink Generic File ...

Страница 54: ... screen The layout and the fields displayed on the screen for each packet are configurable using a XML Configuration file XDataSink name Generic Print Datasink XDSParam name printstring value SURGE sensor data converted to engineering units n health node id s parent s seq_no s n battery s mv n temperature s degC n light s ADC mv n AccelX s g AccelY s g n MagX s mgauss MagY s mgauss XDSParam name p...

Страница 55: ...n then no raw data will be written to file parsedfilename The filename where parsed data output is written NO If the parameter is not given then no parsed data will be written to file convertedfilename The filename where converted data output is written NO If the parameter is not given then no converted data will be written to file delim The delimator to be used to separate field names NO The defa...

Страница 56: ...mation about each field in the packet It describes which fields are to logged to the database and what their UI elements will be named in MoteExplorer YES It is mandatory that atleast one of the columnInfo fields listed is of specialtype nodeid Table 8 13 ColumnInfo Parameters Parameter Description Required fieldName This is the name of the field described in the XFields section This indicates thi...

Страница 57: ...ch configurations 9 2 Other Accessories Many USB devices are supported natively by the operating system Others may require specific drivers marked with to operate properly Crossbow has tested some devices but the user experience may vary by device manufacturer Below is a sample list that is by no means complete This is for user guidance only and does not imply that Crossbow is supporting any speci...

Страница 58: ...ntation Onsite and factory training available Preventative maintenance and repair programs Installation assistance available 10 2 Contact Directory United States Phone 1 408 965 3300 8 AM to 5 PM PST Fax 1 408 324 4840 24 hours Email techsupport xbow com Non U S refer to website www xbow com 10 3 Return Procedure 10 3 1 Authorization Before returning any equipment please contact Crossbow to obtain...

Страница 59: ...f the original shipping containers were discarded use heavy boxes with adequate padding and protection 10 3 3 Sealing the Container Seal the shipping container s with heavy tape or metal bands strong enough to handle the weight of the equipment and the container 10 3 4 Marking Please write the words FRAGILE DELICATE INSTRUMENT in several places on the outside of the shipping container s In all cor...

Страница 60: ......

Страница 61: ......

Страница 62: ...Crossbow Technology Inc 4145 N First Street San Jose CA 95134 Phone 408 965 3300 Fax 408 324 4840 Email info xbow com ...

Отзывы: