Re: [Tinyos-help] IRIS support on current Blip Version

2012-02-17 Thread Gabriel Neumüller
Hi Guys,

some time went by and I was doing things besides TinyOS.

Is there any progress in this topic?

Does the mentioned git repository with an working Blip IRIS Version exist?

 

Thanks in advance

Gabriel

 

Von: tinyos-help-boun...@millennium.berkeley.edu
[mailto:tinyos-help-boun...@millennium.berkeley.edu] Im Auftrag von Johny
Mattsson
Gesendet: Donnerstag, 1. Dezember 2011 00:33
An: Miklos Maroti
Cc: tinyos-help@millennium.berkeley.edu
Betreff: Re: [Tinyos-help] IRIS support on current Blip Version

 

On Wed, Nov 30, 2011 at 10:33 PM, Miklos Maroti mmar...@math.u-szeged.hu
wrote:

I have looked briefly at your patch. There are a lot of changes, and
it will take time to sort out all these to my satisfaction.


Quite understandable. I'd be worried if you were willing to just grab what I
sent and commit it! (Especially since we just discovered we were making some
invalid assumptions about the SPI state when configuring the frame filter
which breaks things at times - oops.)



What we could do is the following, if you are willing to go along:

I will create a new branch on my git repository, this is going to be
based on the current tinyos.main SVN repo. I will incorporate some of
your changes and prepare the commits. Each change will not break any
other code. I would like to go as slowly as possibly. After each
change I would like to look at the remaining issues in a separate
diff. Alternatively, it would be nice if you have a public git repo I
can look at (and some instructions on what to use and what to ignore).


Sounds good! I'll see if we can expose a repo to you from our end, but I'll
need to discuss it with the powers that be to get approval first. We might
need also to re-jig our structure a little bit to make this possible - I'll
get back to you off-list when I have something.



I cannot compile the current tinyos-main for telosb, it gives some
compiler errors. Do you see this too? Can you compile your version for
telosb? (Of course I assume it compiles with cc2420x.


Off the mainline I can't build PppRouter for telosb due to not having the
newer compiler installed as the .text segment overflows, but that's the only
error. I can build CoapBlip for telosb off the mainline successfully.
It's not possible to build either from our version, unless using the cc2420x
driver. I wasn't game (or had time, or hardware) to attempt to change the
regular cc2420 driver.

Best regards,
/Johny
-- 
Johny Mattsson
Senior Software Engineer

DiUS Computing Pty. Ltd.
where ideas are engineered

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] IRIS support on current Blip Version

2011-11-29 Thread Gabriel Neumüller
Hi Johny,

I’ve seen that patch already before. Sorry that I didn’t mention that. But
for me I can’t compile the patched repository I tried the PppRouter-App if
this matters.

I applied the patch to different revisions (HEAD,
9349b40df52930dc0cdb90a4c1d2da55a10c662a (Because it was the HEAD when the
patch was posted) ).

The first Error Message I get is:

PlatformLed.h: No such file or directory

In file included from /opt/tinyos-2.x.svn/tos/lib/ppp/PppC.nc:78,

 from /opt/tinyos-2.x.svn/tos/lib/ppp/PppDaemonC.nc:56,

 from PppRouterC.nc:16:

