[Tinyos-help] not Blink

2011-11-28 Thread zhengxiangwei
Hi, I meet a weird problem. (My computer is in Linux Ubuntu 10.04 and tinyos-2.1.1) When I install Blink on a mote, like following zxwmit@ubuntu:/opt/tinyos-2.1.1/apps/Blink$ make micaz reinstall mib510,/dev/ttyUSB0 cp build/micaz/main.srec build/micaz/main.srec.out installing micaz

[Tinyos-help] Ack setting in CC2420

2011-11-25 Thread zhengxiangwei
HI, I was testing SW and HW ack in micaz node. According to http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg18133.html and CC2420 stack, I add call PacketAcknowledgements.requestAck to setup SW ack. I add CFLAGS +=-DCC2420_HW_ACKNOWLEDGEMENTS in my make file,

[Tinyos-help] one bug in C C2420

2011-11-14 Thread zhengxiangwei
Hi, I am running tinyos on micaz with Hardware ack(open packetlink layer to retransmit) . I find a a problem. When CC2420 transmit a packet, m_state turns S_SFD and then break. When node receive a new packet m_state turns to S_EFD and S_ACK_WAIT. In this way As node is not in

[Tinyos-help] two source files specified (PLATFORM_MICAZ and BOARD_MICASB)

2011-11-14 Thread zhengxiangwei
hi, I install tinyos in ubuntu 11.10. however there is a problem when make micaz cosim in Blink. two source files specified (PLATFORM_MICAZ and BOARD_MICASB) seems a new problem. Is there any solution for that? Thank you .

[Tinyos-help] hardware and software ack in CC2420

2011-11-02 Thread zhengxiangwei
Hi, I am reading the code of CC2420. I do not understand the difference between hardware and software ack. And also I am wondering which part in CC2420 responsible for generating ack frame. Thank you.

[Tinyos-help] generate message in tossim

2011-10-10 Thread zhengxiangwei
Hi , Excuse me. I'm trying to add some function into tossim. Does anyone knows where the orignial message generate? Now I just found files such as AMPacket and Packet, which handle the message transmission. I cannot find the files generates the original message. If you know this, can you

[Tinyos-help] why hold ack

2011-10-04 Thread zhengxiangwei
hi everyone, excuse me i am reading the code of TOSSIM this is the code in CpmModelC.nc in tinyos-2.1.1/tos/lib/tossim/CpmModelC.nc 00177 void sim_gain_ack_handle(sim_event_t* evt) { 00178 // Four conditions must hold for an ack to be issued: 00179 // 1) Transmitter is

[Tinyos-help] dbg in TOSSIM

2011-09-29 Thread zhengxiangwei
hi excuse me there is a code dbg(TossimPacketModelC, PACKET: Broadcasting packet to everyone.\n); I know it will print PACKET: Broadcasting packet to everyone.\n But I do not know the how the other .nc files are called by dbg or can you tell me the source code of dbg so that i can figure

[Tinyos-help] help *** No rule to make target 'micaz'. Stop

2011-09-20 Thread zhengxiangwei
hisorry to bother.i am learning to use tinyOS this weeki follow steps tossim wiki but i met a problem. when i am runing $ cd Blink $ make micaz sim it responds *** No rule to make target 'micaz'. Stopi google it.some solution is to export MAKERULES=/opt/tinyos-2.1.0/support/make/MAKERULES or