Hello.
^^ Anyway, I solved my problem. The problem was caused by printf and memory
size in sending node, rather than baseStation node.
I did do two things.
1) uint8_t verbose = 0;
...
if (verbose)
printf(.......)
In case of verbose=0, sending node sent packets normally in testbed,
but in case of verbose=1, sending node didn't send packets in testbed
although it could send packets in Tossim. (That is, reduce output results in
Testbed)
2) I reduced storage structure as much as possible.
Originally, I used 4 sturctures in order to save history of received
packets, but I changed from 4 structures to 1 structures. (That is, it means
memory sizes are reduced in sending node).
Thanks. have a good day.
2007/7/30, DAE HEE KIM <[EMAIL PROTECTED]>:
>
> Hi.
>
> I think I need to clarify my question.
>
> I am using BaseStationCC2420 in order to retrieve packet data as well as
> find out the delivery in PC through serial cable.
>
> I combined BaseStationCC2420 with my program which needs saving of data
> packets for a short time.
>
> When I didn't save data packets, I could find data packets which came into
> baseStation by LISTEN.
> However, after I combined saving logic with BaseStationCC2420, data
> packets are not showed after about 10 data packets by LISTEN.
>
> I tried to implement my saving codes by both LIST and ARRAY, but the
> results are same. So, I am afraid that there might be restriction in
> BaseStationCC2420 for saving data.
>
> Could you send me some suggestion, hint, or opinion ? I am really stucked
> for this reason. Thanks a lot.
>
> 2007/7/30, DAE HEE KIM <[EMAIL PROTECTED]>:
> >
> > Hi.
> >
> > I am using TinyOS2.0.1, MIB510, micaz. Also, I am making a multihop
> > network protocol.
> > Status) For example, node1 --> node 2 --> node 3 (baseStation) (--> :
> > means the route that packets are delivered)
> > node 3 is baseStation node whichs use baseStation
> > Application.
> > I could see packet data delivered from node1 to node 3 by
> > using LISTEN through PC screen.
> >
> > Question) However, when I tried to save received data packets into
> > node3, I could see only about 10 data packets by using LISTEN. After seeing
> > 10 data packets, I can't see data packets by using LISTEN through PC screen.
> >
> > Are there any memory limitation in mote? Or, Are there any saving
> > limitation in BaseStation Application ?
> >
> > Thanks.
> >
> > --
> > DaeHee Kim (Danny)
> > Department of Computer Science, State University of NewYork at
> > Binghamton.
> > Cell Phone : 1-607-321-9574
> > Address : 13-A Andrea Dr, Vestal, NY, 13850
> > email-address : [EMAIL PROTECTED] , [EMAIL PROTECTED]
>
>
>
>
> --
> DaeHee Kim (Danny)
> Department of Computer Science, State University of NewYork at Binghamton.
> Cell Phone : 1-607-321-9574
> Address : 13-A Andrea Dr, Vestal, NY, 13850
> email-address : [EMAIL PROTECTED], [EMAIL PROTECTED]
--
DaeHee Kim (Danny)
Department of Computer Science, State University of NewYork at Binghamton.
Cell Phone : 1-607-321-9574
Address : 13-A Andrea Dr, Vestal, NY, 13850
email-address : [EMAIL PROTECTED], [EMAIL PROTECTED]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help