[Tinyos-help] Why plus 0x7f when read rssi in CC2420ControlP.nc?

2009-04-01 Thread SANG Junjun
ReadRssi.readDone(SUCCESS, data); 405 } And I want to know why plus 0x7f. Thank you very much. -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to get SNR use telosb?

2009-03-25 Thread SANG Junjun
Hi, I'd like to get SNR value use telosb mote. But I only know how to get rssi value. Can you tell me how to get SNR value ? Thanks. -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https

[Tinyos-help] Fwd: How to know if a simulation is finished in TOSSIM?

2008-08-16 Thread SANG Junjun
Thanks -- Forwarded message -- From: SANG Junjun [EMAIL PROTECTED] Date: Sun, Aug 17, 2008 at 9:45 AM Subject: How to know if a simulation is finished in TOSSIM? To: Philip Levis [EMAIL PROTECTED] -- Best Regards, SANG JUNJUN

[Tinyos-help] Can't use Python SDK in windows

2008-07-08 Thread SANG Junjun
, in __init__ AttributeError: 'module' object has no attribute 'fork' -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to make two nodes always connected in TOSSIM?

2008-04-23 Thread SANG Junjun
How can I make two node always connected in TOSSIM? -- Best Regards, SANG JUNJUN http://www.tinysys.cn/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Is transmitted packet size fixed or variable?

2008-03-31 Thread SANG Junjun
://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- ~Kevin ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, SANG JUNJUN http

[Tinyos-help] external Crystal Oscilloscope (MSP430)

2008-03-24 Thread SANG Junjun
. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, SANG JUNJUN http://www.tinysys.cn/ ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] Where can I set an external crystal oscillator for msp430?

2008-03-06 Thread SANG Junjun
Hi, everyone In our hardware, there is an external crystal oscillator. I want to know how to tell msp430 to use it in T2? Thanks. -- Best Regards, SANG JUNJUN http://www.tinysys.cn/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] using math.h in tinyos 2 for telosb or micaz

2007-12-11 Thread SANG Junjun
? (Platform dependant?) I would greatly appreciate your help. prashan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, SANG JUNJUN

Re: [Tinyos-help] using math.h in tinyos 2 for telosb or micaz

2007-12-11 Thread SANG Junjun
_REENT_ONLY block which may or may not be def'ed... And for the AVR: usr/avr/include/math.h has: extern double sqrt(double __x) __ATTR_CONST__; although I thought the ATMEGA only supported floats as well... MS SANG Junjun wrote: It seems that there is no sqrt support for msp430

[Tinyos-help] How to use real sensor data in simulation?

2007-12-05 Thread SANG Junjun
How can I use some real sensor data (e.g intel lab data) while I'm simulating a data aggregation application? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin

[Tinyos-help] how to print simulation time

2007-12-05 Thread SANG Junjun
How can I print a simulation time before every dbg message using tossim? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Re: Packet loss problem

2007-11-27 Thread SANG Junjun
-help -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to set value at install time

2007-10-25 Thread SANG Junjun
Is it possible to set some value at the install time? just like TOS_NODE_ID for example, when we install a program, we type make platform install,1 ... then TOS_NODE_ID is set 1. -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] how to set value at install time

2007-10-25 Thread SANG Junjun
mote app Makefile, do ifdef MY_COMPILE_ARG CFLAGS += -DMY_AT_COMPILE=$(MY_COMPILE_ARG) endif 3) When you compile, do --- make telosb MY_COMPILE_ARG=5 --- This will work. Does anyone know shorter way? Thanks - jpaek SANG Junjun wrote: Is it possible to set some value

Re: [Tinyos-help] how to set value at install time

2007-10-25 Thread SANG Junjun
But what I want is not at compile time, but at install time. So I can reinstall my program in another node without compile again. On 10/25/07, SANG Junjun [EMAIL PROTECTED] wrote: This is a good suggestion. Thanks. On 10/25/07, Jeongyeup Paek [EMAIL PROTECTED] wrote: you can do

Re: [Tinyos-help] how to set value at install time

