Re: [Tinyos-help] problem with java in Tinyos 2.1

2008-09-04 Thread Ole Bischoff
Dear Jorge, I had the same problem and solved it by adding some more path information (extend path for java). To set them automatically I put a script "tinyos.sh" in the directory "c:/cygwin/etc/profile.d" with the following content: TOSROOT="/opt/tinyos-2.x" export TOSRO

AW: [Tinyos-help] Cycle detection in multihoplqi (surge) for tinyos-1.x

2007-09-10 Thread Ole Bischoff
Hi Paolo, I'm only into the Boomerang (Moteiv) version of MultiHopLQI, but the end-to-end link quality already consists the distance in a way. The LQI is represented in costs (good LQI -> low cost, bad LQI -> high cost), which will be summed up from every node of the path. So if a path has many ho

AW: [Tinyos-help] Getting SerialID from tmoteinvent

2007-07-18 Thread Ole Bischoff
Hy David, I had the same problem with my TmoteSky. After debugging with JTAG I noticed that the problem in DS2411.init() is the reset() function. command result_t DS2411.init() // >= 6000us { int retry = 5; uint8_t id[8]; bzero( m_id, 8 ); call DS2411Pin.init(); while( retry

AW: [Tinyos-help] struct type

2007-06-11 Thread Ole Bischoff
Hi Julien, try: typedef struct MyCommand { uint8_t flag; uint8_t length; } MyCommand; MyCommand Cmd1; And set the value (Cmd1.flag = 0;) in an "executable environment" (e.g.: function, event, command), because otherwise the complier thinks that "Cmd1" is a interface

AW: [Tinyos-help] Tmote CC2420 MAC payload length

