[Tinyos-help] RX_QUEUE_SIZE memory problem

2012-09-19 Thread Felipe Cruz Martínez
Hi, i have made an application based in the “packetsniffer” of TKN 15.4 (located in /opt/tinyos-2.x/apps/tests/tkn154). That application has been installed in a micaz mote, which is connected through serial port (that device acts as a base station). Other devices send data frames to the base st

[Tinyos-help] Fill first 8 bytes with memcpy

2012-08-09 Thread Felipe Cruz Martínez
Hi all, i want to fill the first 8 bytes of a uint8_t* pointer with the values 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08, and send it by radio (micaz motes): This is the code of my app (App.nc): < uint8_t* pointer; call interface.funct

Re: [Tinyos-help] Information about nx_ types

2012-08-06 Thread Felipe Cruz Martínez
will try to send that struct with the nx_ form (big endian). Thanks very much, Felipe. From: Eric Decker Sent: Monday, August 06, 2012 6:10 PM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject: Re: [Tinyos-help] Information about nx_ types On Mon, Aug 6, 2012 at 5:50 AM, Felipe Cruz Martínez

[Tinyos-help] Information about nx_ types

2012-08-06 Thread Felipe Cruz Martínez
Hi, i have defined a structure with some fields as follows: typedef struct message { uint8_t type; uint8_t length; addr_t destination; addr_t source; } msg_t; If i want send that ‘message’ struct to other node, (i must get the PacketPayload of the MAC frame and fill it with the

Re: [Tinyos-help] Bad packet

2012-08-04 Thread Felipe Cruz Martínez
Hi, thank you Wasif, but it doesn’t work. The ‘bad packet’ error still appears. I’m working with micaz motes( baud rate: 57600). Which can be the source of this error? Thanks, Felipe. From: wasif masood Sent: Friday, August 03, 2012 7:07 PM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject

[Tinyos-help] Bad packet

2012-08-03 Thread Felipe Cruz Martínez
Hi all, i am a little confused. I don’t know the reason why when i add/delete a printf for debug my app, i get the following error: serial@/dev/ttyUSB1:57600: bad packet it’s very strange. When i delete the three lines that contains the event, bad packet error does not appears. <8

Re: [Tinyos-help] Always the same 64 bit address

2012-08-01 Thread Felipe Cruz Martínez
Hi, was solved the problem, writing: #define IEEE154_EXTENDED_ADDRESS 0x1234 in my app_profile.h Thanks for everything and apologize for the inconvenience, Felipe. From: Felipe Cruz Martínez Sent: Wednesday, August 01, 2012 7:28 PM To: Jan Hauer Cc: TinyOS HELP Subject: Re: [Tinyos-help

Re: [Tinyos-help] Always the same 64 bit address

2012-08-01 Thread Felipe Cruz Martínez
/version). What can i do? Thank you very much for all the help, Felipe. -Mensaje original- From: Jan Hauer Sent: Wednesday, August 01, 2012 6:11 PM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject: Re: [Tinyos-help] Always the same 64 bit address > Coordinator –> make micaz e

Re: [Tinyos-help] Always the same 64 bit address

2012-08-01 Thread Felipe Cruz Martínez
AM To: Jan Hauer Cc: TinyOS HELP Subject: Re: [Tinyos-help] Always the same 64 bit address Hi, now it works correctly. Thank you very much, Felipe. -Mensaje original- From: Jan Hauer Sent: Monday, July 30, 2012 4:49 PM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject: Re: [Tinyo

Re: [Tinyos-help] Always the same 64 bit address

2012-07-30 Thread Felipe Cruz Martínez
Hi, now it works correctly. Thank you very much, Felipe. -Mensaje original- From: Jan Hauer Sent: Monday, July 30, 2012 4:49 PM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject: Re: [Tinyos-help] Always the same 64 bit address > However, i want set the extended address w

Re: [Tinyos-help] Always the same 64 bit address

2012-07-30 Thread Felipe Cruz Martínez
help is very useful for me. -Mensaje original- From: Jan Hauer Sent: Monday, July 30, 2012 11:58 AM To: Felipe Cruz Martínez Cc: TinyOS HELP Subject: Re: [Tinyos-help] Always the same 64 bit address Hi Felipe, the supported platforms don't have a unique 15.4 extended address

[Tinyos-help] Always the same 64 bit address

2012-07-29 Thread Felipe Cruz Martínez
Hi, i have installed the app TestAssociate located in ../tinyos-2.1.1/apps/tests/tkn154/nonbeacon-enabled and i’ve got the following problem: In the coordinator app, when MLME_ASSOCIATE.indication is signaled (indicating that a new association request has arrived), i print the extended address

[Tinyos-help] Programmer is not responding

2012-07-22 Thread Felipe Cruz Martínez
Hi, I’m using a MIB520 programming board and micaz motes. when i try to install any app from .../opt/tinyos-2.x/apps/tests/ i get the following error: Programmer is not responding. In order to install any app, i type: $ make micaz install mib520,COM4 (I also tried changing COM4 for COM3, but

[Tinyos-help] RSSI in TKN154

2012-07-20 Thread Felipe Cruz Martínez
Hi, I would like calculate the RSSI measurement in IEEE 802.15.4 TinyOS implementation (TKN154) whose libs are located at "/tos/lib/mac/tkn154" and test applications at "/apps/tests/tkn154" directories. In the file “TKN154_MAC.h” located at "/tos/lib/mac/tkn154” exists a 8 bits variable for st

[Tinyos-help] RSSI in TKN154

2012-07-20 Thread Felipe Cruz Martínez
Hi, I would like calculate the RSSI measurement in IEEE 802.15.4 TinyOS implementation (TKN154) whose libs are located at "/tos/lib/mac/tkn154" and test applications at "/apps/tests/tkn154" directories. In the file “TKN154_MAC.h” located at "/tos/lib/mac/tkn154” exists a 8 bits variable for st

[Tinyos-help] Link Quality indicator (LQI)

2012-07-11 Thread Felipe Cruz Martínez
Hi, The LQI measurement is a characterization of the strength and/or quality of a received packet. The LQI measurement shall be performed for each received packet, and the result shall be reported to the MAC sublayer using PD-DATA.indication (see 6.2.1.3 Std. 802.15.4) as an integer ranging fr

[Tinyos-help] syntax error (easy)

2012-02-22 Thread Felipe Cruz Martínez
Hello, I’m sure that it is an error very easy to resolve... Code: [...] [110]typedef frameCtrl_t* frmCtrl_rx; [111]ieee802155cmd_t* WNRx = (ieee802155cmd_t*)payload; [112]frmCtrl_rx = call FrameControl.getFrmCtrlFields((nx_uint16_t)WNRx->FrmCtrl); [...] (Func