Re: [Tinyos-help] Query on Serialforwarder

2009-09-15 Thread Michael Schippling
lforwarder > > java net.tinyos.sf.SerialForwarder –comm tossim-radio > > On 9/10/09, Michael Schippling wrote: >> Rummage around in the documentation -- most often the source -- >> I believe there is a MOTECOM setting that talks to the simulator >> instead of a seria

Re: [Tinyos-help] Reading motor encoder with tmote: Need higher frequency

2009-09-15 Thread Michael Schippling
You might look into using the Capture module on the controller. This would allow you to get high resolution timing from an input signal using the internal clocks. I had a quick look at the MSP spec and tmote pinouts and (as usual) can't make any sense of what I'm seeing, but there may be a way to g

Re: [Tinyos-help] motelist doesn't work

2009-09-14 Thread Michael Schippling
> > > Giri > > > > > > *From:* tinyos-help-boun...@millennium.berkeley.edu > [mailto:tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *BAI LI > *Sent:* Friday, September 11, 2009 5

Re: [Tinyos-help] Micaz mote running with tinyos 1.x

2009-09-14 Thread Michael Schippling
micaz's are supported under TOS 1.1.10 and greater you can find some instructions for downloading T1 versions here: http://webs.cs.berkeley.edu/tos/download.html Also XBOW Moteworks contains a late version of T1, but without the regular doc and tools trees. MS Adeel Akhtar wrote: > Hi All, can we

Re: [Tinyos-help] R: Some problem with Crossbow mts400 and data rate in low power mode

2009-09-11 Thread Michael Schippling
veterm then the mote sends just one > data packet but afterward it sleeps again. > > I don't know how I can proceed!!! > > DS > > -Messaggio originale- > Da: Michael Schippling [mailto:sc...@santafe.edu] > Inviato: giovedì 10 settembre 2009 23.13 > A: Denis

Re: [Tinyos-help] motelist doesn't work

2009-09-11 Thread Michael Schippling
ffect? MS BAI LI wrote: > Hi, > > I never use moteworks. I heard moteworks only supports tinyos1.x not > 2.1. But it is interesting iris can use motelist command not micaz. > > Regards, > Bai > > On Fri, Sep 11, 2009 at 1:55 AM, Michael Schippling <mailto:sc..

Re: [Tinyos-help] Some problem with Crossbow mts400 and data rate in low power mode

2009-09-10 Thread Michael Schippling
What software are you using? Low-power nodes that are sleeping may not wakeup to get a message from the host. I found under Moteworks that they seem to get host messages, but only if they are specifically addressed to the recipient MoteID, not BCAST. MS Denis Smorgon wrote: > Hi all, > > I'm us

Re: [Tinyos-help] TinyOS build system and parallel make

2009-09-10 Thread Michael Schippling
Good debugging! Was this under Linux or Widows? MS Andrey Vihrov wrote: > Hi, > > I spent some time today figuring out why building, e. g., Blink would > fail in bogus ways on a fresh installation, like > > > make telosb > mkdir -p build/telosb > writing TOS image >

Re: [Tinyos-help] rssi value

2009-09-10 Thread Michael Schippling
probably: TOS_Msg->strength; TOS_Msg->lqi; MS Ittipong Khemapech wrote: > Please dig up the archives. There are a lot of replies regarding this > issue. Some radio such as CC1000 do not provide the LQI. > > Ittipong > > > 2009/9/10 subaashini krishnamoorthy

Re: [Tinyos-help] Query on Serialforwarder

2009-09-10 Thread Michael Schippling
Rummage around in the documentation -- most often the source -- I believe there is a MOTECOM setting that talks to the simulator instead of a serial port. Actually, I'll bet this is really documented someplace because it would be the same setting for all host side applications. Maybe search for MOT

Re: [Tinyos-help] motelist doesn't work

2009-09-10 Thread Michael Schippling
try motelist command with micaz platform. please let me >> know. >> > > I just tried a MIB520 and the motelist doesn't show it. As far as I know > the motelist is only for the telos family of motes. > > -- > Razvan ME > >> On Thu, Sep 10, 2009 at 1:57 AM

Re: [Tinyos-help] Temperature aplication

2009-09-09 Thread Michael Schippling
The default sensor for the Mica's Oscilloscope program is Photo. It would be a "simple" matter to delve into the platform/DemoSensor file and switch it to Temp. Actually probably SenseToRfm will do the same thing. MS Daniel Souza Coelho wrote: > Hi friends, I need a Nesc aplication to capture tem

Re: [Tinyos-help] motelist doesn't work

2009-09-09 Thread Michael Schippling
To my knowledge motelist only works with USB attached devices. If you have a MIB520 it might work with mica's, but I've only tried it with the Iris and then only the motelist version that came with Xbow's Moteworks. I don't know if it's different from the standard one. MS BAI LI wrote: > Hi, >

Re: [Tinyos-help] audio sensor motes

2009-09-09 Thread Michael Schippling
Search this list for "audio" "microphone" and "high frequency sampling". Many have tried, but none have posted a working program. It is possible, in theory, but there are significant hurdles. Aside from assuming that sample rates would be fairly slow -- almost all example programs use a Timer with

Re: [Tinyos-help] uint64_t problems

2009-09-08 Thread Michael Schippling
I think the MSP chip in the telos is 16 bit whereas the ATMEGA in the micas is 8. Probably the ATMEGA doesn't support 64 bit quantities. Look in the avr system header files to see if there is any indication. MS BAI LI wrote: > Hi, > > I have developed a hash function recently on telosb. Now I

Re: [Tinyos-help] How to configue serial Packet from PC to Mote?

2009-09-08 Thread Michael Schippling
Read throught the doc/tutorial, look at the MIG program and the various demo apps like SimpleCmd and Oscilloscope, see my robocode for a more comp{lete,licated} example: http://www.etantdonnes.com/Motes/robocode.tar.gz MS Shen Lee wrote: > PacketSource reader; > reader = BuildSource.makePacketSo

Re: [Tinyos-help] RadioCountToLes and Oscilloscope

2009-09-07 Thread Michael Schippling
The counter value is a two-byte UNSIGNED integer, although I would expect to see the low byte first so I'm not sure what I'm looking at here. An incrementing value of 0x01E8...0x01E9... seems like a good guess though. What the Oscope scopes is dependent on the platform and sensor board configurati

Re: [Tinyos-help] libtoscomm.so loading problem

2009-09-04 Thread Michael Schippling
I would go look for doc on how ME handles JNI. "We" normally run the standard Java distributions so there could be major differences. MS Nicky wrote: > > Hi, > > I am trying to run the SerialForwarder class on the Croassbow, Stargate > Platform. > But when calling the System.loadLibrary("tosco

Re: [Tinyos-help] Handshake routine

2009-09-03 Thread Michael Schippling
err...what handshake routine? If you mean a message acknowledge sequence, the default behavior is none. You can turn on ACKs in the radio control code, but this only gives an indication at the sender that the receiver has gotten something so you can implement a retry mechanism of some kind when it

Re: [Tinyos-help] NO data ..

2009-09-03 Thread Michael Schippling
I have a vague memory that the T2 version of O'scope sends only radio messages. Do you have a base-station mote? MS bouzayani walid wrote: > Hi all, > > > I compiled successfully the Oscilloscope application to my Telosb mote > using Tinyos2.x, but when i run this code: > > > $ java net.tiny

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-02 Thread Michael Schippling
7;t have any sensors. The return value is > simply 0x. > > Can anyone provide a step by step how to make it work on Iris motes? The > README doesn't help much with this detail. > > David > > > > On Tue, Sep 1, 2009 at 12:06 PM, Michael Schippling <mai

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-01 Thread Michael Schippling
You can set SENSORBOARD=micasb in the makefile, you will probably just get garbage data but I don't think there's anything that will hang up. The "make " thing means to type the command make and your device type, so: make iris to build your program for the iris devices. I think most of t

Re: [Tinyos-help] Fw: Fw: Fw: Tutorial / Lesson 4 : Mote-PC serialcommunication and SerialForwarder ; not compiling

2009-09-01 Thread Michael Schippling
ah, sorry... first, you are on Linux right? Does /opt actually exist in the file system? If on Widows, cygwin does some fast and loose linking that makes /opt not appear to Java, so you need to use the full C:./yada/yada path... second, you probably want to have '.' in the CP or you will eventual

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread Michael Schippling
Source came through sorta ok The basics look good, in terms of address calculations and such. I don't know what version of TOS you are using so I'm not sure about the details of the interfaces. The one getPayload() method I've used expects to get a pointer to a payload size, I think, rather th

Re: [Tinyos-help] Retransmission of the packet lost

2009-09-01 Thread Michael Schippling
else{ > dbg(DBG_USR1,"Resend boot message queed > \n\n"); > } > } > > return SUCCESS; > } > > > Please, what is the pr

