[Tinyos-help] Cant' read data from USB port on Windows

2012-08-05 Thread Sam Honarvar
Hi,

I'm using Windows 7 with mib520 and when I run the python code to direct
data to the screen it doesn't work while the same code works perfectly
under Ubuntu.

This is what I use on Windows:

*getActivity.py serial@/COM3:57600 and I see this:*
*Flushing the serial port*

and then nothing.


And on Ubuntu:
*python getActivity.py serail@/dev/ttyUSB0:57600.*
*Flushing the serial
port..
Starting...
PRINTF: Message: 190
PRINTF: Message: 190*

Any help is much appreciated.

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

Re: [Tinyos-help] nesc1 error, imote2 platform

2012-08-05 Thread Johny Mattsson
On 4 August 2012 00:48, Javier  wrote:

> ...
> /usr/arm/none-eabi/libexec/gcc/arm-none-eabi/4.3.3/cc1: error while loading
> shared libraries: libmpfr.so.1: cannot open shared object file: No such
> file or
> directory
>

It looks like your toolchain is broken. libmpfr.so is the "Multi-Precision
Floating point with correct Rounding" library used by gcc, and is typically
installed either together with gcc or prior to gcc. Try reinstalling the
toolchain.

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] implementation of a new routing algorithm

2012-08-05 Thread Omprakash Gnawali
It seems like you have your routing algorithm designed.

If you are curious about how to write code for a routing
protocol, I suggest reading the code for CTP (which you can find in
tos/lib/net/ctp). Although your protocol is different from CTP,
reading that code will give you an idea on how other people wrote code
for other routing protocols. Routing table management is done
in CtpRoutingEngineP.nc.

- om_p

On Mon, Jul 30, 2012 at 4:13 AM, mamta_b  wrote:
>
> thanks for replying Omprakash.
> i am starting with static deployment of nodes where i know the positions of
> my nodes where they are placed. i want to group all nodes in different
> layers and in each node's routing table i want to store priorities of the
> nodes in layers towards the basestation i mean in the forward direction
> towards the basestation. i need to store only 3 priorites . now what
> structure do i need to create and how to implement it. thanks.
>
> Omprakash Gnawali-4 wrote:
>>
>> Why do you want to implement your own routing protocol? I am assuming
>> the existing protocols don't meet your requirements. If so, what are
>> your requirements?
>>
>> - om_p
>>
>> On Tue, Jul 24, 2012 at 1:42 AM, mamta_b 
>> wrote:
>>>
>>> hi friends,
>>> i have studied and tested multihoposcilloscope and testnetwork
>>> applications.
>>> now i want to implement my own routing algorithm but i am confused that
>>> from
>>> where to start, how to create different layers of nodes, how to store
>>> routing information tables in each node and broadcasting them. i am not
>>> coming up to the start point of implementing a new routing algo. please
>>> help.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/implementation-of-a-new-routing-algorithm-tp34203690p34203690.html
>>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>>>
>>> ___
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/implementation-of-a-new-routing-algorithm-tp34203690p34229884.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help