hi,
I am trying to work on multihop routing demo using surge application

when i tried to do "make install" in surge
i got an error " CC1K_DEFAULT_FREQ in standard_init() function
use of an undefined variable allowed only once at line 369 in
CC1000controlm.nc .."

so i commented out line 368 and 369 in CC100controlm.nc

// #else
// call CC1000Control.tunePreset(CC1K_DEF_PRESET);


then i compiled
it gave me a warning but still compiled.

so far so good

  Build the application Surge: cd to the /apps/Surge directory and
type a �make mica2�.
�  Build the java tools: cd to the /tools/java/net/tinyos/surge
directory and type �make�.
�  Install the application onto the target nodes, giving each node a
unique node ID by typing �MIB510=/dev/ttyS0 make
reinstall.0 mica2�. This node
is connected to a PC via a serial or network link.

�  First start SerialForwarder to link the base node and the PC (e.g.,
typing �java net.tinyos.sf.SerialForwarder �comm
[EMAIL PROTECTED]:mica2� in the java directory).

�  Next start the GUI for the Sensor Network Topology from the
/tools/java directory by typing �java
net.tinyos.surge.MainClass 0x7d�,

now i repeated the above procedure with node id 1, 2 to act as transmitting
stations.

When the application starts, I should immediately see the base node
reporting sensor values and After about 1 minute, other nodes should appear
as
the network topology builds.

***But i am not able to see any nodes on to the Sensor Network Topology

**also when i ran serial forwarder, i could not see the count of messages
increasing.

*** when i started to send the Beacon message,
it shows the following

SENDING BEACON: Message <Multihop>
[sourceaddr=0x7e]
[originaddr=0x7e]
[seqno=0x1cf]
[hopcount=0x1]
[data=0x0 0x0 ..................0x0]

SENDING BEACON: Message <Multihop>
[sourceaddr=0x7e]
[originaddr=0x7e]
[seqno=0x1d0]
[hopcount=0x1]
[data=0x0 0x0 ..................0x0]

         .
         .
         .
         .


so in short , I am not able to see any nodes dispalyed on the screen.
can anybody tell me where am i giong wrong?

do u suggest to use Tinysec and/or Tosbase and/or secTosbase??

any comments appreciated

Rachit



_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to