I was trying the same thing as given in previous mails ..
When i start Serial Forwarder directly from cigwin (by entering manual
command .) And then execute my application which work on data packets
provided by SerialForwarder and mig generated message structure class , All
things work properly .
But now i have to create a independent (from cigwin) application , where
user need not to know background cigwin commands . I want Serial forwarder
to be started from my same java application ..
So i used
"Runtime.getRuntime().exec( "java net.tinyos.sf.SerialForwarder -comm
ser...@com16:telosb");"
which is the same command we give from cigwin .  At present lets assume that
MOTECOM variable remain the same for all operations. But this is not helping
..  It is not giving any error but its not even starting SF.
What should i do ?
any idea ?

Also ..  MIchael as u said in ur last mail , just by fetching tinyos.jar
will solve all the problem n cygwin will not be needed.  i dont think so .
If cygwin is not present how can we start serialforwarder.  i mean all this
program are written in linux environment . (this is what all i think.
correct me if i am wrong.)

Thanks a lot ..
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
On 19 March 2010 22:13, Michael Schippling <[email protected]> wrote:

> To my knowledge Eclipse doesn't add any internal code to
> your project, so what you see is what you get as far as
> your application goes. You do need to make sure that you
> have the tinyos.jar, whatever Java Comm you are using,
> the same or similar JRE, and appropriate USB drivers
> installed on your target system. You don't actually
> need cygwin on a runtime-only target.
>
> MS
>
> himanshu barve wrote:
>
>> Hello Friends .. I have a small doubt (Its still doubt because i have not
>> got any errors yet)
>> I am using eclipse to create a java application. THis java appication has
>> one package based on serial forwarder Received data . Now i am using eclipse
>> in Win Vista.  I have copied tinyos.jar and added to external JAR used by
>> eclipse. I wrote a program which without any error . Now my question is ,
>>  when i create a JAR from above Eclipse IDE. Put that in another system
>> where cygwin is present and that particular package based on serial
>> forwarder was working separately .. , will this work ??
>> If not what is the solution ?? Anybody has any experience with that ?
>> Please help me ..  i am near my deadline of project..
>> --
>> With Best Regards
>> Himanshu Barve
>> M.Tech Electrical Engineering (Power System)
>> IIT Kharagpur , West Bengal , India
>> Ph: - +91 9775201181
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>


-- 
With Best Regards
Himanshu Barve
M.Tech Electrical Engineering (Power System)
IIT Kharagpur , West Bengal , India
Ph: - +91 9775201181
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to