Re: [Tinyos-help] Fw: Fw: Tutorial / Lesson 4 : Mote-PC serialcommunication and SerialForwarder ; not compiling

2009-09-01 Thread Michael Schippling
If you do have a CLASSPATH environment variable make sure you have followed the instructions in the error messages you included here, and also that the directories and files that it references are indeed the correct ones. MS David Guillen Jimenez wrote: > Hi, > > I am going ot leave you here som

Re: [Tinyos-help] Mote crashes when sending

2009-08-31 Thread Michael Schippling
The pseudo-code makes it all sound so easy... I'd start by looking at how I calculate 'C's address. The devil is in the details in this sort of thing so posting your actual code might help. MS David wrote: > Hi, > > I wrote a program that always crashes after calling send for a fixed > amount

Re: [Tinyos-help] Retransmission of the packet lost

2009-08-31 Thread Michael Schippling
Presumably Resend_Packet_again_Timer.fired() does another send? Why are you waiting instead of just posting a new send()? And are you sure you have enabled ACKS? Anyway, I'd go look at how you pass the message contents to the resend. It looks like you use "buffer" for something but it points to th

Re: [Tinyos-help] On IRIS mote is AREF tied to VCC (or any fixed reference)

2009-08-31 Thread Michael Schippling
If it's like the mica's, Vref is connected to VCC... My one use of an internal ADC indicates that this is possibly true. MS André Rodrigues wrote: > Hi > > I have changed the ADC references from _OFF to _2_56 to _RSVD and all > seem to give me the same. > > Is AREF connect to VCC of somethin

