Re: [Tinyos-help] one question about Deluge T2 - new program image

2012-09-24 Thread András Bíró
Hi Gary, On Mon, Sep 24, 2012 at 9:24 PM, Gary Lee gary.lee1...@gmail.com wrote: Hi, I have one question about Deluge T2: when a node receives a new program image, how does TinyOs/Deluge update its program memory into this new image? I am using MicaZ mote. I trace Deluge T2, eventually I

Re: [Tinyos-help] Could not find the main class: net.tinyos.nesc.wiring.WiringCheck.

2012-09-23 Thread András Bíró
/ Miklos On Wed, Sep 12, 2012 at 4:18 PM, András Bíró andras.b...@unicomp.hu wrote: On Wed, Sep 12, 2012 at 11:15 PM, András Bíró andras.b...@unicomp.hu wrote: Hi Gary, On Wed, Sep 12, 2012 at 9:54 PM, Gary Helbig ghel...@inbox.com wrote: I'm trying to get TinyOS to work on another

Re: [Tinyos-help] one question about BOOTLOADER=tosboot

2012-09-23 Thread András Bíró
On Sat, Sep 15, 2012 at 5:00 AM, András Bíró andras.b...@unicomp.hu wrote: Hi Gary, You're both right and not. There are two images, one for the app (in the apps/Null/build/... directory), and one for the bootloader (in tos/lib/tosboot/build). On the avr platforms, the bootloader goes

Re: [Tinyos-help] one question about BOOTLOADER=tosboot

2012-09-15 Thread András Bíró
Hi Gary, You're both right and not. There are two images, one for the app (in the apps/Null/build/... directory), and one for the bootloader (in tos/lib/tosboot/build). On the avr platforms, the bootloader goes to the last 4k of the flash, therefor the bootloader image is 128kB, but the first

Re: [Tinyos-help] iris platform doesn't compile

2012-09-15 Thread András Bíró
Hi Guys, He mentioned in the first mail that he's using Arch linux, I think I talked with him in the forum of the arch user repository (aur). Just for the record: It turned out that I forget to update the arch buildscript for the the new location of the patches in the svn, and the script

Re: [Tinyos-help] Could not find the main class: net.tinyos.nesc.wiring.WiringCheck.

2012-09-12 Thread András Bíró
Hi Gary, On Wed, Sep 12, 2012 at 9:54 PM, Gary Helbig ghel...@inbox.com wrote: I'm trying to get TinyOS to work on another computer. This is a Windows7 machine. I'm using Windows 7 Pro x64 as well for cygwin testing. The link to cygwin on the TinyOS install page is dead. The site that

Re: [Tinyos-help] Could not find the main class: net.tinyos.nesc.wiring.WiringCheck.

2012-09-12 Thread András Bíró
On Wed, Sep 12, 2012 at 11:15 PM, András Bíró andras.b...@unicomp.huwrote: Hi Gary, On Wed, Sep 12, 2012 at 9:54 PM, Gary Helbig ghel...@inbox.com wrote: I'm trying to get TinyOS to work on another computer. This is a Windows7 machine. I'm using Windows 7 Pro x64 as well for cygwin

Re: [Tinyos-help] Need an updated avr-gcc for cygwin

2012-09-07 Thread András Bíró
Hi Gary, Just a fast reply: I'm working on upgrading the avr toolchain to Atmel's recommendation. It's quite new, almost nothing worked with it. There is no cygwin packages yet (I'll compile them at this weekend). Until that, you can find the buildscripts at my github:

Re: [Tinyos-help] avr-gcc.exe: /usr/lib/ncc/tdspecs: No such file or directory

2012-09-07 Thread András Bíró
Hi Gary, Could you describe how you installed cygwin and the tinyos/avr packages? Andris On Fri, Sep 7, 2012 at 6:27 AM, Gary Helbig ghel...@inbox.com wrote: avr-gcc.exe: /usr/lib/ncc/tdspecs: No such file or directory Any clues how to fix this? I've found a half-dozen people asking