In component `LedC':

/opt/tinyos-2.x.svn/tos/system/LedC.nc:88: component PlatformLedC not found

/opt/tinyos-2.x.svn/tos/system/LedC.nc:89: no match

In file included from
/opt/tinyos-2.x.svn/tos/lib/timer/MuxAlarmMilli32C.nc:47,

 from /opt/tinyos-2.x.svn/tos/lib/ppp/LcpAutomatonC.nc:72,

 from
/opt/tinyos-2.x.svn/tos/lib/ppp/LinkControlProtocolC.nc:89,

 from /opt/tinyos-2.x.svn/tos/lib/ppp/PppDaemonC.nc:65,

 from PppRouterC.nc:16:

 

Regards, Gabriel

 

 

Von: Johny Mattsson  mailto:[mailto:jmatts...@dius.com.au]
[mailto:jmatts...@dius.com.au] 
Gesendet: Montag, 28. November 2011 23:29
An: Gabriel Neumüller
Cc:  mailto:tinyos-help@millennium.berkeley.edu
tinyos-help@millennium.berkeley.edu
Betreff: Re: [Tinyos-help] IRIS support on current Blip Version

 

Hi Gabriel,

A while back I posted a patch for getting BLIP to work with RF230/RF212
chips to the tinyos-help list. It's not the proper way of integrating BLIP
with these chips, but it does work (we rely on it internally here), so that
might be enough for you too. Search for the archives for the thread BLIP
2.0 with RF230/RF212 and you'll find it.

Regards,
/Johny



On Tue, Nov 29, 2011 at 12:52 AM, Gabriel Neumüller 
mailto:horsthuc...@googlemail.com horsthuc...@googlemail.com wrote:

Hi all,

I tried to use the current Blip version with an IRIS Mote, but it seems,
that it only works with Motes which use cc2420 Chips. So I checked out the
git revision 48ca7e33cad3c69243800a213208ba1bf032c014  or in svn I think
it’s rev 5611 . With this version Blip also works with the IRIS Mote. But it
seems there was a big change between this two versions, so I don’t think it
makes sense to use the older one.

Does it make sense, trying to adapt the current blip version to IRIS or is
there a major change planned? Or is somebody already working on this task?

Can I use the older version for my project or should I work with the newer
one?

 

Thanks

Gabriel Neumüller


___
Tinyos-help mailing list
 mailto:Tinyos-help@millennium.berkeley.edu
Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Johny Mattsson
Senior Software Engineer

DiUS Computing Pty. Ltd.
where ideas are engineered

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] IRIS support on current Blip Version

2011-11-28 Thread Gabriel Neumüller
Hi all,

I tried to use the current Blip version with an IRIS Mote, but it seems,
that it only works with Motes which use cc2420 Chips. So I checked out the
git revision 48ca7e33cad3c69243800a213208ba1bf032c014  or in svn I think
it’s rev 5611 . With this version Blip also works with the IRIS Mote. But it
seems there was a big change between this two versions, so I don’t think it
makes sense to use the older one.

Does it make sense, trying to adapt the current blip version to IRIS or is
there a major change planned? Or is somebody already working on this task?

Can I use the older version for my project or should I work with the newer
one?

 

Thanks

Gabriel Neumüller

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Send Packets with Basestation to Lpl Motes

2011-07-18 Thread Gabriel Neumüller
Thanks for this advice.
Now I have changed the Basestation nesc Code and it works.
But is there a equivalent function in java like the
call LowPowerListening.setRemoteWakeupInterval(msg, 
DEFAULT_LPL_REMOTE_WAKEUP_INT);
function in nesc?
So I could change the Lpl Remote Parameter directly from the java 
application.

Gabriel Neumueller



Am 16.07.2011 02:19, schrieb Omprakash Gnawali:
 On Tue, Jul 12, 2011 at 5:33 AM, Gabriel Neumüller
 horsthuc...@googlemail.com  wrote:
 Hi all,
 I have written a java application to send Packets through a Mote which
 is connected to a Pc and is programmed with the Basestation app. For
 this purpose I use the java MoteIF.send function.
 Everything works as expected, but when my node which should receive the
 packets is programmed with Low Power Listening enabled, I often have to
 repeat my packets until the node receives it.
 How can I tell the Basestation or the java interface that the receiver
 Node uses Lpl?
 You need to program your basestation with appropriate lpl parameters.

 - om_p
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Send Packets with Basestation to Lpl Motes

2011-07-12 Thread Gabriel Neumüller
Hi all,
I have written a java application to send Packets through a Mote which 
is connected to a Pc and is programmed with the Basestation app. For 
this purpose I use the java MoteIF.send function.
Everything works as expected, but when my node which should receive the 
packets is programmed with Low Power Listening enabled, I often have to 
repeat my packets until the node receives it.
How can I tell the Basestation or the java interface that the receiver 
Node uses Lpl?

Thanks in advance
Gabriel Neumueller
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Problems with ActiveMessageC.AMSend and AMSender

2011-07-06 Thread Gabriel Neumüller
Hi all,
in different application I have used sometimes
components ActiveMessageC;

and connected

App.AMSend -  ActiveMessageC.AMSend[AM_ID];


and sometimes I use

components new AMSenderC(AM_ID);


with connection
App.AMSend - AMSenderC;

I thought it should have the same effect and the second method is just 
the newer more abstract method to do the same stuff. But today I found 
out that it result in different behavior. Especially when I use
LowPowerListening.setRemoteWakeupInterval(packet, remoteInterval);
with the more abstract method this function does not change anything.
Could please someone confirm this behavior?
Or this there a functional difference between this two methods wich I 
have missed?

Thanks in advance
Gabriel Neumüller


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help