Hi Janos, This begins to make sense now (it wasn't totally clear following the README for the first time). But I still have trouble to make it work with the base station. I now have three nodes as follows:
PC ----usb----basestation node node 500 node 501 node 500 and node 501 are loaded with MultihipeOscilloscope code. Basestation is not receiving anything and nodes are not blinking at all. As a double check, I loaded node 500 and 501 with a simple broadcast app and basestaion was able to receive their packets. I wonder if there is something else I missed in this setup for Iris motes. Thanks, David On Thu, Sep 3, 2009 at 8:33 AM, Janos Sallai <[email protected]>wrote: > > You mentioned 'base station'. But I don't see such a file or dir under > apps/MultiOscilloscope in TinyOS 2.1. Is this a different "base station" > in other apps? > The BaseStation application is in apps/BaseStation. You pretty much need > this every time when the PC needs to communicate with a sensor net. > > > I was curious about this too. If you look at the code under > apps/MultiOscilloscope it functions both as a node and a base station > depending the node id. > It's the root of the collection tree what you're mentioning. That's the > node that initiates routing tree formation, and toward which the messages > will be routed. But it's not a mote-pc gateway. > > > Janos > > > On Wed, Sep 2, 2009 at 7:57 PM, David Li <[email protected]> wrote: > >> Hi Janos, >> >> You mentioned 'base station'. But I don't see such a file or dir under >> apps/MultiOscilloscope in TinyOS 2.1. Is this a different "base station" >> in other apps? >> >> I was curious about this too. If you look at the code under >> apps/MultiOscilloscope it functions both as a node and a base station >> depending the node id. If it's set to 500 then this is supposed to be a base >> station. So I did try "make iris" and install one node with node id 500 and >> another one with 501. Node 500 is also attached to the USB port. Nothing >> works so far. No LEDs are blinking. >> >> Is there anything I can use to debug? >> >> Thanks. >> >> David >> >> >> >> On Wed, Sep 2, 2009 at 12:44 PM, Janos Sallai <[email protected]>wrote: >> >>> David, >>> >>> As I understand, you want to use MultihopOscilloscope without a sensor >>> board. >>> >>> In this case, you will simply compile the app with "make iris". This will >>> use the platform specific DemoSensor implementation, which gives you the >>> voltage on the iris platform. If you have only two motes, program one with >>> the MultihopOscilloscope app, and the other one with BaseStation. Once they >>> are tuned on, the leds on the BaseStation should start blinking as messages >>> are being received. >>> >>> Janos >>> >>> On Wed, Sep 2, 2009 at 2:21 PM, Michael Schippling <[email protected]>wrote: >>> >>>> Ok, lets step back a bit... >>>> >>>> Have you worked through the doc/tutorial? >>>> >>>> Have you successfully installed anything, >>>> such as the demo app Blink, on the iris? >>>> >>>> MS >>>> >>>> >>>> David Li wrote: >>>> > Unfortunately this is still not working. I compiled the code for base >>>> > and sensor node by using: >>>> > >>>> > SENSORBOARD=micasb make iris >>>> > >>>> > It was fine. Hoever, the base and sensor node (I have used only these >>>> > two) none of them is blinking LEDs for send or receive. Nor did Java >>>> > console show any receptions. As far as I understand the sensing >>>> should >>>> > go on even if the node doesn't have any sensors. The return value is >>>> > simply 0xffff. >>>> > >>>> > Can anyone provide a step by step how to make it work on Iris motes? >>>> The >>>> > README doesn't help much with this detail. >>>> > >>>> > David >>>> > >>>> > >>>> > >>>> > On Tue, Sep 1, 2009 at 12:06 PM, Michael Schippling < >>>> [email protected] >>>> > <mailto:[email protected]>> wrote: >>>> > >>>> > You can set SENSORBOARD=micasb in the makefile, >>>> > you will probably just get garbage data but I don't >>>> > think there's anything that will hang up. >>>> > >>>> > The "make <mote>" thing means to type the command >>>> > make and your device type, so: >>>> > make iris >>>> > to build your program for the iris devices. >>>> > >>>> > I think most of this is covered in the doc/tutorial. >>>> > >>>> > MS >>>> > >>>> > David Li wrote: >>>> > >>>> > Hi, >>>> > >>>> > I am using this on Iris motes without any sensing boards. The >>>> > ReadMe says to compile with default sensor using >>>> > "SENSORBOARD=<sensorboard name> make <mote>". My questions >>>> are: >>>> > >>>> > 1. How should I set "sensorboard name"? >>>> > 2. How should I set "mote"? Any string will do? >>>> > 3. Should this line be added to the Makefile? >>>> > >>>> > I did a quick try without using this line and didn't see >>>> > anything from the Java GUI. Was this the problem of missing >>>> the >>>> > above settings? >>>> > >>>> > Thanks. >>>> > >>>> > David >>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------ >>>> > >>>> > _______________________________________________ >>>> > Tinyos-help mailing list >>>> > [email protected] >>>> > <mailto:[email protected]> >>>> > >>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>> > >>>> > >>>> _______________________________________________ >>>> Tinyos-help mailing list >>>> [email protected] >>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>> >>> >>> >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