Re: [Tinyos-help] 2 source files specified (PLATFORM_MICAZ and BOARD_MICASB)

2012-08-17 Thread András Bíró
Hello, Here's the solution: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2011-November/052858.html Andras On Mon, Aug 13, 2012 at 4:59 PM, Arnold Li jq.arnold...@gmail.com wrote: Hello I got the same error like this:

Re: [Tinyos-help] tos-locate-jre failure on 64-bit Windows and Java 7

2012-08-03 Thread András Bíró
Hi Flemming, Since cygwin is a 32 bit application, it can't see the 64 bit java (and there's no 64 bit tinyos jni libraries either). install the 32 bit version of java, it should work. Andris On Tue, Jul 31, 2012 at 11:10 AM, Flemming Nyboe flemm...@rocketscience.eu wrote: Hello, My

Re: [Tinyos-help] I2C problem in micaz and MDA300

2012-07-18 Thread András Bíró
Hi, I used the debug a lot the MasterPacketP. The best way was to add some DiagMsg to every command/event in the HplAtm128I2CBusP. Andris On Tue, Jul 17, 2012 at 12:33 PM, francodipersio francodiper...@sestosenso.es wrote: Hi, I am using Micaz and Tinyos-2.1.1 together with the MDA300

Re: [Tinyos-help] Deluge T2 and iris motes

2012-07-10 Thread András Bíró
Hi Guys, It's seems there is a bunch of deluge related problem recently, and altough I don't really know the source of your problems, Deluge T2 certainly works. I didn't use it on memsic motes for quite a long time (although I could test it on irises if you wish), but I've ported it to the

Re: [Tinyos-help] How to update nesc to version 1.3.3

2012-06-07 Thread András Bíró
Hi! What tinyos repository do you use? Andris On Thu, Jun 7, 2012 at 12:20 PM, ankit jain ankit.jai...@gmail.com wrote: Hi everyone, I am using nesc 1.3.1, I want to upgrate it to version 1.3.3. But wnen I update it it says nesc is already the newest version. I am using

Re: [Tinyos-help] Communicate with mobile phone

2012-06-07 Thread András Bíró
Hi Kyle, No it's not. Telosb has a 2.4GHz ieee 802.15.4 compilant radio (cc2420), while mobilephones use 900/1800/2100MHz GSM or 850/1900/2100MHz (I'm not sure about the frequencies) CDMA. Smarter phones might have 2.4GHz Bluetooth or WiFi, but that's still not the sam physical layer (not the

Re: [Tinyos-help] tinyos compiler error

2012-05-25 Thread András Bíró
Hi, You probably installed the toolchain from the hinrg repo, check this thread: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2012-April/054674.html Andris On Thu, May 24, 2012 at 4:52 AM, Zheyi Zhu dalece...@gmail.com wrote: Hi, I'm using MIB520 and Ubuntu 12.04 32bit,

Re: [Tinyos-help] tinyos on zigduino

2012-05-25 Thread András Bíró
the CLKPR values assumes internal RCOscillator with 1:2 prescaler. I forced CLKPR to 0x00 since the default value, 0x0f was for RC Oscillator only. You're right, there should be a define for that. Andris On 05/23/2012 10:11 PM, András Bíró wrote: Hi Ugo, On Wed, May 23, 2012 at 5:37 PM

Re: [Tinyos-help] tinyos on zigduino

2012-05-23 Thread András Bíró
Hi Ugo, On Wed, May 23, 2012 at 5:37 PM, Ugo Colesanti colesa...@dis.uniroma1.it wrote: I managed to have TimerMilli working without re-wiring:  - I used Blink as test  - I changed SYM_TIMER_MODE to ATMRFA1_CLKSC_XTAL but it was not enough since as the datasheet says: If the transceiver goes

[Tinyos-help] AutoReply spam