Re: [Tinyos-help] Tinyos nesc code problem?

2009-08-31 Thread Michael Schippling
ointer buf[0].target to memory address > of some_double? ;) > > thanks million > > 2009/8/31 Michael Schippling mailto:sc...@santafe.edu>> > > That sets something at i elements from the start of buf to > some_double, however I didn't see a place where yo

Re: [Tinyos-help] Tinyos nesc code problem?

2009-08-31 Thread Michael Schippling
E bunchaElements[100]; BUFTYPE *buf = bunchaElements; See this for a pretty good discussion: http://en.wikibooks.org/wiki/C_Programming/Pointers_and_arrays MS Jun Zhang wrote: > buf[i].target = table[i].some_double; > > this code is not set pointer to some value? > > thanks > &g

Re: [Tinyos-help] TinyOs-Listen-mib520

2009-08-31 Thread Michael Schippling
Please send messages to the help list Look into the MIG message class generator tool. I believe it is covered in some part of the doc/tutorial. MS Lits Psillidou wrote: > yes Blink sends nothing.I understood this later.Can i ask you > something??RadioCountToLeds sends packets in bytes to ba

Re: [Tinyos-help] Tinyos nesc code problem?

2009-08-29 Thread Michael Schippling
You don't seem to have set buf to point to anything... MS Jun Zhang wrote: > Hello, everyone. I am new to tinyos and nesc. and I have the following > data strucuture > > typedef nx_struct rt_link { > nx_addr_t target; > nx_addr_t nexthop; > } rt_link_t; > > typedef struct rt_entry { > d

Re: [Tinyos-help] Fwd: Mib520 FT2232C driver installation

2009-08-28 Thread Michael Schippling
datapoint: The motelist that runs under MoteWorks detects iris plugged into the MIB520 USB basestation. MS Agnelo Silva wrote: > Hi, > > as pointed out by Razvan, what is the output from the dmesg command when > you unplug and plug MIB520? Even without any mote, like MICAz, it should > detect

Re: [Tinyos-help] Re ceive function problem

2009-08-28 Thread Michael Schippling
PLease send messages to the help list, not me directly... In this case it is true, once receive returns a message buffer it should be considered to not exist any more, and send takes a while to do it's magic... As to the difference between T1 and T2, either nothing or everything depending on the

Re: [Tinyos-help] Re ceive function problem

2009-08-27 Thread Michael Schippling
I'm going to assume that there is a space between 32 and -D... But what is TOSH_MAX_DATA_LENGTH, and why are you adding to it? Also, I'm not sure if it makes a difference but PFLAGS get sent to the NCC pre-compiler and CFLAGS only to the GCC compiler. MS Akashdeep Sodhi wrote: > Hi > am using thi

Re: [Tinyos-help] Re ceive function problem

2009-08-26 Thread Michael Schippling
; your messages, the only way I can think to get what you describe > -- a short message with a good CRC -- is to mis-specify the > > length when sending. > > MS > > > Akashdeep wrote: > > Yes i always have specified about the length

