[Tinyos-help] message struct and send ack problem

2011-10-22 Thread Amin Amin
Hi all, I kindly ask you to help me with the following problem: 1) NODE A: send an message to node B --->pair_msg 2) NODE B: after receiving answer from A, must send Ack message to node B.--->ack-msg The messages structure are: typedef nx_struct pair_msg { nx_uint16_t src_add_msg; nx

[Tinyos-help] message structure

2011-10-22 Thread Amin Amin
Hi all, I have message would sended this structure as follow: typedef struct nx_msg { nx_uint8_t x[N]; nx_uint8_t y[N]; } pub_key_msg; The problem is the message not sended, but when use one array he is sended as follow: typedef struct nx_msg { nx_uint8_t x[N]; } pub_key_msg; More, i

Re: [Tinyos-help] [TinyOS-Help] size of code in ram or flash?

2011-10-22 Thread João Gonçalves
Thanks for your anwsers. Mydoubt was if the code was being executed from ram or rom(flash). because I need to know if the flash is consumig energy even if i dont volunterely write anything in it. Em 2011/10/21 04:59, "Jino Sebastian" escreveu: Hi, Use command msp430-size to see the different se

Re: [Tinyos-help] tinyos compilation error :fatal error: Python.h: No such file or directory

2011-10-22 Thread Mohammad Nabil
Rafael de Oliveira Costa gmail.com> writes: > > > Hi,after install python-dev, verify PYTHON_VERSION variable in /opt/tinyos-2.1.1/support/make/sim.extra. here i'm using python 2.6 so this variable is set like PYTHON_VERSION=2.6. > > > Rafael de Oliveira Costa, M.Sc. StudentPPGI - UFRJ > > R

[Tinyos-help] java TestSerial doesn't have ouput

2011-10-22 Thread Toni Almagro Corpas
Hi, I am a student of Barcelona University and I have problems with the TestSerial. The only output that I can see is: toninux@toninux-VirtualBox:/opt/tinyos-2.x/apps/tests/TestSerial$ java TestSerial -comm serial@/dev/ttyUSB0:115200 Sending packet 0 serial@/dev/ttyUSB0:115200: resynchronising