2012-05-23 Thread András Bíró
Hi, Does anyone else receiving autoreplies form ltp0...@sina.com with chinese text when writing to this list? It's really irritating, and it's probably deservs a warning/ban if it's a list-wide problem. Andris ___ Tinyos-help mailing list

Re: [Tinyos-help] change radio frequency

2012-05-16 Thread András Bíró
Hi, The iris mote has rf230 radio. Most of it defines are described in $TOSDIR/chips/rf230/README. For channel changing, use this: CFLAGS += -DRF230_DEF_CHANNEL=24 Andris On Tue, May 15, 2012 at 10:33 PM, Li, Haixia-OSU Stillwater hai...@ostatemail.okstate.edu wrote: I'm using Tinyos 2.1.

Re: [Tinyos-help] cannot download Blink to a mica2 or a mica2dot

2012-05-08 Thread András Bíró
Hi, If it's an uisp related problem, you can try to use avrdude for the older avr platforms as well with this command: export PROGRAMMER=avrdude After that, make should use avrdude instead of uisp. Micheal: Iris uses avrdude by default, so it's not really a platform dependent bug. Andris On

Re: [Tinyos-help] How to send data from a java code via SerialForwarder to a mote(Basestation)

2012-05-07 Thread András Bíró
Hi, If you decide to use the tinyos.jar and the class created by mig to create a message, check the apps/tests/TestSerial app. Andris On Mon, May 7, 2012 at 2:30 AM, Behdad aminian behdad.amin...@gmail.com wrote: Dear  Sergio, Thanks for your reply.  I have a Labview program which sends

Re: [Tinyos-help] How to solve the avrdude error

2012-05-07 Thread András Bíró
Hi, I think the problem is the space between the mib520, and COM26. It should be mib520,COM26. If it still doesn't work, try the other serial port the mib520 provides. Usually the lower numbered is the programmer port, but it depends on the driver. Andris On Mon, May 7, 2012 at 2:37 PM, Shoko

Re: [Tinyos-help] Error in component PlatformC for IRIS

2012-04-27 Thread András Bíró
rude. I autoremoved and purged tinyos then reinstalled. Still no luck, same missing files of course... I cannot really get it. Any idea why? What if i just copy the /usr/avr folder from a working system? Thanks Davide On 26 Apr 2012, at 20:01, András Bíró wrote: Hi, On Thu, Apr 26

Re: [Tinyos-help] Error in component PlatformC for IRIS

2012-04-26 Thread András Bíró
Hi, On Thu, Apr 26, 2012 at 6:59 PM, scatram...@gmail.com scatram...@gmail.com wrote: Hi, Thanks for your input avr-gcc-tinyos v4.1.2 avr-libc-tinyos v1.4.7 avr-binutils-tinyos v2.17 They all come from the http://hinrg.cs.jhu.edu/tinyos repository for karmic. Anything wrong here? When

Re: [Tinyos-help] Error in component PlatformC for IRIS

2012-04-25 Thread András Bíró
Hi Davide, This seems like an avr toolchain related problem (inttypes.h should be part of avr-libc). Could you please check the version of the avr-gcc-tinyos, avr-libc-tinyos and avr-binutils-tinyos packages? From what repository did you install them? Andris On Wed, Apr 25, 2012 at 7:33 PM,

Re: [Tinyos-help] Repository error

2012-04-18 Thread András Bíró
Hi Alejandro, If you only want to use the tinyos java tools, it's possible to compile the getenv/tosserial on ARM (tested on a Crossbow netbridge, which is a Linksys NSLU2): -install JDK -check out the tinyos-svn -go to /tools/tinyos/java/env -compile getenv: gcc -I$(JDK)/include/linux

Re: [Tinyos-help] Deluge T2 Rollback Gesture on Iris

