Re: [Tinyos-help] Sending a message to the Base Station from the PC

2006-04-28 Thread Michael Schippling
There is some minimal sample code for C(++) in tools/src/sf Unfortunately the last time I used a raw unix device there were only 2 arguments to the open() syscall... MS Liliane Fegard wrote: Hi Thanks for your reply. So the final packet after escaping 0x7E and 0x7D is: 7e 42 7d5e 00 7d5d

Re: [Tinyos-help] Sending a message to the Base Station from the PC

2006-04-28 Thread Roberto
why don't you use visual studio? the System.IO.Ports works quite fine... roberto ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Sending a message to the Base Station from the PC

2006-04-27 Thread Liliane Fegard
Hi Thanks for your reply. So the final packet after escaping 0x7E and 0x7D is: 7e 42 7d5e 00 7d5d 0b 010100 69b0 7e and what I should send to the mote is the binary:

[Tinyos-help] Sending a message to the Base Station from the PC

2006-04-24 Thread Liliane Fegard
I found some previous postings having the same question but with no answer. How can I change the TOSBase code so when I send a packet from my PC to the MIB510 of the following format: 7E 42 FF FF 00 7d 0b 01 01 00 00 00 00 00 00 00 00 00 69 b0 7E 42packet without achknowledgments

Re: [Tinyos-help] Sending a message to the Base Station from the PC

2006-04-24 Thread Michael Schippling
I'm a little unclear on the concept here... I'm guessing that turn the LED ON means that you are trying to send a message through TOSBase to a re-Mote that is running whatever program that knows to flash LEDs for that message. I forget, is that the SimpleCmd demo app? How are you sending the