Re: [Tinyos-help] PC-mote synchronization

2009-08-26 Thread Michael Schippling
search for: tinyos clock synchronization and see this possibly useful paper: http://www.cs.uic.edu/~ajayk/ext/ClockSyncWSNsurvey.pdf MS Philip Perold wrote: > I am currently playing around with the routing layer on tmote sky > modules. In order to measure precise latency, I need some sort of >

Re: [Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread Michael Schippling
inal Message- > From: tinyos-help-boun...@millennium.berkeley.edu > [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of André > Rodrigues > Sent: Tuesday, August 25, 2009 4:27 PM > To: Michael Schippling > Cc: tinyos-help > Subject: Re: [Tinyos-help] IRIS

Re: [Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread Michael Schippling
Sounds like the int6 pin is set to output if it's supplying current. Too bad there isn't an Iris schematic, eh? MS André Rodrigues wrote: > Hi > > I'm using T2.1 on an IRIS mote with an addon. > > This addon sometimes generates a pulse (1ms length) and I want to generate > an interrupt in the

Re: [Tinyos-help] Samplig rate

2009-08-25 Thread Michael Schippling
could please you show me > some of them. > > My best regards, > OMB > >> -Original Message- >> From: Michael Schippling [mailto:sc...@santafe.edu] >> Sent: 13 August 2009 21:46 >> To: Omar Bouzid >> Cc: Tinyos-Help >> Subject: Re: [Tinyos-he

Re: [Tinyos-help] Re ceive function problem

2009-08-25 Thread Michael Schippling
gth . > > Michael Schippling-2 wrote: >> Have you specified the correct message length when sending? >> MS >> >> Akashdeep wrote: >>> hi >>> i am a new user and had developed a application in which we have modified >>> code of SBT80

Re: [Tinyos-help] c-stack gets corrupted: TinyOS error?

2009-08-25 Thread Michael Schippling
If you can't find any likely source of wild pointers then you may "just" be blowing your stack. I think there is stack monitor code for TOS somwplace...try some searching. You can also try reducing your stack usage by eliminating functionality, cutting down function call levels (recursion anyone?)

Re: [Tinyos-help] Fwd: I2C examples

2009-08-24 Thread Michael Schippling
erometer, and a gyroscope. > > Thanks, > > Tommaso > > 2009/8/24 Michael Schippling mailto:sc...@santafe.edu>> > > Actually I don't see anything but a straight line on the Oscope trace, > but that could just be me... > > The slave addre

Re: [Tinyos-help] Fwd: I2C examples

2009-08-24 Thread Michael Schippling
tanding at > the datasheet http://www.magneticsensors.com/datasheets/HMC6343.pdf > > From the picture we can recognize the bits and indeed it is 0x32 > followed by a 0 and a 1 (no ack). > > I do not know what to do... > > thanks, > Tommaso > > > 2009/8/24

Re: [Tinyos-help] Fwd: I2C examples

2009-08-24 Thread Michael Schippling
hrough the Oscilloscope. > Without the acknowledgment it seems that I'm not able to sent further > data to my device (is it true that I need the ack before sending data?). > > Have you any suggestions? > > best, > Tommaso. > > > > > 2009/8/23

Re: [Tinyos-help] Re ceive function problem

2009-08-24 Thread Michael Schippling
Have you specified the correct message length when sending? MS Akashdeep wrote: > hi > i am a new user and had developed a application in which we have modified > code of SBT80app in which we have added functionality of RSSI and Receive > function . In Base station we have used TOSBASE code in it.

Re: [Tinyos-help] Maximum size of a program allowed in tinyos-1.x

2009-08-24 Thread Michael Schippling
I don't know if the simulators enforce memory limits but the target devices are quite small, e.g., 4kB of RAM and 128kB or program ROM for the mica2,z. You should also bear in mind that the 8 bit integer multiply instruction is the height of onboard mathematical sophistication... MS Kiraneet shar

Re: [Tinyos-help] Fwd: I2C examples

2009-08-23 Thread Michael Schippling
I discovered a "lapse of implementation" in the T1 atmega I2C implementation, which is BTW entirely done in bit-banging software. I don't use or have access to a T2 tree and haven't looked at the MSP implementation, but I might be able to help if you describe your problem. My problem was when read

Re: [Tinyos-help] TOS 2.1 install java tools question

2009-08-21 Thread Michael Schippling
ib/jvm/java-6-sun/jre/bin$ ls -la > ... > -rwxr-xr-x 1 root root 8 2009-08-21 05:25 java > ... > > Thanks MS, I hadn't thought of these tips yet. I should have included this > info in my original email. > > -s > > > --- On Fri, 8/21/09, Michael Schipplin

Re: [Tinyos-help] TOS 2.1 install java tools question

2009-08-21 Thread Michael Schippling
Try "type java" to see if you are executing the Java version in which you have installed the JNI libs. Also I think the libs need to be executable so check their permissions. MS Sarah Greenberg wrote: > Hello, > > I've just installed TinyOS 2.1 on Hardy Linux. I'm trying to do the printf > tuto

Re: [Tinyos-help] help

2009-08-21 Thread Michael Schippling
Search this list for MIG, SimpleCmd, and my example robocode MS Siddiqua, Ayesha wrote: > Hi, > > I want to send an array from PC (Linux, tinyos) to telosb mote by a java > application.Each array element is maximum 2 bytes. Please let me know how I > can do this. > > > Ayesha > > > > >

Re: [Tinyos-help] Do bitfields work as expected in NesC?

2009-08-20 Thread Michael Schippling
d wrote: > I am just wondering about bitfields and endianness and wether sent > bitfields will be received in correct order under all platforms. > Compilation so far works fine. > > David. > > > Am 20.08.2009 um 17:49 schrieb Michael Schippling: > >> They ought

Re: [Tinyos-help] Do bitfields work as expected in NesC?

2009-08-20 Thread Michael Schippling
They ought to. It's just (GC)C underneath the covers. Are you having issues? MS David wrote: > Hi, > > can I use bitfields in my NesC code or will I run into trouble using > them? > > David. > ___ > Tinyos-help mailing list > Tinyos-help@millennium.

Re: [Tinyos-help] Arbitrary message length?

2009-08-20 Thread Michael Schippling
As long as your messages are under the max LENGTH, and the length field of each is correct, you should be able to send anything. TOS transmits only "length" bytes from a given buffer. The mote side does allocate buffers for the maximum length no matter what, so you need to be careful how long you m

Re: [Tinyos-help] Will this suspicious problem cause the deadlock??

2009-08-19 Thread Michael Schippling
Sorry, I'm lost...where is a "current buffer" and how is it {un}locked? MS peter...@cs.utah.edu wrote: > Hi There > > In my stressing test, I also found another problem, which is the event > ReceiveBytePacket.endPacket(error_t result) in SerialDispatcherP.nc component > >async event void Rec

Re: [Tinyos-help] Makefile:54: ../MakeXbowlocal: No such file or directory

2009-08-19 Thread Michael Schippling
MakeXbowlocal is specific to the Crossbow TOS additions and should be in contrib/xbow/apps. You may have grabbed some random code from someplace that expects to be in that tree. Search for the xbow contrib package to use for this. MS wrote: > hello > > can anyone help me to solve my pr

Re: [Tinyos-help] Statemachines in TinyOS

2009-08-18 Thread Michael Schippling
Of course you can implement a state machine any way you like in TOS. There was a recent set of posts by someone who has (partially?) integrated SM generation for TOS via UML, if you really want to get whacky with it... "atomic" is useful when you have multi-byte variables or structures that can be

Re: [Tinyos-help] someone has seen this old discussion?

2009-08-18 Thread Michael Schippling
hey, that's my message! Unfortunately I have no further information. SerialForwarder uses what appears to be an undocumented format to discuss things with it's clients. It seems to expect to send or get a 'T' when a connection is made, but I don't know what else. Let the code be your documentation

Re: [Tinyos-help] Units conversion of acoustic data

2009-08-13 Thread Michael Schippling
e prototype area such as MTS101CA > and MDA100 might help to increase the sampling rate?. > > I would be grateful if we could share ideas and information. > > Cheers, OMB > > >> -Original Message- From: Michael Schippling >> [mailto:sc...@santafe.edu] Se

Re: [Tinyos-help] s.f. packages that use tinyos

2009-08-13 Thread Michael Schippling
I'm cc'ing back to the help list... I don't use T2, nor SF actually, so I'm not much help. I presume that the Packetizer and below code is similar if not identical to T1. Below that code you'll find the serial interfaces. I don't know what you are trying to accomplish though... MS Daniele Ricci

Re: [Tinyos-help] s.f. packages that use tinyos

2009-08-13 Thread Michael Schippling
In the old days Packetizer.java and MoteIF.java were the gatekeepers to the serial ports. MS Daniele Ricci wrote: > Hi, > you know which packages of serialForwarder interact with tinyOS and what > are indipendent? > I need to remove the packets not needed to comunicate with serial ports. > there

Re: [Tinyos-help] Combined Crossbow MDA300 and MTS400 Image

2009-08-13 Thread Michael Schippling
You would probably have to look at what I/O lines are used by each board to see what conflicts are possible. Xbow's Moteworks has drivers for (most/all) of their sensor boards, but I doubt that there are any combinatorics... If you are wanting to use the MDA boards for their screw-terminals you ca

Re: [Tinyos-help] Problem in sending

2009-08-13 Thread Michael Schippling
You can maintain a "busy" state variable in your send and sendDone functions such that only one is executed at at time. Or you can use a queued message system. I think there's a QueuedSend interface ... try searching for "queue" and see where/how. MS Omar Losi wrote: > Hi all, > > I kindly ask

Re: [Tinyos-help] DemosensorC

2009-08-13 Thread Michael Schippling
"drill down" in the Demosensor files and you will eventually find where they are connected to a specific ADC channel. For the most part you can just replace Demosensor with the ADC to which your sensor is attached using the syntax in the Demosensor files. Working through some more of the tutorials

Re: [Tinyos-help] Connect Digital Potentiometer to TelosB

2009-08-13 Thread Michael Schippling
The low level UART{C,M} components are probably what you want to use. I would start by searching all the code for uses of "UART" to see if there are any examples. MS Chanaka Lloyd wrote: > Hello guys > > I'm trying to connect digital potentiometer to TelosB using UART. > > Does anyone has any

Re: [Tinyos-help] Units conversion of acoustic data

2009-08-13 Thread Michael Schippling
I'm not sure what you mean by "engineering units", but if you have "ADC counts" they are the raw data from the converter. These are exactly equivalent to voltage, since that is what is being converted: volts = count/MAX * Vref Where: volts is the signal voltage; count is the "ADC counts"

Re: [Tinyos-help] TOSH_DATA_LENGTH and serial packet

2009-08-13 Thread Michael Schippling
This is sortof what I was getting at in my response... On the TOS side, TOSH_DATA_LENGTH is used to alloc message buffers for both serial and radio channels. On the PC side, the low level Java code probably just sucks up bytes and sticks them in a dynamic buffer, so it only cares that the final le

Re: [Tinyos-help] Code generatation from UML state charts. Was: Design Question: State based programming style

2009-08-13 Thread Michael Schippling
The "usual" way to include nescc files is to just reference them from the main module (or something referenced from there). So if RadioCountToLedsC.nc makes a call to RadioMachineStateHandlerFcts() and is "wired up" in the config file (and that file is in the source search path, or likely in the ap

Re: [Tinyos-help] TOSH_DATA_LENGTH and serial packet

2009-08-12 Thread Michael Schippling
I think the TOS Java code makes some assumptions about packet length but one would have to read through the code to see what they are. MS Faisal Aslam wrote: > Hi, > > If serial packet data is also bound by TOSH_DATA_LENGTH or it could be > greater than that? > > Thank you. >

Re: [Tinyos-help] TOSH_READ

2009-08-12 Thread Michael Schippling
0 or 1, which in C is usually interpreted as FALSE or TRUE. That would translate to 0v or 5v on your input pin if it is configured for digital I/O -- actually it's more likely less or greater than something around 2v. MS Howard Gani wrote: > Hi, > > I have a newb question. > > What does TOSH_RE

Re: [Tinyos-help] I2C examples

2009-08-12 Thread Michael Schippling
I doubt that you'll find a T2 tmote sky program as the company stopped producing the boards and only used T1. However the telosb is the same beast (minus an FCC signoff). Have you looked for that platform? I found a "TaosPhoto" I2C sensor example in the T1 and Moteworks trees. Perhaps there is som

Re: [Tinyos-help] Capturing acoustic signals

2009-08-11 Thread Michael Schippling
utable file using nesC in order to program the Mote under > MoteView GUI using this file which I need for displaying my captured acoustic > signals in the MoteView's chart diagram. > > Cheers, > OMB > >> -----Original Message- >> From: Michael Schippling [

Re: [Tinyos-help] COM 1 not available

2009-08-11 Thread Michael Schippling
Where do you get that message from? MS steve pallatt wrote: > I installed an Asus P4 motherboard and now get message 'COM 1 not > available'. Operating system is Windows 98 and all drives, programs and > peripherals are as before. Please help. > > > > ___

Re: [Tinyos-help] Capturing acoustic signals

2009-08-11 Thread Michael Schippling
Somehow you seem to be crossing up versions of files. The two *Calibrate interfaces are a feature of MoteWorks\tos\platform\atm1281\ADCControl.nc but not the "standard" ADCControl in the interfaces directory. For the micaz I think you should be getting the atm128l version but whatever file yo

Re: [Tinyos-help] Design Question: State based programming style

2009-08-10 Thread Michael Schippling
That seems like a reasonable way to handle things. People seem to like to reinvent state machines without realizing that that is what they are doing. The only mod I can think of would be to turn some or all of the state functions into tasks that get posted. If I had been smart on my most recent p

Re: [Tinyos-help] Strange Warning

2009-08-05 Thread Michael Schippling
Probably a comparison is being made between a variable that is smaller in size than the value it is being compared to, say: char x; // limited to values from 0-255 if( x == 1000 ) ... MS giorgio wrote: > I am trying to understand easycollection and easydisseminat

Re: [Tinyos-help] Pin assignment (ATmega128)

2009-08-05 Thread Michael Schippling
Search for "TOSH_ASSIGN" on this list and in the code. MS Howard Gani wrote: > Hi, > > I am very new to TinyOS and in need of some help. > > I'm using TinyOS 1 (ATmega128) and wanted to know how to assign the pin > on port B, such that I can toggle them from within the module. > > Right now,

Re: [Tinyos-help] bitwise shift on telosb

2009-08-05 Thread Michael Schippling
Good, because a bitshift should be a bitshift no matter the endianess, although some may run into {un}signed extension issues... MS Rémi Villé wrote: > 2009/8/4 Alan Marchiori mailto:a...@alanmarian.com>> > > On Tue, Aug 4, 2009 at 10:28 AM, Rémi Villé > wro

Re: [Tinyos-help] important

2009-08-04 Thread Michael Schippling
You are likely to want to make "mica2" or "micaz" not "mica". Also make sure you are in the apps/[whatever] directory and that "ls -l $MAKERULES" shows a real file name. MS maha timraz wrote: > Hi > > I m new to tinyos. I have recently installed it on my laptop with > windows xp . i also check

Re: [Tinyos-help] Problem in running java app from oscilloscope

2009-08-04 Thread Michael Schippling
Try putting an ampersand '&' at the end of the SF command line. That will put the process "in the background" and allow you to type other commands into that shell window. Or just use another window... MS himanshu barve wrote: > Hello friends .. this is my 2nd help request in row !! > I found t

Re: [Tinyos-help] problem in receiving packets on PC

2009-08-04 Thread Michael Schippling
Did you remake both your base-station and the java code using the new DATA_LENGTH? MS himanshu barve wrote: > Hello friends .. > I am having some problem when i receive packet data . I am using Listen > tool to just have look at what packets i am receiving .. > I have already changed TOSH_DATA

Re: [Tinyos-help] TinyOs-Listen-mib520

2009-08-04 Thread Michael Schippling
I don't think Blink sends any messages for Listen to hear. Have you tried other programs? T1 had "CntToLedsAndRfm" that send an integer message. MS pnky wrote: > hi, > i'm using tinyos,mica2 motes,mib520 programming board and sensors.My problem > is that mote-basestation and mica2 motes, that ha

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-08-03 Thread Michael Schippling
I don't use T2, but if the paradigm is similar those code snippets match my understanding of things. I also don't kow about the resource arbitration stuff but I assume there is a grant and a release of some kind, so the usual idea would be to start a task from granted() which eventually calls relea

Re: [Tinyos-help] : TelosB reading external voltage (0 to 1VDC)

2009-08-03 Thread Michael Schippling
The Oscilloscope and Sense demo apps should have examples of ADC usage. Do you have a specific problem? MS Musat Crihalmeanu wrote: > Is there somebody that succeeded to read an external analog voltage (0 > to 1V for ex.) using a TelosB Mote? > > Can you advise me how to do it? > > Please answ

Re: [Tinyos-help] How to display data onto JAVA GUI or sth else?

2009-08-03 Thread Michael Schippling
ion? Does > Boomerang version support T2? > If so, the "Boomerang Uninstalling Tinyos" wiki says that I need the > Boomerang CD... but where can I find that? > (http://docs.tinyos.net/index.php/Boomerang_Uninstall_TinyOS#Upgrading_TinyOS) > > Your help would be very m

Re: [Tinyos-help] Problems doing make in Cygwin

2009-08-03 Thread Michael Schippling
ath > c:\cygwin\usr\lib\ with windows explorer I don't see this > directory...but searching it by cygwin I see the directory... > I don't know if it's all concerning to permissions...or a problems with > a environmental variable... > Any idea? > > Thank you in a

Re: [Tinyos-help] Problems doing make in Cygwin

2009-08-01 Thread Michael Schippling
make sure you have permission to read it and that it actually contains something... MS aldo wrote: > Hello everybody, > > I have the following problem when i try to do make in Cygwin: > > sn...@aldo /opt/tinyos-2.x/apps/Blink > $ make telosb > mkdir -p build/telosb > compiling BlinkAppC to a

Re: [Tinyos-help] Question about Route library

2009-07-31 Thread Michael Schippling
The disappearing mote's time sync is probably getting un-sunk. If that's the case (as I've seen in other low-power systems -- I've never used Route however), there'll be a lot of digging in the low level code to see where and how. One way to "fix" things is to do a watchdog reboot if a re-Mote feel

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-07-31 Thread Michael Schippling
I'm just now working with the T1 I2C stuff so some of this may be relevant...First, isn't the address bit shift think fun? I'm sure there's a good reason for it, but I can't think of any... readPacket, if it's like T1, sends the start and slave addr (with the read bit set), samples the input for t

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-07-30 Thread Michael Schippling
Is there a simple way to determine if a device exists at a specific I2C slave address? At the lowest level the master is just clocking and reading a data line which could legitimately be all 's... MS Janos Sallai wrote: > Andres, > >> I have read that I2CPacket.write(adr, len, data) returns

Re: [Tinyos-help] previous declaration

2009-07-28 Thread Michael Schippling
The "debugger" shows those errors? They look like pre-compiler errors... Actually I think they are warnings so they might not hurt. Anyway it seems that sensorboardAppp.h and sensorboard.h may have duplicated some definitions or included each other somehow. I would search the TOS tree for examples

Re: [Tinyos-help] Msp430Adc12SingleChannel sampling frequency

2009-07-28 Thread Michael Schippling
Is it possible that the "jiffies" argument to configureSingleRepeat() is an uint16? If so 65k is your max... If you want to sample slower than that the regular TimerM sort of loop may be a better option. MS Dmitry Medvedev wrote: > Hi, > > > > I’m trying to use Msp430Adc12SingleChannel to co

Re: [Tinyos-help] Adding a new application in TinyOs

2009-07-28 Thread Michael Schippling
Copy-Paste is the programmers friend... Find an app that is kinda like what you want, copy the entire directory to a new-name, change every example of old-name to new-name (file, config, and function names), edit compile test... In the simplest form the Makefile change is: COMPONENT=new-name MS

Re: [Tinyos-help] Environment variables in cygwin

2009-07-27 Thread Michael Schippling
and not found > bash: $'\r': command not found > bash: $'\r': command not found > > sn...@aldo ~ > $ > > It seems that bashrc don't want extra lines... > > I don't know how to edit bashrc without return errors... > > Thank you

Re: [Tinyos-help] Environment variables in cygwin

2009-07-27 Thread Michael Schippling
My understanding is that all the files in: /etc/profile.d get read into a shell that is started as "login", which /cygwin.bat does. This should include tinyos.sh which is created there when a full TOS install is done. However it's better to use $HOME/.bashrc for personal settings to avoid confl

Re: [Tinyos-help] Fwd: recieve msg

2009-07-27 Thread Michael Schippling
he time and another to receive this packet, > take the time, put in a packet and send. I looked for the applicatios > Oscope and SimpleCmd and I don't have any of these in my library. > > Sorry for being annoying. > > MR > 2009/7/27 Michael Schippling mailto:sc...@san

Re: [Tinyos-help] Fwd: recieve msg

2009-07-27 Thread Michael Schippling
hanks michael, but I didn't explain very well want I searching for. I'm > looking for som app that receive the packet and you can take from the > message the parameters that you want, I found ReceiveMsg but don't work > in my aplication. > > Marc. > > 2009

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-27 Thread Michael Schippling
that with your last sentence you mean that probably the mote is > somehow stuck and therefore won't be able to receive messages. If my > understanding of your remark is wrong, is there something special if I > was to attempt to reset a mote from within a message received handler

Re: [Tinyos-help] Problem with get payload .

2009-07-26 Thread Michael Schippling
Likely "pkt" is also null. Where is it declared and initialized? MS himanshu barve wrote: > Hello friends . > I have some part of my code like below .. > > - > if (!busy) > { > > Sensor_Message_t *Local_t = (Sensor_Message_t *)(call > Se

<    1   2   3   4   5   6   7   8   9   10   >