On Wed, 26 Jan 2005 09:03:17 -0500, Matthew Harrell <[EMAIL PROTECTED]> wrote: > > Hi. I'm relatively new to tinyos so this may just be a point I've missed > entirely. I did go through the tutorial and have a few working programs. > Is it necessary to packetize (i.e. net.tinyos,message.Message) all traffic > to the mote over the serial port? All the examples in the tutorial and > pieces of code I've found always seem to push the data into a TOS_Msg and > then add the packet header on it. I was looking to see if it was possible > to stream a data image to the mote over the serial connection without having > to break it into little packets.
While it's certainly possible to not packetize all of the data, that's what support TinyOS has now. It's a nice model in that it enables you to easily switch your destination device seamlessly. It also reuses many components. On the PC side, the java tools do currently expect packets. One way that streaming differs dramatically from packets is in the timing: with packets, there is a clearly defined unit to send: if you have a packet, you send it in a task, and know when your buffer is returned via an event. With streaming, you'd need to define when you send the data over -- say, when your buffer fills --- in such a way that you still preserve the event/task model . > > Also, and this is an aside, is there any problem with using TOSBase as a > framework to do serial and radio communications on a micaz? I am compiling > with the latest CVS tree and using the Makerules in the tools/make directory. > I've just noticed a number of postings about certain classes not working > with others with regards to micaz communications Absolutely. There are some components that aren't implemented, but that is usually because they don't make sense with the radio that the micaz uses. That said, I would classify the micaz as fully-supported in tinyos. -kw > > Thanks for any help > > -- > Matthew Harrell I have the power to channel my > Bit Twiddlers, Inc. imagination into ever-soaring > [EMAIL PROTECTED] levels of suspicion and paranoia. > _______________________________________________ > Tinyos-users mailing list > [email protected] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users > _______________________________________________ Tinyos-users mailing list [email protected] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
