Home

Stargate NetBridge Gateway User`s Manual

image

Contents

1. de MoteWeb Application Yield Yield Statistics Node Id Application Id Health Health 3 Health 3 Health 3 Health 3 Health 3 Health 3 Health 3 Health 3 Solar2 4 Solar2 4 Solar2 4 Solar2 4 Solar2 4 Solar2 4 Solar2 4 Solar2 4 Waiting for http moteweb xbow com 8080 history htm Yahoo Finance Get Th 7430 0449 01 A Slu Yield Last Hour 0 0096 0 0 100 00 7 7 100 00 7 7 100 00 6 6 0 00 0 0 100 00 6 6 100 00 6 6 100 00 6 6 66 67 4 6 100 00 2 2 100 00 2 2 100 00 2 2 0 00 0 0 100 00 2 2 100 00 2 2 100 00 2 2 100 00 2 2 fie My Documents Yield Last Day 0 0096 0 0 100 00 168 168 99 40 167 168 99 40 166 167 0 0096 0 0 97 60 163 167 100 00 167 167 99 4096 166 167 98 81 166 168 100 0095 68 68 100 00 68 68 97 06 66 68 0 0096 0 0 97 0635 66 68 100 00 68 68 100 00 68 68 100 00 68 68 Yield Last Week 0 00 6 0 0 99 76 848 850 99 4196 844 849 99 56 1130 1135 99 5136 610 613 98 589 835 847 99 889 847 848 99 5336 845 849 98 70 838 849 98 86 607 614 98 8635 607 614 97 1596 545 561 99 8195 512 513 98 2196 604 615 99 1996 610 615 98 70 606 614 98 37 604 614 n A 59d 00h 08m 29s 09m 29s 12m 59s Oid 08h lim 59s 13m 29s 15m 29s 10m 59s 14m 29s 26m 30s 18m 29s Oid OSh 21m 00s 09m 59s 12m
2. MoteView 2 0 Toolbar Menus Id 4 voltage temp 0 2 d 4 6 T 8 9 Hi Lal EA 11 14 2005 1 05 06 PM light Cj H OC Oo O OZ c mag x 22 42 mga 105 2 mga 30 55 mga 30 12 mga 105 47 mg 105 47 mg 104 66 mg 105 61 mg 106 55 mg Visualization Tabs mag y 25 33 mga 104 8 maa 30 39 mga 30 12 maga 105 34 mg 182 105 61 mq 104 8 mga 105 61 mg 105 28 mg 178 162 448 11 18 2005 6 12 25 AM 11 18 2005 6 12 02 AM 11 18 2005 6 10 46 AM 11 18 2005 6 10 19 AM 11 18 2005 6 10 33 AM 11 18 2005 6 10 08 AM 11 18 2005 6 09 51 AM 11 18 2005 6 11 06 AM 11 18 2005 6 12 32 AM uni FT a a gt 11 18 2005 6 12 32 AM Server Messages Database localhost sample mts310 MIB510 COM 157600 Figure 6 1 Screenshot of the MoteView GUI More information about Mote View and its features can be found in the Mote View User s manual Doc 7430 0449 01 Rev A Page 29 Crossb w Stargate NetBridge Gateway User s Manual 7 Advanced Stargate NetBridge Administration This section describes advanced administration features of the Stargate NetBridge that involves accessing the Linux operating system running on the gateway 7 1 Remote Stargate NetBridge Administration 7 1 1 Access via ssh A remote terminal that supports the Secure Shell ssh protocol can be used to log directly into the Stargate NetBridge The actual ssh invocation varies between different ssh clients Fo
3. 8 13 2007 11 37 AM 8 13 2007 11 37 AM 8 13 2007 11 37 AM 8 13 2007 11 37 AM 8 13 2007 11 37 AM 9 5 2007 4 08 PM 8 28 2007 5 43 PM 8 28 2007 4 56 PM 8 13 2007 11 37 AM 8 13 2007 11 37 AM 8 13 2007 11 37 AM aj Local intranet Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual NOTE The modification of files in this directory can cause XServe and or MoteExplorer to stop functioning correctly Should this happen individual files or the entire contents of this directory can be restored from the read only backup subdirectory 7 1 3 Creating a location map MoteExplorer allows users to install a jpeg map file of the deployment area This will show up in MoteExlorer s Map view and is useful to locate where the sensor nodes have been placed e The first step is to create a jpeg file of the area This can be done by importing a picture into PC s Paint program and storing the image as a jpeg e Change the name of the file to floorplan image e Check that the attributes of this file are archive e Use Samba to copy the file to Stargate NetBridge s web moteweb images directory e 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 Advanced user and databas
4. Finance Get Cy 7430 0449 01 A Slu fk My Documents j Motew Once a chart 1s saved a user can delete a given chart from MoteExplorer When the user selects the Delete chart drop down a Delete Chart wizard is displayed to the user 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 1s deleted 1t 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 chart tab Doc 7430 0449 01 Rev A Page 21 Crossb w Stargate NetBridge Gateway User s Manual 5 4 5 Viewing chart data 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help Go v le http f moteweb xbow com 8080 vi 9 x pogle IFTE we de Q Moteweb Gr EN ok Pero Chart LJ Display Live Data J 40 C 12 00 13 00 14 00 15 00 16 00 17 00 18 00 19 00 20 00 21 00 22 00 23 00 0 00 1 00 2 00 3 00 4 00 5 00 6 00 7 00 8 00 9 00 10 00 11 00 Date Node 502 Temperature E Node 502 Solar Voltage Waiting For http Imoteweb xbow com 8080 history htm m amp Internet 9 100 FA e Each chart is displayed as a named tab in the Charting window Users can switch between charts by clicking on the named
5. displayOrder 3 unitName Volts unitShortName V gt lt XDSParam name columninfo value fieldname temp displayName Temperature displayOrder 6 gt lt XDSParam name columninfo value fieldName light displayName Light displayOrd r 1 gt lt XDataSink gt Table 8 12 Sensor Log DataSink Parameters sensorname This is the name displayed onthe Ulfor YES these types of sensor data packets YES MoteExplorer columninfo This is the information about each field in the packet It describes which fields are It is mandatory that atleast one of to logged to the database and what their the columninfo fields listed is of Ul elements will be named in specialtype nodeid Table 8 13 Columninfo Parameters YES fieldName This is the name of the field described in the XFields section This indicates this field will be logged as a column in the database displayName This is the Ul name for this NO field on MoteExplorer The fieldname is used is no display name is given displayOrder This indicates the order in which fields are displayed in the Ul on MoteExplorer unitName This is the unit of measure for the fields sensor data values This is displayed in the Ul on MoteExplorer unitShortName This is the short display name for the unit of measure described above This is used in Ul when condensed version of the unitName is required Page 50 Doc 4 7430 0449 01 Rev A Stargate NetBridge G
6. 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 side of the MoteExplorer window MoteExplorer has four main user interface sections which you can browse and use e Map Shows a Mote network map with placement and parenting information Doc 7430 0449 01 Rev A Page 5 Crossb w Stargate NetBridge Gateway User s Manual e Chart Provides the ability to generate graphs of a sensor data vs time for a set of nodes e Network Displays the latest health packet readings received for each node in the network e Data Displays the latest sensor readings received for each node in the network w k f MoteWeb I nm dh v i Page Of Tools li MoteExplorer LI S pino e T PITT T ud M TIENE Le ET Ev i T A ppa ast HTH ttt Node 501 Battery 4 10 V Se c missis i SOLAR MEP EM Temperature 11 89 C Soil Temperature 15 07 C Soil Moisture 2 51 cBar 7 Solar Hours 0 00 Hr X Solar Voltage 0 01 V 3 Battery Voltage 4 01 V uP Voltage 2 87 V Soil Resistance 928 00 ohms Soil Temperature Resistance 15831 00 ohms u aT Waiting for http moteweb xbow com 8080 history htm mb Internet Q100 v eV _ _ _ TST Figure 2 2 Screenshot of the MoteExplorer GUI
7. 40s 5 27 2021 10657 14m 10s 0 01 2021 30 16m 10s 0 00 2021 iim 40s Neighbor Table Node 503 Route 503 gt Base Station Neighbor Id 5 Link Quality In Out Last Updated 0 parent 0 87 1 00 0 87 13m 42s 501 1 00 1 00 1 00 17m 12s 0 81 0 93 0 87 34m 14s 1 00 1 00 1 00 25m 13s 1 00 1 00 1 00 25m 13s 1 00 1 00 1 00 17m 12s Waiting for http Imoteweb xbow com 8080 history htm ka Internet R 10095 7 start 20 Je s g gt 8 The Mesh Health window displays per node health and neighbor statistics The data displayed is the following e Battery Voltage This 1s the current battery voltage of the node e Hop Count This is the number network hops this node is from the base station gateway e Load This indicates the amount of extra work this node is doing for other nodes in the network The value 1s the number of packets forwarded by this node over the number of packets generated by this node A load of 1 means that it is forwarding as many packets atis generating High load node could be considered bottle necks in the network and can run out of batteries quicker than other nodes in the network e Packet Generated This is the number of packet generated by this node e Packets Forwarded This is the number of packet forwarded by this node e 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
8. The High Low plot displays a bar representing the maximum and minimum value over that time range The average value is displayed when the mouse is held over the bar Page 18 Doc 4 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w 5 4 2 Saving a chart 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help Ge J E http l moteweb xbow com 8080 S r gt s T dl ms i 7 2 w dv C MoteWeb nm B duh v J Page Of Tools Save Chart i Save Chart Save the current chart configuration Once saved this chart can be quickly loaded in future sessions Save chart as Temp vs Voltage last day Axis 1 Sensors Temperature i Axis 2 Sensors Solar Voltage Nodes Node 502 Date Range Last Davy OK l Cancel J Waiting for http Imoteweb xbow com 8080 history htm d ea Internet 10095 v id Start 6 PAX J Yahoo Finance Get Cy 7430 0449 01_A Slu G My Documents Motew Once a chart is created a user can save a given chart to be reloaded later When the user select the Save chart drop down a Save Chart wizard is displayed to the user To save a chart the user must select a unique name for the chart This name will be used later to recall the given chart so it 1s important that the user uses a descriptive name A summary of the charts parameters are displayed below the name Note that pre defined date r
9. XConversion ctunetrons 1252352 x returntype m 6 XConvParam variablename x fieldname voltage type float lt XConversion gt lt XField gt lt XField name temp byteoffset 18 length 2 type uintl6 gt lt XField name light byteoffset 20 length 2 type uintl6 gt ere NNN TN SS FPSS ENN lt XConvParam variablename x fieldname voltage type float gt XConvParam variablename y fieldname light type uint16 gt lt XConversion gt Page 42 Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual lt XField gt lt XField name mic byteoffset 22 length 2 type uintl6 gt lt XE Teele lt oreldsstractor gt lt XServeConfig gt lt XFieldExtractor gt The root document of any XML Configuration file is lt xFieldExtractor gt Field Extractor defines a single parser containing a set of fields a filter and any data sink parameters lt XFieldExtractor name NAME order ORDER gt lt Ke Leladb xt rack ore Table 8 1 XFieldExtractor Attributes Attribute Description Required name The name of the XML Parser XML Parser names YES should be unique order DataRows are passed to Datasinks in a specified order The order is determined by the the order attribute Orders are sorted with lowest number being first and highest number being last lt XFields gt The root of the Field Definition section is the lt xFields gt tag There is only lt XFields
10. a new chart Users can select chart drop down the user is shown a charting wizard to help them e Chart Name This is the name that is displayed on chart tab e Axis Sensor Chooser This is the sensor that is plotted on the first y axis e Axis 2 Sensor Chooser This is the sensor that is plotted on the second y axis This axis is optional e Node Chooser Sensor values will be charted for the selected nodes e 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 e Plot Type Users can select to see data as a line chart point chart or hi low chart Doc 7430 0449 01 Rev A Page 17 Crossb w Stargate NetBridge Gateway User s Manual After completing the wizard MoteExplorer will retrieve the specified data and chart it To view a specific value and time on the chart place the mouse over the point and a pop up with the exact value and time will appear Large Datasets MoteExplorer attempts to display large datasets which can be accumulated over long time ranges in a meaningful manner to the user To do this MoteExplorer uses aggregated data for charts that span long time ranges The aggregate data 1s displayed as an average over a time range with a minimum and maximum value Users can view the detailed data of an aggregate by specifying a shorter date range which enc
11. it is necessary to remotely SSH into the Stargate NetBridge Section 7 1 1 Once you have accessed the Stargate NetBridge the managedb command 1s located at usr xserve scripts nslu2 manageusr This script manages the MoteExplorer username and password The username and passwords modifications are only applicable to the current database loaded in XServe If you use managedb to reset or change the database your username and password changes coula be LOST In chis version you will only be able to modify Ene admin password Select an operation I Current Admin Password This will display the current admin password For More rao nea clan 2 Change Admin Password This will change the current admin password for Mon Shade etme i Operation __ Current Admin Password This operation will display the current admin password Change Admin Password This operation will change the current password to a new password For the new password to take effect users will need to log out of MoteExplorer and log back in 7 4 Recovery of the XServe If XServe MoteExplorer is ever accidentally destroyed or corrupted it is possible to recover the original software image from the CD and reinstall it on the Stargate NetBridge Steps 1 Unplug any BU devices from the Stargate NetBridge 2 Using Window s Explorer open the CD ROM which came with the device Open the directory XServe Recovery Image Doc 7430 0449 01 Rev A Page 3 Cross
12. shift the value over 23 bits The lt xBitField gt allows users to define this type of operational logic XBitField name vref byteoffset 17 length 4 type uint32 mask 0xFF800000 shift 23 gt Rel Page 44 Table 8 3 XBitField Attributes Nwibue Description Required The name of the field The name should be unique YES within the Field Extractor The position of the starting byte in which the value of YES the field is contained in the packet relative to the beginning of the packet The size of the bytes containing the value of the field The type of the field value Possible values are byte char short int long uint8 uint16 uint32 uint64 raw string float double The hexadecimal mask over the bytes which wil YES Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w extract the necessary bytes with a logical AND FR shift The number of bits to shift the resulting masked YES value to position the value correctly lt XConversion gt Each Field Definition maps the raw values from the packet to a named field In most cases the value in the packet is a hardware specific value and is not in a format which is understandable by users or external applications To handle this each field definition tag can optionally contain a XConversion tag which describes a mathematical equation to convert the raw values into a user desired unit of measure The equation can contai
13. to the user 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 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 1s 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 1s not true for custom date ranges When a custom date range 1s reloaded the given start and end date will always be used Page 20 Doc 4 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w 5 4 4 Deleting a saved chart 2 MoteWeb Windows Internet Explorer PENE File Edit View Favorites Tools Help Ge yv E http moteweb xbow com 8080 vi X Pr xx j i we ox Moteweb ar EJ ge gt Page Cf Tools Save current chart i Delete Chart Select the saved chart configuration to delete from the server Load chart temp vs solar volt all nodes last week v Chart Name temp vs solar volt all nodes last week Axis 1 Sensors Temperature Axis 2 Sensors Solar Voltage Nodes Node 501 Node 502 Node 503 Node 504 Node 505 Node 506 Node 507 Node 508 Date Range Last Week OK l Cancel Waiting For http moteweb xbow com 8080 history htm T Internet 10079 7 id Start JG PAX Yahoo
14. use only alpha numeric characters with no spaces Remember the database name to restore the database later Restore Saved Database Once a database is saved it can be reloaded at a later time It is useful to reload previous databases 1f you are reconnected to an old network or you would like to view old data in MoteExplorer Ope aio 2 Enter database name to restore Name used during save operation Database Name WARNING Ths willl overwrmitke your CUrr nk database ancluding all your ceo Bo OD vene Xo Josse NG CE When restoring a database the user will be prompted with a name under which the database was saved When restoring a database the current database will be overwritten If the data in the current database is required save the current database off to another name and then restore an old database Delete Saved Database It is important to delete old saved databases in order to save space on the Stargate NetBridge Once a saved database is no longer 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 the sensor and configuration data 1s removed This all
15. 0 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 correspondence please refer to the equipment by the model number the serial number and the RMA number 10 3 5 Return Shipping Address Use the following address for all returned products Crossbow Technology Inc 4145 N First Street San Jose CA 95134 Attn RMA Number XXXXXX 10 4 Warranty The Crossbow product warranty is one year from date of shipment Doc ft 7430 0449 01 Rev A Page 53 Crossb w Crossbow Technology Inc 4145 N First Street oan Jose CA 95134 Phone 408 965 3300 Fax 408 324 4840 Email info xbow com
16. 10 58 10 08 16 2007 11 04 32 08 16 2007 11 04 32 08 16 2007 11 04 32 Node Id Node 504 Node 504 Mode 504 Node 505 Node 505 Node 505 Mode 503 Node 503 Node 503 Node 501 Mode 501 Node 501 Node 507 Node 507 Node 507 Node 506 Node 506 Node 506 Node 508 Node 508 Node 508 Node 502 Node 502 Node 502 Sensor Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Temperature solar mep Soil Temperature solar mep Soil Temperature Resistance solar mep Reading 9 58 Centigrade 42 92 Centigrade 4364 00 Ohms 13 33 Centigrade 14 24 Centigrade 16503 00 Ohms 12 23 Centigrade 44 45 Centigrade 4090 00 Ohms 11 89 Centigrade 15 07 Centigrade 15831 00 Ohms 12 91 Centigrade 44 12 Centigrade 4148 00 Ohms 11 98 Centigrade 13 49 Centigrade 17139 00 Ohms 11 38 Centigrade 79 29 Centigrade 42445 00 Ohms 14 00 Ce
17. 29s 07m 59s La internet db gt i Page Gi Tools gt 7 MoteExplorer Last Update 09m 18s iim 48s 28m 19s 100 D OJ FRE 11 06 am The Application Yield window displays hourly daily and weekly display statistics for each type of data packet arriving from a node Yield is displayed as a percentage over the given time range In addition the number of packets 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 1s 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 software on the node and contains network diagnostic information Doc 7430 0449 01 Rev A Page 23 Crossb w Stargate NetBridge Gateway User s Manual 5 5 2 Mesh Health 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help Go v le http Imoteweb xbow com 8080 vi 9 x pogle IFTE w d Moteweb em B v r Page 3 Tools otekxnlorer Node Health Battery Hop Count Load Pkts Generated Pkts Forwarded Last Updated 0 29495 0 59d 00h 09m 19s 501 1 0 00 2024 o 09m 10s 502 42 p 0 03 2021 66 10m 10s 504 3 1 0 00 1479 3 Oid 08h 12m 295 0 00 2019 0 12m
18. 8080 history htm m Internet 100 4 FF gt amp The Server Health window displays information about the XServe server running on the Stargate NetBridge gateway The following fields are displayed e Version This current firmware version of XServe e Uptime The length of the time the server has been up and running e Average Processing Time The average time the server spends processing events in seconds e Throughput This table displays the average number of packets coming in from the mesh network and going out to the mesh network Doc 7430 0449 01 Rev A Page 25 Crossb w Stargate NetBridge Gateway User s Manual 5 6 Data The Data window in the MoteExplorer provides a tabular searchable view of the current data from the sensor nodes 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help Go 6 http moteweb xbow com 8080 vi x 3oogle Ir de Moteweb iml Gr D mm iyrage Toos Current Sensor Data 2 Temperature Time 08 15 2007 02 37 50 08 15 2007 02 37 50 08 15 2007 02 37 50 08 16 2007 10 45 09 08 16 2007 10 45 09 08 16 2007 10 45 09 08 16 2007 10 47 40 08 16 2007 10 47 40 08 16 2007 10 47 40 08 16 2007 10 51 40 08 16 2007 10 51 40 08 16 2007 10 51 40 08 16 2007 10 53 40 08 16 2007 10 53 40 08 16 2007 10 53 40 08 16 2007 10 56 10 08 16 2007 10 56 10 08 16 2007 10 56 10 08 16 2007 10 58 10 08 16 2007 10 58 10 08 16 2007
19. 9 01 Rev A Stargate NetBridge Gateway User s Manual we od O motewsb l Chart Crossb w BENET x zs eE y g E da v i Page Ci Tools _ Create a new chart i Create A New Chart Create a chart by selecting the sensor on each axis the nodes and the date range Chart Name optional Select Axis 1 Sensor Select Axis 2 Sensor Select Nodes Select a date range Non None Node 0 Last Day v Temperature solar mep L Temperature solar mep Node 501 i Soil Temperature solar mep Soil Temperature solar mep le Node 502 Soil Moisture solar mep Soil Moisture solar mep J Node 503 Solar Hours solar mep LJ Solar Hours solar mep Node 504 Solar Voltage solar mep 18 Solar Voltage solar mep I Node 505 Battery Voltage solar mep _ Battery Voltage solar mep J Node 506 uP Voltage solar mep IJ uP Voltage solar mep Node 507 LJ Soil Resistance solar mep LJ Soil Resistance solar mep I Node 508 Soil Temperature Resistance solar mep ILJ Soil Temperature Resistance solar mep Select the type of plot 18 Line Graph Point Graph J High Low Graph Select All Unselect All l OK Cancel Waiting for http moteweb xbow com 8080 history htm ig amp Internet 100 id start JG AS Yahoo Finance Get Ty 7430 0449 01 A Slu fi My Documents 99 When selecting the New create
20. Doc 7430 0449 01 Rev A Page 39 Crossb w Stargate NetBridge Gateway User s Manual Internet Protocol TCP IP Properties 2 x General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask pour network administrator for the appropriate IP settings C Obtain an IP address automatically Use the following IP address IP address 192 168 1 1 Subnet mask 255 255 255 0 Default gateway 192 168 1 1 Obtain DNS server address automatically Use the following DNS server addresses Preferred DNS server i Alternate DNS server i R Advanced OK Cancel ok If the Stargate NetBridge is connected properly with a cross over cable and has been booted and running for at least two minutes you should be able to ping it using a Command window The output should look similar to this Qux Ping cS scm Eng euo NNN MEC SET cte Reply trom 97 716s qs byees 32 time 2ms TING Reply from 192 168 1 11 bytes 32 Eime lt ims TT5 64 Reply from 192 168 1 77 bytes 32 time lt lms TTL 64 Reply trom 192 6901 77 byees 32 eime lt ims TINEGA Bak inte cus sneak ciue e cQ eda I oL S oe eo yey Packets Sent 4 Received 4 Lost 0 0 loss Approximate round crip times in milli seconds Minimum Oms Maximum 2ms Average Oms 7 6 Assigning Static IP address The Stargate NetBridge is factory configured for DHCP dynamic IP addre
21. More information about MoteExplorer and its features can be found in the Chapter 5 of the manual 4 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 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual 3 Hardware Overview 3 1 Stargate NetBridge Gateway The Stargate NetBridge gateway is an embedded Sensor Network gateway device It is based on the Intel IXP420 XScale processor running at 266MHz It features one wired Ethernet and two USB 2 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 USB port Figure 3 1 Photo of the Stargate NetBridge Doc 7430 0449 01 Rev A Page Crossb w Stargate NetBridge Gateway User s Manual 3 1 1 Performance Specifications Table 3 1 Stargate NetBridge Gateway Performance Specifications Parameter Operating Value 3 1 2 Electrical Specifications The electrical specifications for the Stargate NetBridge Gateway are provided in Table 3 2 Table 3 2 Stargate NetBridge Gateway Electrical Specif
22. Param name printfields value nodeid parent epoch vrei thermistor light accelX accelY magX magY gt lt XDataSink gt The Generic Print Datasink takes the following parameters Table 8 10 Generic Print DataSink Parameters printstring This is a template string which will format the YES display out to screen Each 96 value will be filled in with the corresponding field value printfields The print fields are the name of the fields YES whose value will replace each in the printstring template Each 96 is replaced with Page 48 Doc 4 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual MR a field in order 8 1 2 Generic File Datasink The Generic File Datasink outputs data to a specified file The field delimator the header and the file name are all configurable by a XML Configuration file lt XDataSink name Generic File Datasink gt XDSParam name rawfilename value opt tinyos l x raw surge data txt XDSParam name parsedfilename value opt tinyos 1 x parsed surge data txt XDSParam name convertedfilename value opt tinyos l x converted surge data txt SSE vas name cdelim yalue gt lt XDSParam name header value yes gt lt XDataSink gt The Generic File DataSink takes the following paramteres Table 8 11 Generic File DataSink Parameters rawfilename The filename where raw data output is written the parameter is not given then
23. SN Job Mode Gateway Database Sensor Board 4 Select Database to log to Available Databases Current Database Server localhost Database task Gatewa ad LN Port 5432 User Name tele Password tiny Database Sensor Board 5 n 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 amp Connect to WSN Joby Mode Gateway Database Sensor Board 5 Select Sensor Application Application Name EE Database Table Name Gateway View Alternate Table e Sensor Board 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 4 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w 4 Server Error Messages Displays a log of server events and incoming messages Node List
24. Stargate NetBridge Gateway User s Manual Revision A October 2007 PN 7430 0449 01 www xbow com 2007 Crossbow Technology Inc All rights reserved Information 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 Stargate NetBridge Gateway User s Manual 1 Introduction 1 1 1 2 2 Quick Start WSN Kit Users 2 1 3 Hardware Overview 3 1 4 System Configuration 4 1 4 2 4 3 5 Data Visualization using MoteExplorer 5 1 SS 2 9 5 4 5 5 5 6 6 Data logging and Visualization using MoteView 6 1 Table of Contents Stargate NetBridge Gateway Overview rrrnnnrrrrrnnnrrrnnnnnrrsrnnnnrrnnnnnensrsnnnrnnnnnsssssrssnsnnnn ee EU GE EEE EE ted eM DM A dose eei huE Out or tlbe Box Det cte siis doe die dis eiecti idedu an die Do Nout aso dau iedoritep Baa nU de ENEBARN Boot oed E N iiem eise e xev venias Gateway Server statis HS ee Network TODOIOBIOS sva Presrequirerelits vase Remote Connection using Mote VIE redere 0 2 MoteVteW dtd ONE eee ed 7 Advanced Stargate NetBridge Administration 7 1 TZ TG 7 4 7 5 7 6 7 7 7 8 8 Appendix A Advanced XServe Configuration 8 1 9 Appendix B Accessories 9 1 Remote Stargate NetBridge Administration eese Mote Explorer Admin
25. a 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 Stargate NetBridge its hostname or IP address has to be known The GatewayConfig tool can help scan and find the IP address Some networks will resolve the hostname properly so knowing the NetBridge s IP address is not required The hostname is determined by the prefix sluggo and the 5 digit serial number that can be found on the sticker attached to the bottom of the device e g SN 00006 gt hostname is s uggo 00006 Enter Attp hostname e g http sluggo 00006 into your Web browser If the MoteExplorer welcome screen appears you do not need to install the GatewayConfig tool skip to the next section Install GatewayConfig by double clicking on GatewayConfigSetup lt version gt exe file found on the CD The Setup wizard would guide you through the installation process Make sure to check all the installation options you would need Microsoft NET Framework 2 0 Doc 7430 0449 01 Rev A Page 3 Crossb w Stargate NetBridge Gateway User s Manual i Setup GatewayConfig Select Additional Tasks Which additional tasks should be performed Select the additional tasks you would like Setup to perform while installing GatewayCornfig then click Next Microsoft NET Framework 2 0 GatewayCornfig tool Additional icons e Run GatewayConfig from Windows Start gt Programs gt Crossbow
26. ally run the following command from the command promt Pence dicate s OU ESSE WIE Sic SHE TE Staring XServe automatically starts MoteExplorer Unless XServe is started users will not be able to log into MoteExplorer Page 34 Doc 4 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual 7 3 2 Stopping XServe XServe is automatically stopped when a USB compatible base station is removed from the Disk 2 USB port The Disk 2 LED on the front panel will be off to indicate that XServe is not active To stop XServe manually run the following command from the command prompt Here nde SEVEN SILOS Stopping XServe automatically stops MoteExplorer Unless XServe is started users will not be able to log into MoteExplorer 7 3 3 Database management XServe stores sensor data in a SQLite database located on the Stargate NetBridge The database contains both sensor data and network configuration data for a particular mesh network For example the XServe database contains information about the Node Locations using the MoteExplorer Map or saved Charting queries using MoteExplorer Charts When connecting the Stargate NetBridge to a new network or resetting an existing network it is important to reset XServe s database so that old values do not interfere with the new network The XServe database is managed using the managedb command located on the Stargate NetBridge To run the managedb command it is necessary to remotely SSH in
27. anges such as Last Hour Last Day and Last Week are relative date ranges This means that when the chart 1s 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 1s not true for custom date ranges When a custom date range is reloaded the given start and end date will always be used Doc 7430 0449 01 Rev A Page 19 Crossb w Stargate NetBridge Gateway User s Manual 5 4 3 Loading a chart 2 MoteWeb Windows Internet Explorer MEINER File Edit View Favorites Tools Help Ge yv E http moteweb xbow com 8080 MI sgl X la pi p m Se ns i I gt w dir C MoteWeb ta X EJ ga v Page GF Tools Save current chart Load Chart Select the chart configuration to load Load chart temp vs solar volt all nodes last week v Chart Name temp vs solar volt all nodes last week Axis 1 Sensors Temperature i Axis 2 Sensors Solar Voltage Nodes Node 501 Node 502 Node 503 Node 504 Node 505 Node 506 Node 507 Node 508 Date Range Last Week OK l Cancel Waiting For http moteweb xbow com 8080 history htm uj Internet 10095 v id Start E P 3 Yahoo Finance Get t 7430 0449 01 A Slu fik My Documents MoteWeb Windows Once a chart 1s saved a user can load a given chart at a later date When the user selects the Load chart drop down a Load Chart wizard is displayed
28. asink XDSParam name printstring value SURGE sensor data converted to engineering units n Doc 7430 0449 01 Rev A Page 47 Crossb w Stargate NetBridge Gateway User s Manual 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 9 ACCS 5 G n MagX ss mgauss Magy s mgauss gt lt XDSParam name printfields value nodeid parent epoch vref thermistor light accelX accelY magX magY gt lt XDataSink gt Table 8 8 XDataSinks Attributes Attribute Description Required The name of the data sink to be configured lt XDSParams gt The lt xDSParam gt defines the parameters to each datasink Table 8 9 XDSParams Attributes Attribute Description Required Name The name of the parameter to pass into the YES datasink value The value of the named parameter to pass into the datasink 8 1 1 Generic Print Datasink The Generic Print DataSink displays data on the terminal screen The layout and the fields displayed on the screen for each packet are configurable using a XML Configuration file lt XDataSink name Generic Print Datasink gt lt 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 oh s ADC mv n AccelX S 9 AccelY s gin MagX oS mgauss Magy s mgauss lt XDS
29. ateway User s Manual Crossb w 9 Appendix B Accessories 9 1 Crossbow Accessories Table 9 1 Supported Crossbow Base Station Units Model Description NOTE Crossbow Telos and Imote2 motes can be connected via the USB port however Crossbow does not provide software support for such 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 specific product e Hubs e FLASH drives e Memory card adapters e UPS devices e Serial parallel port adapters e Wifi adapters e Cellular modems e GPS devices e Printers e Webcams e Audio adapters Doc 7430 0449 01 Rev A Page 51 Crossb w Stargate NetBridge Gateway User s Manual 10 Appendix C Warranty and Support Information The Stargate NetBridge is a Crossbow modified Cisco Linksys NSLU2 device It is supported by Crossbow only Please do not call Linksys or Cisco for support 10 1 Customer Service As a Crossbow Technology customer you have access to product support services which include e Single point return service e Web based support service e Same day troubleshooting assistance e Worl
30. b w Stargate NetBridge Gateway User s Manual 3 Using the Edit menu select Select All from the given choices This should highlight all the folders and files on the right side of the Explorer Using the Edit menu select Copy from the given choices Now open the Stargate NetBridge s xserve directory mapped using Samba Right click in the Right side pane and select Paste from the choices When asked to overwrite existing files say Yes to All 9 n NU Finally re plug any BU into the Stargate NetBridge and restart it 7 5 Direct connection to a PC using Crossover cable If a direct connection to a PC without a Router 1s desired a special cross over cable not included must be used The set up procedure is described below 192 168 1 x otargate NetBridge Figure 7 2 Direct network connection 4 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 1s 192 168 1 77 Before connecting the Stargate NetBridge to a network without DHCP make sure that no other machine occupies this address To configure the PC properly for this network type follow these steps 1 Open the Network Connections window from the Start Menu or from the Control Panel Click on the Icon representing your Ethernet interface typically LAN Page 38 Doc 4 7430 0449 01 R
31. ctive processes rm file delete a file rmdir dir remove an empty directory smbpasswd change Samba access password top live update on running processes use q to quit Page 30 Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w vmstat list current memory usage wW list who is logged in 7 1 2 Access using Samba Stargate NetBridge uses Samba SMB to enable transfer of files between Stargate NetBridge and a PC You can use Samba to map Stargate NetBridge directories to your PC or you can use ssh and scp 1f you have Linux and transfer MoteExplorer configuration files To use Samba e Start Window s Explorer and select the Map Drive icon which brings up the screen below e Type in Wsluggo 00006 serve use your Stargate NetBridge s number in place of 00006 Map Network Drive Windows can help you connect to a shared network folder and assign a drive letter to the connection so that you can access the folder using My Computer Specify the drive letter for the connection and the folder that you want to connect to 7A e Vsluggo 00006 lxserve le Example Viserver share Reconnect at logon Drive Fi L Folder e Select Connect using a different user name which brings up the following screen Type in user as the user name and use the password shown above in section 7 1 1 Then select OK Then select Fin
32. dge Gateway User s Manual 5 Data Visualization using MoteExplorer This section describes the features of the MoteExplorer web interface included with the Stargate NetBridge MoteExplorer is a web based sensor network visualization application The MoteExplorer application supports Crossbow s sensor and data acquisition boards Table 1 1 For other legacy boards users should use Mote View to log and visualize data as explained in Chapter 6 Table 5 1 MTS MDA boards supported by MoteExplorer and their compatible Mote platforms Sensor and Data Acquisition Boards Mote Platforms MICAz MICA2 MTS300 310 MTS300 310 MTS400 MTS420 MDA100 MDA300 MDA320 5 1 Pre requirements 5 1 1 System Requirements e PC connected to the Internet e Web browser e g Microsoft s Internet Explorer or Mozilla s Firefox e 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 1s already installed on your PC continue with the login steps If Flash 9 x 1s 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 MoteExplorer is a web based application and can be accessed through a PC s web browser To access the application users will need the MoteExplorer URL address Users can use either the hostname of their Stargate NetBridge written on a sticker attached t
33. displays neighbor and route information in the lower neighbor table To display the neighbor and route information for a particular node click on the row for that node in the node table The neighbor table displays the route the node takes back to the base station gateway above the neighbor table In addition for each neighbor to the node it displays the following Page 24 Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual e Path Cost The path cost is a metric which represents the quality of path to the base station going through that node A path cost equal to the hop count of the node is considered a perfect path The larger the path cost the worse the quality of the path e Link Quality This is the quality of the link to the particular neighbor A quality of 1 0 is perfect and a quality of 0 1s bad The overall link quality 1s the product of the quality in from that neighbor and the quality out to the particular neighbor e Last Updated This is the last time the node send information about this neighbor 5 5 3 Server Health 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help 4 n x sooo A Go v http moteweb xbow com 8080 we de Q Moteweb en Q Bl dv iyrage Tos 23 0 30d 18h 50m 20s 0 007415 Avg Pkt Rate Min Avg Pkt Rate Hour Avg Pkt Rate Day 120 2878 0 0 Waiting for http moteweb xbow com
34. dwide Crossbow representation e Onsite and factory training available e Preventative maintenance and repair programs e 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 a Returned Material Authorization number RMA Be ready to provide the following information when requesting a RMA e Name e Address e Telephone Fax Email e Equipment Model Number e Equipment Serial Number e Installation Date e Failure Date e Fault Description Page 52 Doc 4 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w 10 3 2 Identification and Protection If the equipment is to be shipped to Crossbow for service or repair please attach a tag TO THE EQUIPMENT as well as the shipping container s identifying the owner Also indicate the service or repair required the problems encountered and other information considered valuable to the service facility such as the list of 1nformation provided to request the RMA number Place the equipment in the original shipping container s making sure there is adequate packing around all sides of the equipment If the original shipping containers were discarded use heavy boxes with adequate padding and protection 1
35. e administration for MoteExplorer is done through modifications to the XServe server files See below for more information on XServe and XServe administration 7 3 XServe Administration XServe is the Crossbow Gateway Server application which runs on each Stargate NetBridge XServe analyzes and stores information about the mesh network and then displays that information through MoteExplorer Figure 7 1 shows an architectural view of the server Doc ft 7430 0449 01 Rev A Page 33 Crossb w Stargate NetBridge Gateway User s Manual Nodeld 3 Raw mesh Data ef Temp 57 10110101 an ae Bide 2 Temp 57 sunn Temp 57 Putana ai Ta Temp 57 TiS ray Ber oe erue a Serial Connection amp Ta gt Raw mesh Data 101101011 Figure 7 1 XServe architecture e Raw Mesh Data Forwarder XServe provides a direct interface to receive and send data to the mesh network The data passes through XServe unprocessed e Mesh Data Parser XServe uses XML Configuration Files to describe and convert data from the mesh into meaningful sensor data e Mesh Data 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 1s attached via the Disk 2 USB port The Disk 2 LED on the front panel will be lit green to indicate that XServe 1s active To start XServe manu
36. e process of setting up a simple Mote sensor network demonstration The four main steps are to l 2 3 4 Set up Stargate NetBridge Set up BU base station and SN sensor nodes optional Run the GatewayConfig tool to find the IP address of the Stargate NetBridge Start MoteExplorer and visualize sensor data from the wireless sensor network 2 1 1 Setting up Stargate NetBridge To get started and set up the Stargate NetBridge Page 2 Remove the Stargate NetBridge gateway from its packaging An included base can be used for upright operation The bag holding the Stargate NetBridge also contains an 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 CATS Ethernet cable and a snap on inductor For optimal noise reduction place the inductor close to the connector that will plug into the Stargate NetBridge and snap it in place Connect the Ethernet cable to the Stargate NetBridge Ethernet port The other end would typically plug into a Router or Ethernet hub switch If a direct connection to a PC without a Router 1s desired a special cross over cable not included must be used Refer to Section 7 4 for further details on this type of set
37. erve MoteExplorer Information XServe Processes XServe System Files total 8236 drwxr xr x 2 user user 4096 Sep 25 14 19 drwxrwxr x 14 user user 4096 Aug 31 15 12 rwxr r 1 user user 32 Aug 31 13 56 basejoinmap xtbl rwxr r 1 user user 12 Aug 31 13 56 joinmap xtbl rwxr r 1 user user 28 Aug 31 13 56 joinreject xtbl rwxr r 1 user user 8399872 Sep 25 14 19 xserve sqlite db 4 3 Network Topologies For this user guide we will assume that the network to which the Stargate NetBridge 1s connected consists of a class C IP network e g of the type 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 NetBridge should never be directly connected to the Internet without using a NAT router or firewall This poses a serious security risk as the Stargate NetBridge is not equipped with firewall protection to prevent unauthorized access The Stargate NetBridge is factory configured for DHCP dynamic IP address If a static IP address 1s desired it will need to be reconfigured using the procedure described in the Section 7 6 Doc 7430 0449 01 Rev A Page 11 Crossb w Stargate NetBri
38. ev A Crossb w Stargate NetBridge Gateway User s Manual Network Connections E E mi xj File Edit View Favorites Tools Advanced Help d LE x x 3 E search Folders la LX x ie E address niemerkcometters LL Rel Dial up a Sprint PCS Vision Sie LAN or High Speed Internet a a a a a d j Q s SonicWALL USB LAN VMware WLAN VMware LAN Virtual Netw Netw Wizard E New Connection Wizar 2 Click on Properties ans ET General Support gt Connection Status Connected Duration 8 days 22 14 39 Speed 100 0 Mbps Activity gg aa Sent ET Received la Packets 55 162 004 43 424 258 mE Disable LLAN Properties A M 888 084 General Authentication Advanced Connect using ES Broadcom Netxtreme 57xx Gigabit Cc This connection uses the following items QoS Packet Scheduler v gt Network Monitor Driver Internet Protocol TCP IP Install Uninstall Properties Description Allows your computer to access resources on a Microsoft network Show icon in notification area when connected IV Notify me when this connection has limited or no connectivity DK Cancel 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
39. f files commands to be typed and output coming from the computer Table 0 1 Font types used in this document Font Type Usage Sample code and screen output Courier New Bold Commands to be typed by the user Times New Roman Italic TinyOS files names directory names Franklin Medium Condensed Text labels in GUIs Doc 7430 0449 01 Rev A Page iii Crossb w Stargate NetBridge Gateway User s Manual 1 Introduction This User s Manual describes the features and operation of the Stargate NetBridge embedded wireless sensor network gateway 1 1 Stargate NetBridge Gateway Overview Stargate NetBridge is a Linux based embedded Wireless Sensor Network WSN gateway based on the Linksys NSLU2 device It has been modified 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 e 1x Stargate NetBridge e 1x USB FLASH disk e x Stargate NetBridge power supply e x Stargate NetBridge vertical stand e x Ethernet cable e x CD with the software and documentation Doc 7430 0449 01 Rev A Page 1 Crossb w Stargate NetBridge Gateway User s Manual 2 Quick Start WSN Kit Users 2 1 Out of the Box Demo This section will step you through th
40. fault user password can be changed using the ManageUser tool refer to Section 7 3 4 Users who have modified the XServe Server process on the Stargate NetBridge to run on non default ports can use the Advanced section of the Login screen to specify the new Data and Command ports 5 3 Map MoteExplorer provides users will a mechanism to visualize sensor data relative to a user provided map m E 5 EO P a H le H AN as mg va SG OE URN E RR t Neri I KA a Y ne K gt A pm m mn er TT TEL btw Ts A MM E ANO Un positioned Nodes 2 fi ji y K iy fy L x 3 AN ji 4 74 a p ll 7 E Eu PA Hue 2 3 a a mU M aT Id sban T p Fv vi o i ad Ar er amp Me S Sh 1 5 aa e 3 F pk er au ry a 4 M S N a SN LI LI a Li LI i L1 L L L LI t Li p L H Ll L i J a i a Ll H 5 3 1 Positioning Nodes As new nodes are detected 1n the Network 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 the Reload button on the top right The Mag
41. gt tag in a Field Extractor and it contains all Field mapping definitions lt XFields gt verserer lt XFields gt lt XField gt The lt xFiela gt 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 XField name light byteoffset 20 length 2 type uintl6 gt Se Table 8 2 XField Attributes Attribute Description Requred name The name of the field The name should be unique YES within the Field Extractor byteoffset The position of the value of this field in the packet YES relative to the beginning of the packet length The size of the value in bytes ie The type of the field value Possible values are e byte e char e short Doc ft 7430 0449 01 Rev A Page 43 Crossb w lt XBitField gt Stargate NetBridge Gateway User s Manual Farbu Desin Ree e int long uint8 uint16 uint32 uint64 raw string float double The lt xBitField gt tag is a specialized version of the lt xField gt tag allowing the user to extract fields at the bit level granularity This is useful for extracting information from a bit map or extracting data from data which has been byte compressed For example the Surge Application sends the voltage reference in the top 9 bits of a uint32 field in the data packet To extract the voltage reference from the 32 bit number we need to mask out the top 9 bits and then
42. gt GatewayConfig e Inthe GatewayConfig GUI click on Scan e Allow sometime for the scanning to complete and the GUI would display a list the Stargate NetBridge gateways that were found in your network e 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 Stargate NetBridge Gateway User s Manual Crossb w IP Address Hostname Services 10 1 1 12 moteweb xbow com serve 10 1 1 8 sluggo 00005 intemal xbaw com xserve 10 1 1 112 demo gx260 2 intemal xbow com xserve 10 1 1 111 sluggo 00010 intemal xbow com serve 10 1 1 108 sluggo DUUOU8 intemal xbow com serve 10 1 1 250 sluggo 0001 1 intemal xbow com xserve 2 1 4 Start up MoteExplorer The primary interface to the Stargate NetBridge can be accessed using a Web browser on a locally connected PC In order to connect to the Stargate NetBridge its hostname or IP address has to be known e Open a web browser eg Internet Explorer or Firefox e The following URLs will bring up the MoteExplorer login screen http hostname or http ip address MoteWeb Mozilla Firefox File Edi View Hist Hist y Book narks rks Yahoo Tools oos Help a QOO gU or SS e 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
43. ications Operating Value Voltage supply 5 0 Volts Power Consumption lO 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 User Interfaces 1 x soft power button 1 x Reset button Automatic boot when powered Other features Real time clock battery backed up RTC Watchdog timer 3 1 3 Environmental and Mechanical Specifications The environmental and mechanical specifications for the Stargate NetBridge gateway are provided in Table 3 3 Table 3 3 Stargate NetBridge Gateway Environmental Specifications Parameter Operating Value Storage Temperature 10 C to 60 C Operating Temperature 5 C to 40 C Humidity 5 to 90 non condensing 160g Page 8 Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual 4 System Configuration 4 1 Boot Procedure The start of the boot process has the top LED named Status light up yellow The LED just below it labeled Ethernet will blink green at any time if a proper wired Ethernet connection is present After a short while the Status LED will blink yellow and green alternately followed by all four LEDs blinking consecutively for a period of time Subsequently the bottom two LEDs will turn off and the top LED will be yellow for a while The boot process is complete when the Disk 1 LED starts lighting up and the Status LED turns blinks green and yellow A short beep indicates the com
44. ish Doc 7430 0449 01 Rev A Page 31 Crossb w Stargate NetBridge Gateway User s Manual Windows can help you connect to a shared network folder and assign a drive letter to the connection so that you can access the folder using My Computer Specify the drive letter for the connection and the folder that you want to connect to Drive Folder Example Viserver lshare Reconnect at ien e Once your PC has connected the file directory on Stargate NetBridge will appear as a mapped drive on your PC File Edit View Favorites Tools Help Back d x f po Search FE Faders Folders Address ES ZU Folders Size xserve on sluggo 00006 server A bin bin C commandxml commandxml C configxml gt configxml orig Gjindude lib legs E linux nslu2 pm 15KB RT xbuild pl 6 KB D Control Panel 2 xparams args 1KB E 16 objects Disk free space 1 32 GB Once the file manager window opens the Stargate NetBridge window the files 1n the usr xserve directory can be read or written Page 32 Type File Folder File Folder File Folder File Folder File Folder File Folder File Folder File Folder File Folder File Folder File Folder File Folder PM File PL File ARGS File 20 2 KB Veluggo 00006 serve fv Date Modified 8 13 2007 11 37 AM 8 13 2007 11 37 AM 8 31 2007 3 12 PM 8 13 2007 11 37 AM
45. istration users desserten Serena Recovery ortie STP je Direct connection to a PC using Crossover cable rrrrrrrrnnnrrrrrrvnnrrnnnnnrrrrrrnnvrnnnnnnnnnnne Assam SAU TP1de Ser COMMERCIAL fe ks saus Re programming the base using UISP utility eese ee SNE C TOSSDOW JXCCOeSSOLIGSS vadere eeu Led Doc 7430 0449 01 Rev A 51 Crossb w Page I Crossb w Stargate NetBridge Gateway User s Manual MEE ON NNN 51 10 Appendix C Warranty and Support Information eee e eee eee ee e eee eee 52 10 1 CE SN EE 52 I0 ENN 27 10 5 RPR 32 Vvs 53 Page ii Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual About This Document The following annotations have been used to provide additional information NOTE Note provides additional information about the topic M EXAMPLE Examples are given throughout the manual to help the reader understand the terminology gt IMPORTANT This symbol defines items that have significant meaning to the user A WARNING The user should pay particular attention to this symbol It means there 1s a 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 o
46. l 64 Scope Link UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 459986 errors 0 dropped 0 overruns 0 frame 0 TX packets 2527 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 100 RX bytes 32502391 30 9 MiB TX bytes 1142335 1 0 MiB lo Link encap Local Loopback inet addr 127 0 0 1 mMask 255 0 0 inet6 addr 1 128 Scope Host 0 UP LOOPBACK RUNNING MTU 16436 Metric 1 RX packets 8 errors 0 dropped 0 overruns 0 frame 0 TX packets 8 errors 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 Mem 30707712 29478912 1228800 Swap 132849664 4775936 128073728 Total 163557376 34254848 129302528 Virtual Memory Statistics r b swpd free buff cache si so 1 0 4664 1192 5120 6356 0 0 Per process Memory Allocation shared buffers cached 0 5242880 6508544 bi bo in cs us sy id wa 1 II 175 21 1 1796 2 PID USER COMMAND START MEM CPU 1 root init Sep24 1 9 0 0 2 root ksoftirqd 0 Sep24 0 0 0 0 3 root events 0 Sep24 0 0 0 0 Page 10 Doc 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual Current Process List PID COMMAND 1 init 2 2 ksoftirqd 0 3 events 0 XS
47. n values from other fields in the packet allowing complex equations The values used for each field input into the equation are the raw value pulled from the 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 byteoffset 21 length 1 type uint8 lt XConvyersion ae EE NG lt XConvParam variablename x fieldname vref type float gt XConvParam variablename y fieldname light type uint8 XConversion d qaa dikebs Table 8 4 XConversion Attributes AW Domene function The mathematical equation required to convert the value to its appropriate unit of measure returntype The type of the field value after conversion Possible values are byte char short int long uint8 uint16 uint32 uint64 raw string float double lt XConversionParam gt Doc ft 7430 0449 01 Rev A Page 45 Crossb w Stargate NetBridge Gateway User s Manual The xconversionParam tag maps the variable in the function to a field name in the actual parser This allows users to build generic equations to use over and over and then map the actual variables diffe
48. neighbors with Green link quality e Orange Node has only one node with Green link quality e Red Link has no nodes with Green link quality Doc 7430 0449 01 Rev A Page 15 Crossb w Stargate NetBridge Gateway User s Manual The Network Overlay also allows you to see the nodes neighbors visually as well as the nodes network information including its parent route neighbors and battery voltage To view this information move your mouse over a node and pause for a second ene SS Se GEN EEE OE EG EE EE METTET 5 a LL rn 2 Node 505 Parent 503 Battery 4 20 V Route 505 gt 503 gt 0 Neighbors 0 501 502 503 506 507 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 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help sanje4asduus sbe3 oA JEJOS 12 00 13 00 14 00 15 00 16 00 17 00 18 00 19 00 20 00 21 00 22 00 23 00 0 00 1 00 2 00 3 00 4 00 5 00 6 00 7 00 8 00 9 00 10 00 11 00 Date i Node 502 Temperature Node 502 Solar Voltage Waiting For http moteweb xbow com 8080 history htm uj e Internet 100 FH Get Gh 7430 0449 01 A Slu fi My Documents MoteWeb Windows 4 Wa x amp JC s Wis 11 05 4m Users can create new charts load existing charts and save delete chart configurations Page 16 Doc 7430 044
49. nification Buttons on the top left allow you to zoom in and out of the map 5 3 2 Data Overlays The Map view allows you to see two different types of data Sensor Data and Network Data When on the sensor data overlay users will see the most recent sensor data from each node To Page 14 Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w view the sensor data place your mouse over the node and wait a second pop up with the sensor data will appear Battery 4 10 V SOLAR MEP EM Temperature 11 82 C Soil Temperature 15 07 C Soil Moisture 2 51 cBar EM Solar Hours 0 00 Hr Solar Voltage 0 01 V Battery Voltage 4 01 V uP Voltage 2 87 V Me Soil Resistance 928 00 ohms nm Resistance 15831 00 ohms ee When on the network data overlay users will see Network routing information for each node Initially users will see node parent and route information visually Each link represents a parent child relationship m j Ux Vea mn URN The color of the link indicates its quality Link Quality Indicators e Green Both incoming and outgoing links are over 90 e Orange Either one or both of the incoming or outgoing links is between 90 and 40 e 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 e Green Node has more than two
50. no raw data will be written to file parsedfilename The filename where NO parsed data output is If the parameter is not given then written no parsed data will be written to file convertedfilename The filename where NO converted data output is If the parameter is not given then written no converted data will be written to file delim The delimator to be used to separate field names id default value is header A Boolean indicating whether the file should iei default value is yes have a header Timestamp A format string indicating NO whether the file should The default value is no time have a timestamp as the stamps first column A Boolean indicating NO whether a restart should The default value is no back up any existing files or overwrite the current file 8 1 3 Sensor Log DataSink The Sensor Log Datasink is responsible for logging sensor data to a database It is also responsable for managing the MoteExplorer UI for sensor data Doc ft 7430 0449 01 Rev A Page 49 Crossb w Stargate NetBridge Gateway User s Manual XDataSink name Sensor Log Datasink gt lt XDSParam name sensorname value MTS310 gt lt XDSParam name columninfo value fieldname nodeid displayName Node Id displayOrder 1 XDSParam name columninfo value fieldname parent displayName Parent Id displayOrder 2 gt lt XDSParam name columninfo value fieldName voltage displayName Battery Voltage
51. ntigrade 44 23 Centigrade 4128 00 Ohms 24 of 72 rows retrieved S Time 08 16 2007 11 07 32 Name Physical Health Mesh XML Node Id 508 Packet Waiting For http moteweb xbow com 38080 history htm start amp ae Yahoo Finance Get Ull 7430 0449 01 A 5lu f r My Documents The top table displays the current data organized by time node 1d sensor and reading The data is continually updated as new data arrives from the mesh To search for a particular set of data users can type a search string into the top left search text box As users type the string 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 lower table displays information about live data as it arrives at the server As new data arrives its values are displayed including the time it arrived the type and name of the data and the node id it arrived from Page 26 Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w 6 Data logging and Visualization using MoteView This section describes how to use Mote View to remotely connect to the Stargate NetBridge and log vie
52. o one side of the device or an IP Address For users on a corporate or university network the hostname should be enough to allow users to find the application through the browser Most home routers do not support the means to use the hostname on the side of the box In those cases users will need to use the IP address of the Stargate NetBridge device Page 12 Doc 4 7430 0449 01 Rev A Crossb w Stargate NetBridge Gateway User s Manual The IP address of the Stargate NetBridge can be found either using the GatewayConfig tool see GatewayConfig section or can be found manually through your routers DHCP client table To look up the IP address using your routers DHCP table please refer to your routers manual 5 2 Login Login to MoteExplorer 1 Open a web browser on your PC 2 Inthe URL field type http lt your gateway name gt The name of your Stargate NetBridge can be found on a sticker attached to the side of your gateway MoteWeb Mozilla Firefox E aS SITES eae eee QOO mm 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 MoteExplorer requires a username and password to login The default values are Username admin Password crossbow Doc 7430 0449 01 Rev A Page 13 Crossb w Stargate NetBridge Gateway User s Manual The de
53. ompasses that data point e Charting date ranges less than a single day display detailed data for every point e Charting date ranges between a single day and a week are displayed as hourly aggregates of the data e Charting date ranges between a week and 6 months are displayed as daily aggregates of the data e Charting date ranges between 6 months and 2 years are displayed as 10 day aggregates of the data e 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 Low plots display each data value as a bar ranging between its maximum and minimum value The data values plotted for a particular chart depends on the whether a detailed or aggregate data point is displayed When displaying detailed data the Line and Point plots display the actual data value Since detailed data does not have a maximum and minimum value like aggregate data the High Low plot displays as a Point plot for detailed data values When displaying aggregate data the Line and Point plots display the average value of the aggregate point over that time The minimum and maximum value for the aggregate 1s displayed when the mouse is held over a point
54. ows the user to easily reset any network testing Operation 4 WARNING This will delete your entire database including all your data D FoD sene bo ensem MN When resetting the current database all the data in the database will be removed If the current data 1s important it is prudent for the user to save the data using the Save Database command before resetting the database Advanced XServe Database Management For users with knowledge of the SQL database query language XServe provided an SQL Terminal interface to the database The terminal interface is located at usr xserve bin sqlite3 database file gt SQLite contains the entire database in a single file which passed in as a parameter to the terminal interface The current XServe database file is located at usr xserve sys xserve_sqlite db Any saved databases are located Page 36 Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w usr xserve sys xserve sqlite db lt database name gt For more information on SQLite see the SQLite web site http www sqlite org 7 3 4 User management User information used in MoteExplorer is stored in the XServe database In the current release of XServe and MoteExplorer there is only a single user login admin The admin users default password is crossbow Users can manage the admin user password using the manageusr command located on the Stargate NetBridge To run the managedb command
55. pletion of the boot procedure as well The whole process takes about two minutes After Stargate NetBridge has powered up you should see the front indicators showing the following status Table 4 1 Stargate NetBridge Gateway LED indicator indicator Color Suus Green flashing Yellow System running Ready Status Yellow then flashing Green System boot Ethernet Flashing Green Network activity Solid Green XServe Running 4 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 4 2 Gateway Server Statistics The gateway server statistics page provide information about the network interfaces disk allocation memory usage process list along with memory allocations This can be accessed by typing the following URL in a web browser http lt hostname gt server html or http lt ip address gt server html This is useful in finding if the gateway is running out of disk space or memory Server Information Hostname sluggo 00006 Server Uptime 14 20 02 up 20 53 0 users load average 0 07 0 08 0 07 Current Date Tue Sep 25 14 20 02 PDT 2007 Network Interfaces eth0 Link encap Ethernet HWaddr 00 14 BF 68 8C A1 Doc 7430 0449 01 Rev A Page 9 Crossb w Stargate NetBridge Gateway User s Manual inet addr 10 1 1 248 Bcast 10 1 1 255 Mask 255 255 255 0 inet6 addr fe80 214 bfff fe68 8ca
56. processed XML Configuration files consist of 3 sections e Field Definitions Field Definitions describe the structure of a mesh data packet and define how to convert mesh data into sensor data These definitions are responsible for parsing the incoming mesh data e Filter Definitions Filter Definitions construct logical statements which determine the type of any incoming mesh data packets and are used to choose the appropriate XML Field Definitions to parse the data packet e DataSink Parameters Datasink Parameters describe which processing modules will handle the sensor data and pass data specific parameters into the processing module Below is a portion XML Configuration for a MTS300 data packet ml versions KR OM encocing NSO 5850 REN XServeConfig cx T uM cse OG lt XServeConfig gt lt XFieldExtractor name XMTS300 Multihop Config XML order 3 gt lt XFields gt lt XField name amtype byteoffset 2 length 1 type uint8 gt XField name nodeid byteoffset 7 length 2 type uintl6 specialtype nodeid gt lt XField name parent byteoffset 14 length 2 type uintl6 specialtype parentid gt lt XField name group byteoffset 3 length 1 type uint8 gt lt XField name board id byteoffset 12 length 1 type uint8 specialtype boardid gt lt XPaeld mame packerl 10 byk offset ps lengra an types uinkS gt lt XField name voltage byteoffset 16 length 2 type uintl6 gt lt
57. r UNIX systems the command is typically of the form ssh username hostname The default ssh port is 22 There are three main predefined users User Name Password Notes Standard user login Crossbow support login sluggomote System privileged login Most tasks can be accomplished using the user account which should be the standard way of logging in Some specific tasks require root privileges Special care should be taken when using 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 1t 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 Stargate NetBridge as it conforms to the regular Debian setup Note that the Stargate NetBridge is running on an ARM architecture CPU in little endian mode For users who are unfamiliar with Linux here are a few useful commands to get started cd dir switch to the directory dir df list the active file systems and their capacities du s dir list the total size of all files in the directory dir dmesg display the most recent boot log is list the content of the current directory lsusb list all attached USB devices passwd change login password ps aux list all a
58. rently in each conversion function Table 8 5 XConversionParam Attributes Awibue Description Required variablename The variable name in the equation which needs to be YES mapped to a field Fieldname The field name which is mapped to the variable inthe YES equation YES type The type the field s raw value needs to be cast to when in the equation Possible values are byte char short int long uint8 uint16 uint32 uint64 raw string float double Each Field Definition defines a parser for a particular type of packet The lt xFilter gt 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 can be nested if required lt XFilter gt The MTS310 sensor board parser should only be used to parse a data packet based on the following logic AMTYPE 0x31 OR AMTYPE 0x33 AND BOARDID 0x83 OME a dace XCondAnd lt XCondOr gt XCond name TsEqual gt lt XFilterParam name fieldname value amtype gt lt XFilterParam name fieldvalue value 0x31 gt lt XCond gt lt XCond name TsEqual gt lt XFilterParam name fieldname value amtype gt lt XFilterParam name fieldvalue value 0x33 gt lt XCond gt lt XCondor gt Page 46 Doc 7430 0449 01 Rev A Crossb w S
59. ss Alternatively it defaults to the static IP address 192 168 1 77 1f 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 NetBridge will first have to be brought up using either the DHCP or default static address For the later case make sure that no other machine occupies this address After logging into the Stargate NetBridge as root go to the following directory So Ero ewe ik Edit the interfaces file vi interfaces Look for the following line iface ethO inet dhcp Replace this line with the following lines lise SLN Last eae uc addressechoz do qc netmask 20 Ou D a EN Page 40 Doc 4 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w gateway 192 168 1 1 The above numbers are examples replace those with ones appropriate for your network Make sure that the address is correct as 1t would be very difficult to recover from a mistake Save the file and reboot the Stargate NetBridge it will boot with the new static address 7 7 Commercial networks In commercial environments routed sub nets are commonly deployed This can create difficulties in initially identifying the Stargate NetBridge s DHCP address with the gateway finder tool as it does not know about non local subnets In this case it is recommended to run the gateway finder
60. tab for the chart to be displayed Unused charts can be closed by clicking on the X in the chart tab When viewing a detailed data set users can choose to select the Display Live Data button This will continually update the chart with any new data that arrives from the network This button is only available on detailed data and is not available when viewing aggregate data sets When viewing a chart 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 tabs e Application Yield This window gives hourly daily and weekly yields for each type of data packet coming from a node e Mesh Health This window displays per node health statistics such battery voltage and number of hops It also give neighbor information about a particular node e Server Health This window displays the gateway servers uptime and throughput Page 22 Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual 5 5 1 Application Yield Crossb w 2 MoteWeb Windows Internet Explorer File Edit View Favorites Tools Help vir lx eon lel Go v le http f moteweb xbow com 8080
61. targate NetBridge Gateway User s Manual lt XCond name TsEqual gt XFilterParam name fieldname value board id gt lt XFilterParam name fieldvalue value 0x83 gt lt XCond gt lt XCondAnd gt lt XELLTCTEr gt lt XCondAnd gt lt XCondOr gt lt XCondNot gt lt XCond gt The lt xcond gt tag defines the name of the condition you wish to test Currently the only condition available 1s the IsEqual condition for a fieldname and a value The IsEqual condition takes the fieldname and the fieldvalue as its parameters Table 8 6 XCond Attributes attribute Description Required The name of the condition Available conditions are YES e sEqual The lt xFilterParam gt defines the parameters to each condition Table 8 7 XFilerParam Attributes Attribute Description Required The name of the parameter to pass into the filter lt XFilterParam gt The value of the named parameter to pass into the filter lt XDataSinks gt Data Sinks are responsible for executing specialized processing on sensor data packets The provided processing modules are e Generic Print Datasink e Generic File Datasink e Sensor Database Datasink For more advanced DataSinks please refer to the XServe user s manual lt XDataSinks gt Each parser can pass its own parameters into a DataSink to configure the data sink specifically for that packet type XDataSinks XDataSink name Generic Print Dat
62. to 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 Ihe currently running database is named xserve sqlite db Saved databases are named xserve sqlite db lt savedName gt Select an operation Ty Save currence database This i save a copy er your GUPrENL database neludsnsg Cata tTO boe are sou eor lacer 2 Restore saved database This will restore a previously saved copy of your database 3 Delete database This will delete a saved database 4 Reset current database This will reset your current database Operation Save Current Database The XServe database can be saved under a different name The database can then be reloaded at a later time The XServe database contains both sensor and system data for a particular mesh Saving a database 1s useful when disconnecting the Stargate NetBridge from one mesh network and connecting it to another The saved database can be restored later when the Stargate NetBridge is reconnected to the original network Operation 1 Enter name to save database as Database Name Doc ft 7430 0449 01 Rev A Page 35 Crossb w Stargate NetBridge Gateway User s Manual When saving a database the user will prompted with a name under which to save the database When selecting a name
63. tool on a machine that is on the same subnet as the Stargate NetBridge 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 Backbone 192 168 1 x Router Router Stargate NetBridge Figure 7 3 Multi network configuration 7 8 Re programming the base using UISP utility The UISP utility allows the reprogramming of the BU The UISP utility requires that the BU 1s attached to the Stargate NetBridge 1 Use MoteWorks to build your new BU application or use a BU application provided with the MoteView installation 2 Move the exe file to the Stargate NetBridge using Samba 3 SSH onto the Stargate NetBridge machine 4 Runthe following command usr xserve bin uisp dpart ATmegal28 dprog mib510 dserial dev ttyUSBO erase upload if lt the path to your exe file gt Doc 4 7430 0449 01 Rev A Page 41 Crossb w Stargate NetBridge Gateway User s Manual 8 Appendix A Advanced XServe Configuration 8 1 Configuring XServe XServe 1s configured through a set of XML Configuration files Each file defines how a data packet from the mesh is parsed and converted into sensor data It also describes which processing module will handle the sensor data and how it will be
64. up Stargate NetBridge Figure 2 1 Typical network configuration Doc 7430 0449 01 Rev A Stargate NetBridge Gateway User s Manual Crossb w Insert the included power adapter into a standard electrical outlet and plug the power connector into the Stargate NetBridge Upon application of external power the Stargate NetBridge will commence its boot procedure it is not necessary to push the power button at the front of the device 2 1 2 Setting up the BU base station and SN sensor nodes Optional If you purchased a Sensor Network base station such as the BU900 BU2110 or BU2400 with the Stargate NetBridge plug its USB cable into the remaining USB slot on the Stargate NetBridge labeled Disk 2 If you are planning to add other USB devices to the Stargate NetBridge the Disk 2 port can be attached to a standard USB hub which in turn can host additional devices Make sure that the external USB hub is powered active if the attached devices exceed the power capabilities of a passive hub Never attach the system FLASH disk via a hub always plug it in directly into the Disk 1 port If you purchased the packaged SN series Sensor Nodes they should be labeled with Unique Node 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 antenn
65. w data locally 6 1 Remote Connection using MoteView The connection strategy involves serial forwarder connection to the XServe s serial forwarder running on Stargate NetBridge and local data logging and visualization 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 gt gt Connect to WSN Jeg Mode Gatewav Database Sensor Board LG 1 Select Operation Mode Mode Acquire Live Data ug View Historical Data Gateway 2 Select Acquisition Type E Local Database Remote Sensor Board 3 In the Gateway tab type the Hostname IP address of the Stargate NetBridge gateway The Port should default to 9001 Click on Next gt gt Connect to WSN Joby Mode Gateway Database Sensor Board LA 3 Select Gateway Mode Interface Board XServe T Hostname IP sluggo 0006 Gateway Port 9001 Advanced Server Settings Sensor Board NOTE The Port Username and Password fields are preset to reasonable defaults and should not have to be changed 4 In the Database make sure that the current database highlighted as localhost and click on Next gt gt Doc 7430 0449 01 Rev A Page 27 Crossb w Stargate NetBridge Gateway User s Manual Connect to W

Download Pdf Manuals

image

Related Search

Related Contents

Deux_Cours_en_Eveil_V2011-07-31  Metz 24 AF-1 Canon  Tanaka ECS-351 User's Manual  cleaman - Satecma  Lab Biological Microscope Model Number BM  Serie PVQ Electroválvula proporcional compacta  チヨダ(8185) - シェアードリサーチ    Verwendung mit Windows (Fortsetzung)  

Copyright © All rights reserved.
Failed to retrieve file