2007-05-10 Thread Ole Bischoff
Hi Erwing, did you also changed (increased) TOSH_DATA_LENGTH in your Makefile? Because in most implementations of the send() command there is something like: command result_t Send.send[uint8_t id](TOS_MsgPtr _msg, uint16_t _length) { TOS_MHopMsg* _mhopmsg = (TOS_MHopMsg*)_msg->data;

AW: [Tinyos-help] debugging using UART for Tmote without JTAG

2007-04-12 Thread Ole Bischoff
Hi Chris, unfortunately VDB doesn't work with the Tmote Sky. You'll have to put your debug messages in a normal TOS message and then send it over the UART manually. Regard, OLE _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von mike healy Gesendet: Donnerstag, 1

WG: [Tinyos-help] Problem in getting neighbor ID and link quality

2007-04-12 Thread Ole Bischoff
Hy Yip Chi Chung, take a look at opt /moteiv/tos/lib/MultiHopLQI/MultiHopLQIM.nc. The neighbour ID 0x (=65535) represents the broadcast address (TOS_BCAST_ADDR). This constant is originally defined in /moteiv/tos/lib/CC2420Radio/AM.h and the value is copied to MHOP_INVALID_PARENT at line 38 i

AW: [Tinyos-help] Still Tinyos2.0 installation on Windows Vista Business

2007-03-05 Thread Ole Bischoff
Hi Shou, it looks like you've missed Step 2 from the "Installing TinyOS 2.0" guide (http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html). After upgrading cygwin the rpm command should work. Regards, OLE -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

AW: [Tinyos-help] Debugging in TMote Sky with GDB and JTAG in Windows

2007-02-26 Thread Ole Bischoff
Hy Tiago, when I debugged the TMote Sky with GDB (successfully) I used "make tmote debug", instead of "PFLAGS += -g" and "make telosb", to create the binary with debugging symbols. A full list of commands for debugging the example "CountLeds" can be found in: http://mail.millennium.berkeley.edu/pi

Re: [Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
Perfect, I only changed UartDetectC to UartPresenceC and now the whole app works just fine. Thanks a lot, Joe. Regards, OLE - Original Message - From: "Joe Polastre" <[EMAIL PROTECTED]> To: "Ole Bischoff" <[EMAIL PROTECTED]> Cc: &q

[Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
ote Sky and Windows XP. Best regards, Ole Bischoff -- PCLink.nc -- configuration PCLink { } implementation { components Main; components PCLinkM as Impl

Re: [Tinyos-help] Boomerang -Delta packet structure

2006-11-27 Thread Ole Bischoff
Hi Mikael, the shorter (30 bytes) messages are beacons. This message type is also defined in C:\cygwin\opt\moteiv\tos\lib\MultiHopLQI\MultiHop.h as BeaconMsg and is sent every MHOP_BEACON_PERIOD to spread some informations about the network. (see ...\moteiv\tos\lib\MultiHopLQI\MultiHopLQIM.nc f

Re: [Tinyos-help] How to enableACK on tmote

2006-11-03 Thread Ole Bischoff
Hy Lee Ee Foong,   I never tried to read the ack element in my message before sending, but I successfully checked the fcfhi element (after sending) from a received messages. fcfhi is the high byte of the FrameControlField (IEEE 802.15.4), if this is equal to 0x21 your message requests ACK.  

[Tinyos-help] Re: Another Question about SurgeTelos

2006-11-01 Thread Ole Bischoff
https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-August/005092.html   Also there are a lot of useful information in the "TinyOS Programming Manual" (http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf)     Regards,             OLE   - Original Message - From: Meiying

Re: [Tinyos-help] DATA_LENGTH is eating my brain....................

2006-10-26 Thread Ole Bischoff
Hy Primalfear, if you want to know, which files are included you'll have to take a look at app.c in [yourApp]/build/[platform]. Just search for "Am.h" in that file and you'll find the path of the including header. A few lines beneath you also should see the enum assignment of "DATA_LENGTH". If yo

Re: [Tinyos-help] SurgeImec Code

2006-09-15 Thread Ole Bischoff
Hy Sumit,   this app (SurgeImec) is not in some new version of TinyOS. It was rewritten for the IMEC sensor module prototype at the University College London, please take a look at http://www.cs.ucl.ac.uk/teaching/dcnds/group-reports/2005/2005-hailes-C-user.pdf and contact the authors directly

Re: [Tinyos-help] Surge Algorithm Doubt (code attached)

2006-09-15 Thread Ole Bischoff
Hy Sumit,   I'm not really familiar with Surge, but I think all of your motes (including Basestation) should run with Surge. And your Basestation is the only mote with TOS_LOCAL_ADDRESS = 0. Perhaps that is the reason for your HopCount = ROUTE_INVALID (=0xff).   Regards,             OLE  

Re: [Tinyos-help] Strange Compling Behavior of TinyOS. HELP.

2006-09-14 Thread Ole Bischoff
Hy Sumit,   are you sure that you really compiled your edited component?   If you are using Boomerang try using make tmote fileset to generate a textfile "fileset.txt" in Surge/build/tmote that lists the used components and headers including the location of each source file, e.g. MultiHopRo

Re: [Tinyos-help] qsort() function

2006-09-14 Thread Ole Bischoff
Hi Sumit, "The original TinyOS application (apps/Surge) could not be compiled to an MSP430 platform due to the lack of qsort() in mspgcc's standard C library (libc.a) used by the MultiHopRouter component (tos/lib/Route). This issue was overcome by creating another version of this applicati

Re: [Tinyos-help] an alternative simulation environment

2006-09-04 Thread Ole Bischoff
Hy Sam, "Limitations and FAQ: -Is NesCT compatibly with TinyOS 2.0? NesCT is only compatible 1.1x series of TinyOS. If you do not need java support tools, NesCT examples include modified and minimal set of TinyOS components. You are free to use existing components as well as use the one

Re: [Tinyos-help] Delta application -help required

2006-08-30 Thread Ole Bischoff
Hy Siva,   here is a short description of the Delta application: - StdControl.start() calls the command Timer.start() to start the programm - Every time when Timer.fired() (periodically, all DELTA_TIME ms) the sensor gets the request ADC.getData() - When the data is ready (ADC.dataReady()), the

Re: [Tinyos-help] How to unsubscribe from this mailing list?

2006-08-23 Thread Ole Bischoff
Title: How to unsubscribe from this mailing list? https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help   (the address at the bottom of your eMail ;-)   - Original Message - From: #ALLAN LEE# To: tinyos-help@Millennium.Berkeley.EDU Sent: Wednesday,

Re: [Tinyos-help] nesC Text-Editor

2006-08-22 Thread Ole Bischoff
Hy,you also can use UltraEdit with a modified wordfile for nesC syntax highlighting.You'll have to replace "wordfile.txt" in the UltraEdit directory and restart the editor.Regards,    OLE- Original Message - From: "Diego Bartolomé Arquillo" <[EMAIL PROTECTED]>To: <[EMAI

[Tinyos-help] Breakpoint command lists and conditions (GDB)

2006-08-22 Thread Ole Bischoff
win console #2,lines 81->82).   Perhaps someone was able to implement those kind of breakpoints and can help me now. I'm using Windows XP, Boomerang 2.0.4, GDB 6.0 and TMote Sky.   Best regards,   

Re: [Tinyos-help] Changing Delta Message size

2006-07-28 Thread Ole Bischoff
Hy Yannis, the DeltaMsg is stored in the data-array of MultihopMsg, TOS_Msg->data = TOS_MHopMsg TOS_MHopMsg->data = DeltaMsg the number of bytes in data are defined as: TOSH_DATA_LENGTH - 10 (-10, because all other elements, except data, sum up to 10 bytes). The DeltaMsg has

Re: [Tinyos-help] re to re i need references

2006-07-20 Thread Ole Bischoff
Hy Boushra,   TelosB    http://www.moteiv.com/community/Moteiv_Community TinyOS   http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf nesC  http://nescc.sourceforge.net/papers/nesc-ref.pdf     OLE - Original Message - From: Boushra MAALA To: Tinyos-help@Millenniu

Re: [Tinyos-help] Raw Temperature readings Conversion to meaningfulDegree Celcious values

2006-07-18 Thread Ole Bischoff
o 3006 in decimal regards muddesar From: "Ole Bischoff" <[EMAIL PROTECTED]>To: "Muddesar Iqbal" <[EMAIL PROTECTED]>,"TinyOs Help List" Subject: Re: [Tinyos-help] Raw Temperature readings Conversion to meaningfulDe

Re: [Tinyos-help] Raw Temperature readings Conversion to meaningfulDegree Celcious values

2006-07-17 Thread Ole Bischoff
Hy Muddesar,   the data of your MultiHop-Msg is a SPMessage-struct  ( .../moteiv/apps/Delta/Delta.h):         typedef struct DeltaMsg {      uint32_t seqno;      uint16_t reading;      uint16_t parent;      uint8_t neighborsize;      uint8_t retransmissions;      uint16_t neighbors[MHOP_P

Re: [Tinyos-help] Help me with power range and signal strength!

2006-06-27 Thread Ole Bischoff
Hi Tran,   i would change the output power with CC1000Control.SetRFPower(uint8_t power) from CC1000ControlM. You can use this at runtime instead of changing default values. To validate your changes you can use the CC1000Control.GetRFPower() function.   E.g.: call CC1000Control.SetRFPower(7)

[Tinyos-help] Read/write registers of CC2420 with Boomerang

2006-06-07 Thread Ole Bischoff
ole thing works fine. Perhaps someone can help me with this problem a.k.a. resource handler.   Best regards,                     Ole Bischoff   RegCC2420.nc 01 configuration RegCC2420 {02 }03 implementation {04   components Main05 , RegCC2420M06 , TimerC07 , LedsC08 ,