I (ab)use Windows to talk to motes, so what I sent should work.
Getting a null pointer I would guess that BuildSource.makePacketSource()
isn't working correctly, and that is probably due to an incorrect
MOTECOM setting. Windows uses COMn port names in MOTECOM... and
somewhat counter-intuitively /de
I use the same thin , as I told before I tried a couple of ways since I
thought maybe it is not possible to communicate directly from windows to
mote.
this code mentioned by you works pretty well on my Linux version of
application, but on Windows version it doesn't open PrintStreamMessanger.err
an
I use this to get the Source. It opens the right kind of
channel based on the setting of the MOTECOM envvar:
// get the TOS connection
PacketSource ps = BuildSource.makePacketSource();
if (ps == null)
{
System.err.println(
"Invali
Hello,
I need to communicate with mote connected to USB in windows XP within a java
application, tinyos jar file is available in javahome and also getenv.dll
and tosscomm.dll are available in bin folder.
I use netbeans and can see all net.tinyos library available. In this java
application two way