2007-10-25 Thread SANG Junjun
Yes, I found the script tos-set-symbols. Thank you very much. On 10/25/07, Kevin Klues [EMAIL PROTECTED] wrote: Then you will have to do something similar to what I suggested. tos-set-symbols will change the values in the binary ihex file. Kevin On 10/25/07, SANG Junjun [EMAIL PROTECTED

[Tinyos-help] Fwd: Porting Tinyos To A New Hardware Platform

2007-10-18 Thread SANG Junjun
-- Forwarded message -- From: mejda chouaieb [EMAIL PROTECTED] Date: Oct 19, 2007 1:07 AM Subject: Porting Tinyos To A New Hardware Platform To: SANG Junjun [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Hello Mr SANG Junjun , First of all, thank you for help. I have an other question

Re: Re : Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-13 Thread SANG Junjun
? - Message d'origine De : SANG Junjun [EMAIL PROTECTED] À : mejda chouaieb [EMAIL PROTECTED] Cc : tinyos-help@millennium.berkeley.edu Envoyé le : Vendredi, 12 Octobre 2007, 4h49mn 41s Objet : Re: Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform I mean

Re: Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-12 Thread SANG Junjun
=10 and I have : C:\jennic\drivers\FTDI_drivers\WinXP If you have any direction as to what a good starting point would be, I would greatly appreciate it. Thanks, Mejda CHOUAIEB - Message d'origine De : SANG Junjun [EMAIL PROTECTED] À : mejda chouaieb [EMAIL PROTECTED] Cc

Re: Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread SANG Junjun
- Message d'origine De : SANG Junjun [EMAIL PROTECTED] À : mejda chouaieb [EMAIL PROTECTED] Cc : tinyos-help@millennium.berkeley.edu Envoyé le : Mercredi, 10 Octobre 2007, 15h19mn 13s Objet : Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform We have ported T2 to Hawk

Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread SANG Junjun
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread SANG Junjun
I think you should develop drivers for JN5139 first. On 10/10/07, mejda chouaieb [EMAIL PROTECTED] wrote: JN5139 Wireless Microcontroller (IEEE802.15.4 and ZigBee) - Message d'origine De : SANG Junjun [EMAIL PROTECTED] À : mejda chouaieb [EMAIL PROTECTED] Cc : tinyos-help

Re: [Tinyos-help] Problem running Tutorial 11 Tinyos 2

2007-10-03 Thread SANG Junjun
. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] packet size of CC2420

2007-08-19 Thread SANG Junjun
what is the max packet size CC2420 can send/receive at one time? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] The power consumed

2007-08-15 Thread SANG Junjun
is that the power consumption is based off an average for the particular mode the Atmel128L is in. Yours, Graham Healy On 8/12/07, SANG Junjun [EMAIL PROTECTED] wrote: I also want to know how to measure the power of a real node Thanks. On 8/11/07, bou ahm [EMAIL PROTECTED

[Tinyos-help] serial Communication problem

2007-08-13 Thread SANG Junjun
01 22 06 04 00 06 00 02 00 05 It looks like there is a packet cached by the serial program. Our node is a msp430-based platform. In mica2, this problem doesn't happen. -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] can't open TEP 127: Packet Link Layer

2007-08-10 Thread SANG Junjun
I can't open this link to TEP 127: http://www.tinyos.net/tinyos-2.x/doc/html/tep127.html Does this page exist? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin

[Tinyos-help] Can not open TinyOS Publications page

2007-06-29 Thread SANG Junjun
http://webs.cs.berkeley.edu/users/nestfr/nestfr_paper_display.php -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: TelosB temperature sensor

2007-05-24 Thread SANG Junjun
I think it should be new SensirionSht11C() This is the interface for Temperature and Humidity sensor implementation of TelosB: generic configuration SensirionSht11C() { provides interface Readuint16_t as Temperature; provides interface DeviceMetadata as TemperatureMetadata; provides

[Tinyos-help] how can i get a duty cycle from a pin

2007-05-22 Thread SANG Junjun
hi, everyone I am now using ADXL202 to measure the acceleration. The output of ADXL202 is encoded in duty cycle. And the output is connected to a pin of msp430 MCU. How can i get this duty cycle ? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing

[Tinyos-help] What's wrong with my BlockWrite code?

2007-05-10 Thread SANG Junjun
This is a simplest test. But It seems that only the erase operation works in mica2. I don't know why. RandRWAppC.nc: #include StorageVolumes.h configuration RandRWAppC { } implementation { components RandRWC, new BlockStorageC(VOLUME_BLOCKTEST), MainC, LedsC, PlatformC, RandomC;

[Tinyos-help] Fwd: Question about HplAt45dbByte.waitIdle() and command bool HplAt45dbByte.getCompareStatus()

2007-04-26 Thread SANG Junjun
-- Forwarded message -- From: SANG Junjun [EMAIL PROTECTED] Date: Apr 22, 2007 4:15 PM Subject: Question about HplAt45dbByte.waitIdle() and command bool HplAt45dbByte.getCompareStatus() To: David Gay [EMAIL PROTECTED] Hi, David In file: tinyos-2.x/tos/platforms/mica2/chips/at45db

[Tinyos-help] what is platform.h for?

2007-04-25 Thread SANG Junjun
I have just updated my T2 to 2.0-1. And I found platform.h under every platform's folder。 What is this file for? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin

[Tinyos-help] Question about at45db

2007-04-17 Thread SANG Junjun
In file /tinyos-2.x/tos/platforms/mica2/chips/at45db/HplAt45dbIOC.nc why use Int2? HplAt45dbIOP.InInterrupt - HplAtm128InterruptC.Int2; -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https

[Tinyos-help] What's this sentence for in HplAt45dbIOC.nc

2007-04-12 Thread SANG Junjun
There is a sentence in the file tos/platforms/mica2/chips/at45db/HplAt45dbIOC.nc, line39 HplAt45dbIOP.InInterrupt - HplAtm128InterruptC.Int2; What does this mean? Can we use Int3 or Int4? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list

[Tinyos-help] Is there any mac protocol in tinyos2.x?

2007-04-04 Thread SANG Junjun
Is there any mac protocol in tinyos2.x? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] What's the meaning of MSP430mspgcc in jtag.py?

2007-04-01 Thread SANG Junjun
or directory and I found this in jtag.py: MSP430mspgcc = ctypes.cdll.MSP430mspgcc Does this MSP430mspgcc mean '/opt/msp430/lib/libMSP430mspgcc.*' or something else? -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] Anyone using tinyos2.0 under Ubuntu Edgy?