2012-03-13 Thread András Bíró
Hi Guys, I'm currently porting deluge to some of our platforms, and I think the rollback function isn't that easy as it should be based on the documentation. First of all, the golden image should be injected with tos-deluge serial -i 0 image xml. It can probably disseminated with -d, but I'm not

Re: [Tinyos-help] Error compiling TestSerial

2012-03-06 Thread András Bíró
Hi Varun, It seems your CLASSPATH variable contains /opt/tinyos-2.1.1/support/sdk/java instead of /opt/tinyos-2.1.1/support/sdk/java/tinyos.jar Andris On Mon, Mar 5, 2012 at 3:47 PM, Varun Agrawal varagra...@gmail.com wrote: When I try to make the TestSerial application I get the following

Re: [Tinyos-help] Arduino UNO and TinyOS compatibility

2012-03-02 Thread András Bíró
Hi, Probably the cheapest/easiest central chip for a tinyos platform is the atmega128rfa1 (it's about 5$). Andris On Fri, Mar 2, 2012 at 1:05 PM, Antonio Liñán C. ali...@zolertia.com wrote: I don't know about any TinyOS port to Arduino UNO, but there are a couple of contiki-arduino projects,

Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus

2012-02-29 Thread András Bíró
;        } } - regards BG From: András Bíró [bband...@gmail.com] Sent: Wednesday, February 29, 2012 4:41 AM To: #BHARTI GOEL# Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus Hi, The address

Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus

2012-02-28 Thread András Bíró
the address to be 90/91 if A2, A1, A0 = 000 or 92/93 if A2 A1 A0 = 001. However this does not work. For one chip it works for 48, 49. Do you understand this? Thanks BG From: András Bíró [bband...@gmail.com] Sent: Tuesday, February 28, 2012 1:34 AM

Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus

2012-02-27 Thread András Bíró
Hi, I think that code shouldn't work with one sensor eighter. The I2CPacket interface only needs the 7 bit address, whithout the read/~write bit. So your address for the 0x40/0x41 chip is 0x20. Andris On Mon, Feb 27, 2012 at 6:10 PM, #BHARTI GOEL# bhar0...@e.ntu.edu.sg wrote: Hi, I am trying

Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus

2012-02-27 Thread András Bíró
, the resource interface is quite reliable. However, most sensor needs some time between the measure command and the downloading, that could be a problem. Andris Sergio On 02/27/2012 09:34 AM, András Bíró wrote: Hi, I think that code shouldn't work with one sensor eighter. The I2CPacket

Re: [Tinyos-help] help: Problem in Installing TinyOS-2.x on Ubuntu 11.04

2012-02-26 Thread András Bíró
Hi Vinit, You should install automake and autoconf. Or probably the best solution is to install build-essential, becouse you probably don't have some other important tools eighter. Andris On Sun, Feb 26, 2012 at 9:59 AM, vinit desai desaivin...@gmail.com wrote: Hello, I am installing

Re: [Tinyos-help] (no subject)

2012-02-13 Thread András Bíró
Hi David, Giveio.sys doesn't work on Vista and newer, but if you don't plan to use parrellel port programmer, you don't need it. Andris On Mon, Feb 13, 2012 at 7:03 PM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi all I'm trying to install TinyOS on a Windows 7 machine, but I am

Re: [Tinyos-help] I can't see the temperature data using ActiveMessageC

2012-02-12 Thread András Bíró
Hi Alejandro, If you're familiar with java, it's really easy to process your messages after you read them with the tinyos sdk. To use the tinyos java sdk, read the javadoc in the source code (support/sdk/java), and check the apps/test/TestSerial app. Every time I need a pc app, I start it with

Re: [Tinyos-help] I can't see the temperature data using ActiveMessageC

2012-02-10 Thread András Bíró
Hi Alejandro, Your code seems all right, the problem is with your expectation. The reading from the sensor is 0x19E2. I don't understand why do you expect such long message. Andris On Fri, Feb 10, 2012 at 10:09 PM, aca...@correo.ugr.es wrote: Hello. I am using a telosb mote, and I'm trying

