Hi Tuna,
I think you didn't understand: Run the "Listen" tool with a simple
TOSBase-like program attached to the base station mote. You will see lines
of values printed on a screen. Every line corresponds to one single packet.
The first letter of every line is "7E". This "7E" value corresponds to the
destination address of the packet.
If you don't want the "7E" to appear on the screen, you will have to modify
the Java toolchain associated with serial communication with the mote. Doing
so is not very straightforward. An alternative solution is to just dump all
values to a file, and then modify the file in an offline manner depending on
your requirements.
-Regards,
Shankar.
Apr 2, 2008 at 4:02 PM, Kaan Tuna <[EMAIL PROTECTED]> wrote:
> Thanks Shankar, but i don't want to append them at all.
> In SerialP.nc, i tried to comment this out :
>
> /* if (call SerialFrameComm.putDelimiter() != SUCCESS) {
> atomic txState = TXSTATE_ERROR;
> MaybeScheduleTx();
> } */
>
> But when i run TestSerial with new wirings, it doesn't send anything.
> Any other teories?
>
> Best,
> Kaan
>
>
>
> On 4/2/08, shankar satish <[EMAIL PROTECTED]> wrote:
> > Hi,
> > On running "Listen", the first two letters are "7E", and they correspond
> to the destination address (TOS_UART_ADDR). I think the frame delimiters are
> not printed at all.
> >
> > -Regards,
> > Shankar.
> >
> >
> >
> > On Wed, Apr 2, 2008 at 1:59 PM, Kaan Tuna <[EMAIL PROTECTED]> wrote:
> >
> > >
> > >
> > > Hi,
> > > I want to send raw data to a mote via serial, without placing
> delimiter framing bytes 7E. How and where to make such a modification in the
> serial layers?
> > > Any idea would be appreciated.
> > >
> > > Thanks.
> > >
> > > Kaan
> > > _______________________________________________
> > > 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