That, unfortunately, is left as an exercise for the reader...
Try searching back on this list for oscope and groupid, I saw
it just recently (unless of course it was you who was asking...)
And rummage though whatever matlab/TOS doc that you can find.

You seem to be getting good messages, based on the dump you got.
I'm not sure what would do a groupid reject at the Java host level.
Waitaminit...Using the power of Eclipse I just found the message in:
net.tinyos.message.Receiver so that may give some clues as to how
to hack it to work.

Otherwise, I haven't used matlab so that's all I know.
sorry
MS

Saif A. Al-Hiddabi wrote:
How to fix the "groupid" thing?

Thanks

SAIF

-----Original Message-----
From: Michael Schippling [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 1:03 PM
To: Saif A. Al-Hiddabi
Cc: 'Juan Antonio López Riquelme'; [email protected]
Subject: Re: [Tinyos-help] Dropping packet with bad group ID

I noticed that someone recently had a matlab issue with starting oscope
and there was a "groupid" argument to be supplied somehow. That looks
to be your problem, and if those messages are cc2420esque then the 7D
is your group. Not much use, but a data-point none-the-less.
MS


Saif A. Al-Hiddabi wrote:
When I type in matlab

oscope('init')
I get the following as an output

oscope('init')
Dropping packet with bad group ID:1A 01 08 C2 FF FF FF FF 0A 7D 00 00 28 00 01 00 3D 19 3D 19 3D 19 3C 19 3D 19 3D 19 3C 19 3C 19 3D 19 3D 19

Dropping packet with bad group ID:1A 01 08 C3 FF FF FF FF 0A 7D 00 00 28 00 02 00 43 00 43 00 43 00 43 00 43 00 44 00 44 00 44 00 44 00 45 00

Dropping packet with bad group ID:1A 01 08 C4 FF FF FF FF 0A 7D 00 00 28 00 03 00 3B 00 3B 00 3B 00 3B 00 3B 00 3C 00 3C 00 3C 00 3B 00 3B 00
I need matlab to plot the sensor measurements from Tmote but I do not know to do this. I spent a lot of time and it seems the tutorial is not that clear on how to plot sensor measurements from Tmote in Matlab. I appreciate any help.

Thanks,,,

SAIF

------------------------------------------------------------------------

*From:* Juan Antonio López Riquelme [mailto:[EMAIL PROTECTED]
*Sent:* Monday, October 29, 2007 6:53 AM
*To:* Saif A. Al-Hiddabi
*Cc:* [email protected]
*Subject:* Re: [Tinyos-help] Any idea on how to use Tmote with Simulink/Matlab?

Hi.

For the TinyOS 1 there is a tutorial in the www.tinyos.net <http://www.tinyos.net>

http://www.tinyos.net/tinyos-1.x/doc/tutorial/matlab.html

You can search older messages in http://www.mail-archive.com/[EMAIL PROTECTED]&q

<http://www.mail-archive.com/[EMAIL PROTECTED]&q>
=
With Matlab you can use Java or C code. For TinyOS 2 you have a tutorial of serial communications. Finally you run a program Java in computer. To use Java code in Matlab open help->Matlab->External Interfaces->Calling Java from Matlab.

I hope that help you.

A greeting,

Juan Antonio.

2007/10/29, Saif A. Al-Hiddabi <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

Hi,

I am trying to use Simulink to do wireless control for a robot and I am facing a problem (in the first step) in reading data from Tmote internal sensor using Instrument Control Toolbox (Query Instrument) or Real-Time Windows Target (Digital Input). I appreciate if any one tried to use Simulink with Tmote to help me.

Thanks

SAIF


_______________________________________________
Tinyos-help mailing list
[email protected] <mailto:[email protected]> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help <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

Reply via email to