2007-04-01 Thread SANG Junjun
object file: No such file or directory -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: problem about jtag

2007-03-30 Thread SANG Junjun
object file: No such file or directory On 3/30/07, SANG Junjun [EMAIL PROTECTED] wrote: hi,everyone When I try to install TinyOS2.0 using jtag, there is some error like this: msp430-objcopy --output-target=ihex build/hawk/main.exe build/hawk/main.ihex writing TOS image cp build/hawk

[Tinyos-help] problem about jtag

2007-03-29 Thread SANG Junjun
, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Can't find neither _parjtag nor ctypes. No JTAG backend available.

2007-01-20 Thread SANG Junjun
*** -- Best Regards, SANG JUNJUN ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problems using BlinkToRadio on mica2, tinyOS2.0

2007-01-16 Thread SANG Junjun
Hi, I loaded \opt\tinyos-2.x\apps\tutorials\BlinkToRadio in 2 mica2 motes just as lesson 3 said. But it doesn't work. And then I tried to check if the packet was sent and received successfully. The sendDone() shows the packet was successfully sent. But It can't receive any packet. Does

Re: [Tinyos-help] problems using BlinkToRadio on mica2, tinyOS2.0

2007-01-16 Thread SANG Junjun
Thanks. But can you tell me where can I find the options for frequencies? I didn't find it in CC1000Const.h. On 1/17/07, Philip Levis [EMAIL PROTECTED] wrote: On Jan 16, 2007, at 3:48 AM, SANG Junjun wrote: Hi, I loaded \opt\tinyos-2.x\apps\tutorials\BlinkToRadio in 2 mica2 motes just

Re: [Tinyos-help] problems using BlinkToRadio on mica2, tinyOS2.0

2007-01-16 Thread SANG Junjun
you mean this? CC1K_433_002_MHZ = 0x00, CC1K_915_998_MHZ = 0x01, CC1K_434_845_MHZ =0x02, CC1K_914_077_MHZ =0x03, CC1K_315_178_MHZ =0x04, On 1/17/07, Philip Levis [EMAIL PROTECTED] wrote: On Jan 16, 2007, at 3:48 AM, SANG Junjun wrote: Hi, I loaded \opt\tinyos-2.x\apps

Re: [Tinyos-help] problems using BlinkToRadio on mica2, tinyOS2.0

2007-01-16 Thread SANG Junjun
Yes I found it. #ifndef CC1K_DEF_PRESET #define CC1K_DEF_PRESET (CC1K_915_998_MHZ) #endif and the BlinkToRadio works:) Thanks a lot On 1/17/07, Philip Levis [EMAIL PROTECTED] wrote: On Jan 16, 2007, at 3:48 AM, SANG Junjun wrote: Hi, I loaded \opt\tinyos-2.x\apps\tutorials\BlinkToRadio