Hi all,
I send packets from pc ( or a stargate) to a micaz using a serial
communication.
I would like read the content of the packet sent in the micaz mote.
So, I use these statements:
---
event message_t *UARTReceive.receive[am_id_t id](message_t *msg, void
*payload, uint8_t len)
{
message_t *
Hi,
I'm using T2.
I am trying to run a serial forwarder in a java programm,as below:
try {
Process p = null;
int n=0;
String SFCREATINGCMDL ="java net.tinyos.sf.SerialForwarder -port "+sfportStr+"
-comm "+packetSourceString;
p = Runtime.getRuntime().exec(SFCREATINGCMDL);
Hello,
I am new to tinyOS. I am writing a small application which has one
configuration "PeriodicReaderAppC.nc" and one module "PeriodicReaderC.nc".
This application is intended to read periodically sensor data and store its
value in a local variable. While everything works fine, I get this e
I made a custom msp430 based board for my TinyOS projects. To save time I
didn't build in serial/bsl support as I figured that I could do all my
programming via JTAG.
So far, so good until I tried to setup my board for Deluge. FormatFlash works
fine and loading DelugeBasic seems to look OK, judg
Hi all!
I'm developing an application for storing the data adquisition of a WSN. The
programming language is java, so i need to use MIG application. I have made
a program that reads messages from serial forwarder in port 9001; the code
for initialize the object moteIF is the next:
MoteIF mote = n
Hi everyone.
I am trying to adjust the communication radius of motes in TOSSIM.
My make target is "micaz sim".
I tried to change the radio power by including
"CFLAGS+="-DCC2420_DEF_RFPOWER={VALUE}" in the Makefile.
The value of CC2420_DEF_RFPOWER is set correctly but there seems to be
no effect
Hello,
I installed Xubuntos live cd in a virtual machine and I tried to execute the
yamp application (tinyos tutorials lesson 10) but I have these problems, when I
type make telosb it's ok but when I type:
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
mkdir -p build/yamp
compilin
you have to at least cut & paste your error message here.
also do you mean having two parallel serialforwarder running on
different port or programmatically change the port number?
regards;
Peizhao
José Manuel Sánchez-Matamoros Pérez wrote:
Hi all!
I'm developing an application for storing
Hello All,
I have installed Tinyos-2.x with RPMs in windows Media Center Edition but I
want to know where should I put the file 'tinyos.sh' that contains :
___
#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygp
Hello! Everybody.
I am trying to change the baud rate from 57600 to 115200 on MIB600.
However, I cannot operate correctly. I do not know why it is not running.
So, I will write down about my trial for changing rate.
First, I tried.
In eprb.extra file, I added -dport=10001 on uisp progra
The exact code i use is the next:
PhoenixSource source = BuildSource.makePhoenix(
BuildSource.makeSF("/dev/ttyS0",9001),
PrintStreamMessenger.err);
source.start();
mote = new MoteIF(source);
When i execute it i receive the fol
Here's what you need to do to change the default baud rates for the
MIB600.
1. Open a web browser and type the IP address of MIB600. You should see
Lantronix web manager page.
2. From the left hand menu corner, click on Channel 1 and and the
default settings should be:
Serial Port Speed: 1152
On 10/2/07, José Manuel Sánchez-Matamoros Pérez <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I'm developing an application for storing the data adquisition of a WSN. The
> programming language is java, so i need to use MIG application. I have made
> a program that reads messages from serial forwarder i
TOSSIM doesn't simulate transmission power. You will need to change the
properties of your link gain model. Although its not particularly straight
forward ie there is no "make smaller radius". You'll need to play around
with it.
Chad
On 10/2/07, Markus de Brün <[EMAIL PROTECTED]> wrote:
>
> Hi e
This isn't a XubunTOS problem.
Here is your problem:
/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or
directory
Here is your solution:
$ touch /opt/tinyos-2.x/tos/platforms/yamp/platform.h
It corrects the first error in your output, and the rest of the lesson
works fine. Al
Why this way? Why not the more conventional way of passing the
"serial@/dev/ttyUSB0:56700" directly to the MoteIF?
Check out
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/TestSerial/TestSerial.java?revision=1.2&view=markup
Chad
On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w
You should check one of the examples that uses the serial port.
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/TestSerial/
Cheers
Chad
On 10/2/07, Roberto <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I send packets from pc ( or a stargate) to a micaz using a serial
> communication.
>
This is a multi-part message in MIME format.
I made a custom msp430 based board for my TinyOS projects. To save time I
didn't build in serial/bsl support as I figured that I could do all my
programming via JTAG.
So far, so good until I tried to setup my board for Deluge. FormatFlash works
fine
Hello,
I am new to tinyOS. I am writing a small application which has one
configuration "PeriodicReaderAppC.nc" and one module "PeriodicReaderC.nc".
This application is intended to read periodically sensor data and store its
value in a local variable. While everything works fine, I get this e
Hello,
I installed Xubuntos live cd in a virtual machine and I tried to execute the
yamp application (tinyos tutorials lesson 10) but I have these problems, when I
type make telosb it's ok but when I type:
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
mkdir -p build/yamp
compilin
?)7/ :N:[EMAIL PROTECTED] 18<:5H MIME G|[EMAIL PROTECTED] [EMAIL PROTECTED]
Hello! Everybody.
I am trying to change the baud rate from 57600 to 115200 on MIB600.
However, I cannot operate correctly. I do not know why it is not running.
So, I will write down about my trial for changing rat
I'm assuming that there is a space before -comm (" -comm ") because
it's not visible in your message...
If it's crashing in MoteIF its probably trying to open the serial port.
There might be some difference in the environment that you get from exec().
Or there may be different permissions needed.
NO thank u Micheal,that helps me to understand why it works like
that,I'll try Chad's proposition and will
see what will be the result..
For sure,I'm still open to the other propositions..
B.
En réponse à Michael Schippling <[EMAIL PROTECTED]>:
> I'm assuming that there is a space before -comm (
Are you starting the sf in a separate thread?
kevin
On 10/2/07, Michael Schippling <[EMAIL PROTECTED]> wrote:
> I'm assuming that there is a space before -comm (" -comm ") because
> it's not visible in your message...
>
> If it's crashing in MoteIF its probably trying to open the serial port.
> T
Hi,
Once again - time problems:
I'm using mica2 platform and I want to use the interface LocalTime (in my
scheduler) - when I'm wiring it to HilTimerMilliC I get erros that some of
the tasks in Alarm are not wired (I'm changing the scheduler).
Should I use another implementation of LocalTime? or
Kevin,
I don't know if I've understood youre question very
well, but as u can see below I have this piece of code in
Main methode , and actually I've put it in a for loop and
I repeat it for diffrent values of sfportStr and packetSourceString.
Once I create the MoteIF object I pass it to anot
Talking about MIB600, dos anyone know how to find out the MAC address
of one of these? There's one here whose address has faded from the
board.
2007/10/2, Giri Baleri <[EMAIL PROTECTED]>:
>
>
> Here's what you need to do to change the default baud rates for the MIB600.
>
> 1. Open a web browser an
Doing what Chad suggests should solve this problem for you. Have you
had time to try it out yet?
Kevin
On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Kevin,
>
> I don't know if I've understood youre question very
> well, but as u can see below I have this piece of code in
> Main me
If you know the IP address, you can look it up in Lantronix device
installer and make a note of the corresponding MAC address.
Giri
-Original Message-
From: Bernardo Avila Pires [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 02, 2007 12:15 PM
To: Giri Baleri
Cc: JeongKwanhee; tinyos-he
Doing tutorial 4 I've tried to run java Listen by typing:
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/BaseStation$ java
net.tinyos.tools.Listen -comm
serial@/dev/ttyUSB0:telosb
The toscomm JNI library was not found.
Check that your tinyos-t
Check the installation and instructions for javacomm.
I believe it's part of the full T2 install and probably
gets put in tinyos.../tools. It's the interface between
Java and the serial ports. You should be able to google
info about "tinyos-tools" and "tos-install-jni".
MS
sergio mena doce wrote
The problem is that I set its IP address via 'arp' command, using its
MAC address.
2007/10/2, Giri Baleri <[EMAIL PROTECTED]>:
> If you know the IP address, you can look it up in Lantronix device
> installer and make a note of the corresponding MAC address.
>
> Giri
>
> -Original Message-
Hi,
In my academic project I want deploy a WSN to track a moving object.
Please anybody can tell me which sensors are useful to track a moving object.
I have tested easysen's SBT80 sensor , but still I am not able to understand
the output of the program ListenSBT80vs.java whic
Hi,
I'd like to know if I can gather a larger group of data for e.g 10
groups before transmitting it on my MTS300 transmitter. Presently I'm
only collecting a single group of data and transmitting 1 group at a
time. If possible, how do I do it?
Many thanks.
Regards,
Willie Chan
__
depends on what you are trying to do.
1) let say if you want to track a person's location, you can apply
location tracking algorithm using native RSSI value from the CC2420
radio or by detecting radio signal strength difference, you can say that
an object go pass two Tmotes.
2) if you want t
Hi,
I have bought the tmote sky sensors. It comes along with this oscilloscope
java application for me to try out with the sensors. How can i use eclipse
program to run this java application? so that it can read the commands like
import net.tinyos.util.*? do i need to set any classpath variabl
Dear all
what is the packet transmission time for mica2? What is the typical packet
delay if I need to transmit 1 hop. I am experiencing more than 5 secs after
transmitting a packet to my mica2 receiver.
Thank you in advance.
Regards,
Ray
___
Tinyos-he
37 matches
Mail list logo