Hi The problem is happening in any single message exchange. When i send the packets through the mote in the linux machine the mote in the windows machine can receive then, the listener is called (i'm using moteIF) and the message is processed by my application. The problem is that some fields arrive in the windows with wrong values (the sequential number) and the messages are dropped by my algorithm. So the question is why the fields get messed in the way from the linux machine java application to the windows java application. Is there any way to fix this problem?
Thanks for your help Heberte 2009/3/25 Urs Hunkeler <[email protected]> > Hi, > > If I understand you correctly, you want to exchange data between two PCs > with a setup like this: > > Linux <-> WSN <-> Windows > > You can send data from Windows -> WSN -> Linux, but Linux -> WSN -> Windows > does not work. > > What setup do you have for the WSN (how many motes)? How do you communicate > between the motes (what do you do for routing)? > > Do you have any idea where the message gets dropped? Does it get sent to > the WSN? If so, is it received by the mote connected to the Windows box? If > so, do you use the TinyOS Java APIs to handle the TinyOS communication in > Java (e.g. MoteIF)? If so, does the corresponding messageReceived listener > get called? > > Cheers, > Urs > > > > Héberte Fernandes de Moraes wrote: > >> Hi >> >> I created a java application in windows to exchange message using tmote >> and >> run the application both in windows and in linux. The problem is that when >> sending a message in the application linux to windows this message is >> being >> discarded while the linux receives messages sent to windows. I think that >> is >> a problem of coding, but not sure and I do not know how to resolve. Does >> anyone have any idea? >> >> Thanks >> > -- Héberte Fernandes de Moraes Mestrando - Programa de Engenharia de Sistemas e Computação PESC/COPPE/UFRJ
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