Re: [Tinyos-help] Unable to compile sf SDK

2012-02-05 Thread András Bíró
Hi, This is a known bug in nesc 1.3.2 (and older) and gcc 4.6 (and newer): http://sourceforge.net/tracker/?func=detailaid=3153727group_id=56288atid=480036 You can eighter update to nesc 1.3.3 or use the atached patch in the bugreport (it's a perl script, so you don't have to recompile the whole

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-03 Thread András Bíró
Hi Sergio, Aren't these broadcast messages (destination address == 0x)? Ack will be sent only after receiving a unicast message. Andris On Fri, Feb 3, 2012 at 8:23 PM, Sergio Gonzalez serg...@ece.ubc.ca wrote: Hi Miklos, This is the output on the screen; one line per packet sent; no ACK

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-02 Thread András Bíró
whether the problem arises due to (mis-)wiring in the corresponding configuration files. I'll keep digging. Thanks, Sergio On 02/01/2012 01:13 AM, András Bíró wrote: Hi Eric, It uses the svn version of rfxlink, but there wasn't any big change in that recently, I think it should work

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-01 Thread András Bíró
Hi Sergio, I corrected a bunch of timing error on the rf212 radio with the help of Miklos, try updating the /tos/chips/rf212 directory from the main svn (http://tinyos-main.googlecode.com/svn/trunk/). Andris On Wed, Feb 1, 2012 at 5:55 AM, Sergio Gonzalez serg...@ece.ubc.ca wrote: Hi Miklos,

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-01 Thread András Bíró
: 2012/2/1 András Bíró bband...@gmail.com Hi Sergio, I corrected a bunch of timing error on the rf212 radio with the help of Miklos, try updating the /tos/chips/rf212 directory from the main svn (http://tinyos-main.googlecode.com/svn/trunk/). How independent is the rf212 stack

Re: [Tinyos-help] (no subject)

2012-01-23 Thread András Bíró
Hi Antonio, Check the driver hpls in the atm128rfa1 directory (which is only in the svn for now). Basicly, you should write an McuPowerOverride.lowestState() function which will returns ATM128_POWER_IDLE (or whatever state the PWM needs) if the buzzer is on, and ATM128_POWER_DOWN if not, and

Re: [Tinyos-help] is ISR (interrupt service routine) atomic?

2012-01-06 Thread András Bíró
Hi, First of all, there are two interrupt handler macro (at least on AVR): AVR_ATOMIC_HANDLER() and AVR_NONATOMIC_HANDLER(), obviously the first one disables the global interrupts, the second one doesn't. Most of the drivers uses the atomic one, you have to handle much more error possibility in

Re: [Tinyos-help] (no subject)

2011-12-22 Thread András Bíró
Hi Eric! Shouldn't all msp430 packages depend on msp430mcu? They do on debian sid: http://packages.debian.org/sid/binutils-msp430 http://packages.debian.org/sid/gcc-msp430 http://packages.debian.org/sid/msp430-libc Andris On Thu, Dec 22, 2011 at 9:44 PM, Eric Decker cire...@gmail.com wrote:

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-12-18 Thread András Bíró
Hi Sebastian, Did the modified driver solved your problem? Becous if it does, I would send this to a friend of mine who can commit to tinyos-main, and hopefully this will be part of tinyos 2.1.2. Andris On Fri, Dec 9, 2011 at 6:58 PM, András Bíró bband...@gmail.com wrote: Hi Sebastian

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-12-15 Thread András Bíró
On Thu, Dec 1, 2011 at 12:19 PM, Sebastian Dölker sebastiandoel...@gmx.de wrote: By the way: How do you use blip on iris? It's not supported yet (see the thread IRIS support on current Blip Version) I don’t use the current (blip 2.0) version… I use the first version of blip which works fine

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-12-15 Thread András Bíró
Hi Sebastian, On Fri, Dec 9, 2011 at 2:30 PM, Sebastian Dölker sebastian.doel...@hs-karlsruhe.de wrote: Hi Andris, Yesterday I continued with my i2c problems and discovered the following: The debug values: 20:03:44 cmd 0x00 0x00 20:03:44 ir read done.. 20:03:44 init 255 3 20:03:44 cmd

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-11-30 Thread András Bíró
Hello, On Wed, Nov 30, 2011 at 1:20 PM, Sebastian Dölker sebastiandoel...@gmx.de wrote: Hallo, unfortunately I wasn’t successfully in reading out the i2c_status.. I successfully included the dbgmsg-components but on the pc-side I can’t receive dbg-messages. (I use blip‘s ipbasestation

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-11-30 Thread András Bíró
One more thing: DiagMsg doesn't start the radio or the serial stack by itself, you should do it manually. Andris On Wed, Nov 30, 2011 at 4:14 PM, András Bíró bband...@gmail.com wrote: Hello, On Wed, Nov 30, 2011 at 1:20 PM, Sebastian Dölker sebastiandoel...@gmx.de wrote: Hallo

Re: [Tinyos-help] How to store data collected by a telosb network in a db?

2011-11-30 Thread András Bíró
Hi Georgia, First of all, you should use SerialAMSender/SerialAMReceiver components for serial communication on the mote (printf converts the data to string on the mote, and you will need it as a number on the pc). Then, if you're familiar with java, check the apps/test/TestSerial application,

Re: [Tinyos-help] Radio and I2C conflit

2011-11-25 Thread András Bíró
Hi Alex, The i2c/spi bus does not share any pin on the atmel platforms like iris (only on msp430 platforms). However, you can do some modifications to speed up the i2c: -incrase the i2c clock rate in the $TOSDIR/chips/atm128/i2c/HplAtm128I2CBusP.nc (TWSR/TWBR registers) -define TASKLET_IS_TASK.

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-11-24 Thread András Bíró
Hi Sebastian, The I2CMasterPacketC in tinyos 2.1.1 had a bunch of bugs, try the SVN version from here: http://code.google.com/p/tinyos-main/ It should be enough to replace the i2c folder. Andris On Thu, Nov 24, 2011 at 11:57 AM, Sebastian Dölker sebastiandoel...@gmx.de wrote: Unfortunately I

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-11-24 Thread András Bíró
Hi, Can you find out what's in the state variable when the i2c stops working? By the way: when we had problems with the i2c drivers, I modified the hpls to print every low level communication: http://dl.dropbox.com/u/363226/munka/I2CDriver.zip Don't forget to change the Clk/Data pins in the

Re: [Tinyos-help] Problems with Atmel128 I2C-Components (iris) with slow I2C sensors

2011-11-23 Thread András Bíró
Hi Sebastian, I'd spend a lot of time with the MasterPacketP, and never had such problems. However your solution is not quite good. If the I2C is really busy, your modification will abort the communication on any request. Moreover, you're signaling readDone() from the read() command, which can

Re: [Tinyos-help] Cannot receive packets from serial port

2011-11-21 Thread András Bíró
Hi, The TelosA motes don't work with the current tinyos.jar, see this thread for details and solution: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2011-October/052670.html However, this doesn't affect the TelosB, that should work. Andris On Mon, Nov 21, 2011 at 12:59 PM, Urs

Re: [Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread András Bíró
Hi David, We're using 2MiB chips (ST M25P16) on the ucmini motes, and it works fine, with almost no changes. The only problem was the tos-storage-stm25p script (which generates the StorageVolumes.h from the xml file), becouse it fails with chips bigger than 1MiB. This was solved in the svn, by

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
Hi Martin, If I understood correctly, the reason for not recommending dynamic memory in tinyos is that there's no memory protection at all. Your data memory grows from one side of the memory, and the stack grows from the other side, if they're overlap, that could cause a hardly understandable

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
Original Message   Subject: Re: [Tinyos-help] Managing table with neighbors - dynamic allocation From: András Bíró bband...@gmail.com To: Martin Stehlik stehli...@atlas.cz Cc: tinyos-help@millennium.berkeley.edu Date: Monday, November 21, 2011 13:39:37 Hi Martin, If I understood

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
dynamic allocation is not good method and I should avoid it. Thank you very much. Martin Original Message   Subject: Re: [Tinyos-help] Managing table with neighbors - dynamic allocation From: András Bíró bband...@gmail.com To: Martin Stehlik stehli...@atlas.cz Cc: tinyos-help

Re: [Tinyos-help] mig issue failed parsing RssiDemoMessages.h

2011-11-14 Thread András Bíró
Hi guys, 1.3.2 and older versions of nesc has this bug when tries to compile with gcc 4.6. You can do eighter of these solutions: -add option -target=iris (or telos or whatever mote you're using, it doesn't really matter, the generated code is the same) to the mig command to use avr-gcc or

Re: [Tinyos-help] Conflicting conversion formulas of telosb internal temperature sensor

2011-11-14 Thread András Bíró
Hi Georgia, This is not an internal temperature sensor, it's a Sensirion SHT21 Humidity/temperature sensor, so you should use the formula from its datasheet: http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf Andris On Sun, Nov 13, 2011 at 5:41 PM, Geo

Re: [Tinyos-help] Arch Linux

2011-11-03 Thread András Bíró
Hi Magnus, I'm using tinyos on arch with avr based motes, and it's working fine. Actually, I'm the maintainer of the tinyos related packages on aur, and I'm planning to create pkgbuilds for the msp430-tinyos toolchain when I have time for it. Andris On Thu, Nov 3, 2011 at 3:21 PM, Magnus Morton

Re: [Tinyos-help] Arch Linux

2011-11-03 Thread András Bíró
If anyone has problems with the packages, please post a comment on AUR. Andris 2011/11/3 Luís Pereira luispereira@gmail.com: Hi Magnus, I'm using tinyos on arch too. The AUR packages didn't work for me, but the svn version (after everything thats it's needed installed) work perfect with

Re: [Tinyos-help] ubuntu 10.04 and repositories

2011-10-31 Thread András Bíró
Hi Newlyn, I think the avr toolchain isn't working correctly from the hinrg repository. Use this one instead: deb http://tinyos.stanford.edu/tinyos/dists/ lucid Andris On Mon, Oct 31, 2011 at 5:05 PM, Newlyn Erratt nerr...@umail.iu.edu wrote: All, I have been attempting to get a fully

Re: [Tinyos-help] ubuntu 10.04 and repositories

2011-10-31 Thread András Bíró
to double check and reinstall the packages but I am quite sure I removed everything from the previous install. Any ideas? Thanks, Newlyn 2011/10/31 András Bíró bband...@gmail.com Hi Newlyn, I think the avr toolchain isn't working correctly from the hinrg repository. Use this one instead

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread András Bíró
Hi Urs, You're right. I mesaurd the voltage on the reset button: it's about 3.3V when it's unpressed, and 0V if pressed. But after I connect to the mote with Listen, the voltage is always 0V, which means, it's in reset state. The mote only exit the reset state if I unplug/replug it, or reset it

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread András Bíró
Hi Guys, Urs, it's not always working in c, I couldn't use it with cutecom. But since I worked with the JNI libraries recently, I checked what should be changed, and it was really easy, check the attached patch (I did the change on the svn version). You can try it with: cd $TOSROOT/sdk/java

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread András Bíró
Luís Pereira On Thu, Oct 27, 2011 at 16:10, András Bíró bband...@gmail.com wrote: Hi Guys, Urs, it's not always working in c, I couldn't use it with cutecom. But since I worked with the JNI libraries recently, I checked what should be changed, and it was really easy, check the attached

<    1   2