Hi,
I am currently designing a authentication protocol in sensor networks. I
have defined the follwoing variables:
//on the sender side:
uint64_t hash=0;
uint8_t payload[8];
//break the 64 bit hash down into eight 8-bit paylaod for sending purpose
for(i=0;i=10;i++){
Hi,
Last time I talked to Razvan, and I forgot to mention this similar problem
as well.
I used MicaZ and MIB520 to test the Deluge. When you connect the MIB520 to
PC, it will show two COM#. For example, COM3 and COM4. You only can use
ttyS3 not ttyS(3-1) to inject this image. But the rest of
:* tinyos-help-boun...@millennium.berkeley.edu [mailto:
tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *BAI LI
*Sent:* Friday, September 11, 2009 5:31 PM
*To:* Michael Schippling
*Cc:* Tinyos-Help
*Subject:* Re: [Tinyos-help] motelist doesn't work
Hi,
I didn't use moteworks
is the only
indicator of actual version that I've uncovered. I'm not sure
what you mean about iris using motelist commands, did you try
that program with your micas to no effect?
MS
BAI LI wrote:
Hi,
I never use moteworks. I heard moteworks only supports tinyos1.x not 2.1.
But it is interesting
!
On Thu, 10 Sep 2009, BAI LI wrote:
Hi,
Thanks for your reply.
Yes. I am using MIB520 as well. But i just can't work it out. So if
anyone
in this list 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
Hi Razvan,
When I typed echo $PYTHONPATH, the computer didn't show me anything. What
do you think? I will try it tomorrow at office and let you know. Thanks.
Regards,
Bai
On Wed, Sep 9, 2009 at 3:22 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote:
Hi!
On Wed, 9 Sep 2009, BAI LI wrote
Hi,
Recently I tested my code on micaz. When I typed motelist commande, It said
no device found. But I am able to compile and burn the code on micaz. The
mote works fine. When i pluged the telosb node back to the pc, it can
display the COM# properly. I have searched the keyword motelist, i can
You mean the app.c file?
On Wed, Sep 9, 2009 at 12:54 PM, Eric Decker cire...@gmail.com wrote:
that might be a tool chain problem. I would recommend looking at the code
generated.
eric
On Tue, Sep 8, 2009 at 7:42 PM, BAI LI libai0...@gmail.com wrote:
Hi Michael,
Thanks for your reply
Hi,
I have followed the intructions from the Deulge tutorial and also installed
pyserial tools as required. I met the following error when i tried to inject
blink image to micaz
administra...@jujumao /opt/tinyos-2.x/apps/tests/deluge/Blink
$ tos-deluge /dev/ttyS5:115200 -i 1
...@cs.jhu.eduwrote:
Hi!
On Wed, 9 Sep 2009, BAI LI wrote:
Hi,
Since Deluge manual doesn't provide any micaz install command. It could be
something wrong with the command I typed. But i tried different
combination.
It still had the same error. So I reckon it has nothing to do with this
command
On Wed, Sep 9, 2009 at 2:43 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote:
Hi!
On Wed, 9 Sep 2009, BAI LI wrote:
Hi,
That is the manual I am using. All the stuffs are latest. Not too sure
where
it went wrong.
I tried the command you suggested already. No luck. Have you tried
Hi,
I have developed a hash function recently on telosb. Now I tested it on
micaz. When I compiled the program on telosb, there is no warning or errors.
However, when it comes to micaZ nodes, it gave me a warining:
squashm.nc:70: warning: integer constant is too large for 'long' type
The 70th
the
files sitting in ...lib/tosboot, is that correct?
Regards,
Bai
On Wed, Aug 19, 2009 at 2:20 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote:
Hi!
On Wed, 19 Aug 2009, BAI LI wrote:
Hi,
I am testing the zigbee files under tinyos 2.x directory and tried to get
deluge working as well. I got
familiar with
how to use makefiels. Can someone help me out please? Thanks in advance.
Regards,
Bai
On Wed, Aug 19, 2009 at 2:20 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote:
Hi!
On Wed, 19 Aug 2009, BAI LI wrote:
Hi,
I am testing the zigbee files under tinyos 2.x directory and tried to get
Hi,
I am testing the zigbee files under tinyos 2.x directory and tried to get
deluge working as well. I got the following errors after I added components
DelugeC; in AssociationExample.nc and BOOTLOADER=tosboot in Makefile. I
have also copied volumes-stm25p.xml in the AssociationExample folder.
, I'm a luddite. I should think that there is a similar
interface in T2. Did you try searching for SetRFPower and
such like?
MS
BAI LI wrote:
Hi,
Thanks for your reply. But sorry for the confusion. I mean how to do it
in TinyOS2.1 not TinyOS1.x. Thanks.
Regards,
Bai
On Tue, Jun 30
Hi,
I went through some posts in the list and most of them talked about how to
set the RF power in tinyOX 1.x. I am just wondering if anyone knows how to
set the RF power level dynamically in the code instead of adding some flag
in the makefile? I know in 1.x, i have to use CC2420Control
between 1 and 31
*
* @result SUCCESS if the radio power was adequately set.
*
*/
command result_t SetRFPower(uint8_t power);
MS
BAI LI wrote:
Hi,
I went through some posts in the list and most of them talked about how
to set the RF power in tinyOX 1.x. I am just wondering
Hi,
Every time, I install the application on nodes and I have to do it one by
one. Or I can use deluge to spread application image to the rest of nodes. I
am just wondering if it is possible to install one program on several nodes
through usb hub? Anyone done that before? Should I write up a
...@santafe.eduwrote:
I believe the first timer2 fire will be at 12000,
since it gets started on the first 2000 REPEAT fire.
However at that point timer1 will also fire and
you will start getting overlapping events as both
timers will effectively be on 2000 REPEAT cycles.
MS
BAI LI wrote
Hi,
I am confused about the timer strucuture. someone could clarify it for me?
Thanks.
In the following code,
call Timer1.start(TIMER_REPEAT,2000);
event result_t Timer.fired(){
call Timer2.start(TIMER_ONE_SHOT,1);
}
***
so the timer1 is triggered
Hi All,
Sorry for this inproper ad. I am currently doing a DSD funded project about
security mechanism in Melbourne, Australia. Is there any other sensor
network developer in Australia who is interested in this project? If so,
Could you send me a message and discuss with me further please? Thanks
I think you are looking for this:
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x-contrib/contrib.html
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
Hi,
Can anyone tell me how to use VirtualizeTimerC component instead of
TimerMilliC? I have done sth like the folllowings: I am trying to set up
three timers
*Configuration file:*
components App;
components new VirtualizeTimerC(TMilli,3) as Timer0;
App.Timer0 - Timer0;
*Application file:*
Anyone can help me out?
On Wed, Mar 11, 2009 at 6:08 PM, BAI LI libai0...@gmail.com wrote:
Hi,
Can anyone tell me how to use VirtualizeTimerC component instead of
TimerMilliC? I have done sth like the folllowings: I am trying to set up
three timers
*Configuration file:*
components App
Dear Jan amd TinyOS community,
I am working on the hash message transmission part of the Australia
government funded project. However I experienced some odd probelms related
to the interfaces you developed. Could you help me out what is wrong? I
can't see any problems. It could be something wrong
at
https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-August/027578.html
Cheers,
Allan
On 12/03/2009, at 4:27 PM, BAI LI wrote:
Dear Jan amd TinyOS community,
I am working on the hash message transmission part of the Australia
government funded project. However I
Hi,
I know it may sound like a very simple problem but I am totally confused.
I have an array here:
uint8_t array[4]={0x11,0x22,0x33,0x44};
when I pass this array in the command I called. I got some warning. I can't
understand it.
call abc(x[4]);
I got the warning:
warning: passing argument
Hi,
sorry I was trying to make the code easy understanding. The code is like the
following. I am trying to manipulating some hash code.
I didn't use the point structure for array x[];
sha1.h file=
typedef struct SHA1Context
{
uint32_t Message_Digest[5]; /* Message Digest
to
..., uint8_t* message_array, ...
So comments that Roy and I previously made still apply. You can get more
info from the C FAQ: http://c-faq.com/aryptr/aryptrparam.html
Cheers,
Allan
On 9/03/2009, at 2:12 PM, BAI LI wrote:
Hi,
sorry I was trying to make the code easy understanding
Hi,
I am just wondering how NesC compiler optimizes the computation for a*a and
a % n. Could you point out some references I can have a look at please?
Thanks in advance.
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
HI,
Sorry i misunderstood it. It worked now. Thanks for your help.
Regards,
Bai
On Mon, Mar 9, 2009 at 12:28 PM, BAI LI libai0...@gmail.com wrote:
Hi,
Yes, I know.
But in the command defination, I put uint8_t message_array[4], not uint8_t
*message_array as the passing parameter
to 35 in message.h.
Try add:
CFLAGS += -DTOSH_DATA_LENGTH=35
in your Makefile.
Please let me know how it goes.
Ittipong
2009/3/4 BAI LI libai0...@gmail.com
Hi All,
I am currenting doing a very simple network test. I designed the message
structure in .h file and some sending
Hi,
I am just wondering if anyone knows which company sells the zigbee protocol
stack based on tinyos2.x? Thanks in advance.
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
Hi All,
I am currenting doing a very simple network test. I designed the message
structure in .h file and some sending functions in the following.
typedef nx_struct HashMsg {
nx_uint16_t nodeid;
nx_uint8_t flag;
nx_uint32_t payload_MD1;
nx_uint32_t payload_MD2;
nx_uint64_t
Hi All,
I just designed a small test for my project to collect the data.
In the .h file, i have a struct like this
typedef nx_struct HashMsg {
nx_uint16_t nodeid;
nx_uint8_t flag;
nx_uint64_t payload_hash;
nx_uint64_t payload_M;
nx_uint64_t payload_R;
nx_uint16_t payload_ID;
}
Hi All,
When you compile the program in TinyOS, it will show you the Rom and Ram
size in the compiling infor. I am just wondering wat factors determine both
rom and ram size. As I developed two hash functions however when i did the
comparison. They don't have much difference on the size of rom
!
On Thu, 19 Feb 2009, BAI LI wrote:
Hi All,
When you compile the program in TinyOS, it will show you the Rom and Ram
size in the compiling infor. I am just wondering wat factors determine
both
rom and ram size. As I developed two hash functions however when i did the
comparison. They don't
Hi,
you need to specify your problem then we can help you.
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Hi,
Thanks for your solution. It is a method. But when you use UNION structure,
every time you only can store one varialbe in that UNION structure. You have
to overwrite that memory address Which made it a bit inconvenience. BUt it
is a good method when you break a 64 bits message into two 32
;
sprintf(sql,%I64x,var1); //not L. Upper case of i[ai]...
sprintf(sql,%I64d,var1);
Best regards,
K.S.Lee
2009/2/5 BAI LI libai0...@gmail.com
Hi All,
I have defined a uint64_t type variable as follows:
uint64_t a;
a=0x;
printf(a= %lld /n,a);
printf(a= %llx /n
Hi Andrey,
I just tested it. it didn't work though. What the flag you used in printf?
Is that llx? Right? It still displayed low 32 bits. Confusing.
Regards,
Bai
On Fri, Feb 6, 2009 at 3:27 AM, Andrey Gursky andrey.gur...@online.uawrote:
Bai, you should explicit write ULL at the end of the
Hi,
I think your second step was not correct. You should not flag the telosb
with base station since your micaz was working as base station now. you can
normally install Goldimage on telosb with an id.
Regards,
Bai
___
Tinyos-help mailing list
Hi All,
I have defined a uint64_t type variable as follows:
uint64_t a;
a=0x;
printf(a= %lld /n,a);
printf(a= %llx /n,a);
the result displayed as follows:
a= -1
a=
The compilation didn't show any error. What is the problem? Does printf
support to display the uint64_t
Hi All,
I found the code as follows in CounterToLocalTimeC file,
generic module CounterToLocalTimeC(typedef precision_tag) @safe()
{
provides interface LocalTimeprecision_tag;
uses interface Counterprecision_tag,uint32_t;
}
implementation
{
async command uint32_t LocalTime.get()
{
functions -- try
using powf and sqrtf
Rob
On Tue, Jan 27, 2009 at 3:24 PM, BAI LI libai0...@gmail.com wrote:
HI,
I was trying to use math.h file sitting in the MSP folder to run some
sqrt
and pow functions. But once I include the file math.h it told me
undefined
reference to sqrt
HI,
I was trying to use math.h file sitting in the MSP folder to run some sqrt
and pow functions. But once I include the file math.h it told me undefined
reference to sqrt and pow. The errors shown in the following:
$ make telosb
mkdir -p build/telosb
compiling TestAesAppC to a telosb binary
Hi,
I just ran a small test by defining a uint64_t type. And I tried to use
printf to print out this variable. But it didn't work. May I konw why? Is
that becasue the Telosb only support 32 bits? But when I define this
uint64_t type, it didn't pop up any error.
Regards,
Bai
that is because the routines are actually implemented in a
library. You'll have to poke around and see what libraries are available.
The normal libgcc.a library provided for the msp430 toolchain doesn't have
these routines in them.
eric
On Tue, Jan 27, 2009 at 3:24 PM, BAI LI libai0
Hi,
The voltage level for reboot can be changed right? Where can I find the
file defined and change it? Thanks
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
Hi All,
After the compilation of nesC application, it generated a ihex file. When I
open this file by eidtor, i got the following information:
:104AB240805A20013F40D8533E4000113D4003
:104A12110D9E0524FE4F1E530E9DFB2B20
:104A20003F4002113D4023110D9F0524CF435C
Hi,
I have a question regarding to the Deluge. Normally when the port ID is less
than 10, I can install the application with base station flag and inject the
program later. But when the port number become bigger, i still can install
the application with base station flag but fail to inject the
Hi Jeena,
I am not too sure if i understand your questions well. But you need to make
sure the running program on remote motes includes DelugeC component.
Otherwise it won't reprogram for the second time. there is no such unlock
command needed in order to get remote motes working.
Cheers,
Bai
modified hardware (e.g.
external antenna)? Do you at least observe a difference in the TX range
(e.g. 20m instead of 50m)?
Cheers,
Urs
BAI LI wrote:
I just tested it. Same here. Not working. Thanks for your help anyway.
Any
other ideas?
Cheers,
Bai
On Wed, Dec 17, 2008 at 12:59 PM
change
in order to decrease the transimission distance. I am confused. Anyone who
has experience, please help me. THanks in advanced.
On Tue, Dec 16, 2008 at 11:16 AM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote:
Hi!
On Mon, 15 Dec 2008, BAI LI wrote:
Hi All,
Anyone can tell me where to modify
I did changed the RFPOWER variable from 31 to 1. But nothing happened. I
expected the nodes can't talk to each other out of 5 meters. But they can
even communicate with each other in 15 meters ranges. What is wrong?
Bai
On Tue, Dec 16, 2008 at 11:57 PM, fh...@c3sl.ufpr.br wrote:
Yeap, if you
CC2420 Data Sheet.
Thanks,
On Tue, Dec 16, 2008 at 2:47 PM, BAI LI libai0...@gmail.com wrote:
Yes, i modified the code. the default value of REPOAWER is 31 at the
maximum in Tinyos1.15. Then I changed it to 1. I believe nothing changed.
The node still can communicate with other nodes
...@ic.sunysb.edu wrote:
If you can post the piece of the code, it maybe easier to point out.
BAI LI wrote:
I did changed the RFPOWER variable from 31 to 1. But nothing happened. I
expected the nodes can't talk to each other out of 5 meters. But they can
even communicate with each other in 15 meters
I just tested it. Same here. Not working. Thanks for your help anyway. Any
other ideas?
Cheers,
Bai
On Wed, Dec 17, 2008 at 12:59 PM, Hui Kang huk...@ic.sunysb.edu wrote:
Add this line to your makefile and remove those macro.
CFLAGS=-DCC2420_DEF_RFPOWER=3
- Hui
BAI LI wrote:
I read
Hi All,
Anyone can tell me where to modify the power level in tinyos 1.x and tinyos
2.x? Thanks in advance.
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
Thanks for your reply. I read the post on the interest to set the power
level in order to havce multihops as currently my telosb node could reach
other nodes 50 meters away. I made it impossible to test two hop
application. I suppose this transmissino power is the right one? Is that
correct?
BAI LI wrote:
Hi All,
I am following Deluge 2.0 quick start. I got the following errors as
follows. Any ideas on how to fix them? I am using Tinyos1.15 and telosb
nodes as our project application is developed based on this version. I can't
use Tinyos2.x instead. Any help would be highly
directly to the UART channel.
I'm not sure why your MOTECOM won't accept telosb,
I've only used tmote...there may be some other special name.
More searching in code and doc is indicated.
Also try ListenRaw which doesn't try to parse anything.
MS
BAI LI wrote:
Hi Michael,
Thanks
BAI LI wrote:
Well I just installed the tinyos2.0 basestation and Oscope application on
telosb motes and I can see Basestation is receiving the mesage but When i
plug the base to tinyos1.15 laptop, running sf and listen tools. it didn't
work either. I guess it didn't support telosb motes
Hi All,
I am just wondering if there is any random() functions in Tinyos1.15? I put
an interface random and using a timer as follows
call Timer_send.start(TIMER_REPEAT,rand() * 0xff);
after I compile it, there is no error. But it doesn't seem to be random when
mote sends the message. Any ideas?
Hi All,
I have another question. How big of program I can inject in the mote. I am
using Telosb mote. From datasheet, I can see 8MHz Texas Instruments MSP430
microcontroller (10k RAM, 48k Flash). It means I have 48k to store my
program. If My current program is 20k, I only can inject 28k for new
Hi All,
I am following Deluge 2.0 quick start. I got the following errors as
follows. Any ideas on how to fix them? I am using Tinyos1.15 and telosb
nodes as our project application is developed based on this version. I can't
use Tinyos2.x instead. Any help would be highly appreciated.
Bai
Hi All,
I am working on a network application which implemented based on 802.15.4
protocols. I normally test the network by plugging in the motes to my laptop
and observe the printf statement to debug the network. How are you guys
doing for testing? Is there any easier way to test the network?
Hi All,
I am currently implementing the applications based on this protocols. Now I
am trying to implement the receive functions. In the manual, it said:
The SFD pin going high means that the transceiver is starting to receive a
frame.
If the frame check sequence is ok (hardware condition,
, BAI LI wrote:
Hi All,
I have encountered a problem. When I use tos-deluge commande it always
pops
up these error message. I am not able to understand it. Please someone can
help me? I have install the latest tinyOS files. Many thanks.
error shown:
Pinging node ...
Traceback (most recent
/python2.5/site-packages/serial/serialposix.py, line 361,
in wr
ite
if self.fd is None: raise portNotOpenError
serial.serialutil.SerialException: Port not open
Regards,
Bai LI
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https
Hi,
I am newbie. just wondering if there is any available debug tools for tinyos
network debug except printf? I know TOSSIM is only for single node
application. I can't use TOSSIM. Rite? Could anyone suggest me some software
debug tools? Thanks.
___
Hi All,
I am having problems with serial forwards. I am using telosb motes. when i
type
[EMAIL PROTECTED] /opt/tinyos-2.x/apps/Oscilloscope/java
$ java net.tinyos.sf.SerialForwarder
the serial forwarder window pops up but it didn't display any data only num
clinets changed to 1
here is the
73 matches
Mail list logo