Thanks for you suggestion.Packetizer.java indicates the form of each packet should be : 7e <16-bit crc> 7e. So my packet does not violate it. I think the base mote assumes a packet from UART has the form of TOS_Msg. My problem is my mote received header of each packet correctly, but not data s
On 6/5/06, Lei Tang <[EMAIL PROTECTED]> wrote:
I was using a general serial-port application to send data to the mote,
because I want to have my own application to control motes.
A suggestion: if you want to roll your own code, start by reading
through the existing code which does what you want
Yup,
The code sends out a packet every ~1.5 seconds on the radio. A TOSBase
mote connected to a PC should be able to pick it up.
-shrug-
You're welcome and please do keep me posted. Curious to say the least.
Sankar.
On Tue, 06 Jun 2006 23:26:02 -0500, Lei Tang <[EMAIL PROTECTED]> wrote:
Y
Yes.
Although, I've programmed them with group ID 7D (default). This shouldn't
matter as TOSBase simply reads the packet sent over the UART and
substitutes the current group ID when transmitting.
Quick doubt - are you framing a message AROUND this packet?
I mean are you sending the packet 7E ..
On 6/6/06, Lei Tang <[EMAIL PROTECTED]> wrote:
I am not sure if i was using UARTNoCRCPacket. Is it a component? But, I do not think it's because the CRC check. At least Msg->length, type, addr are correct. I tried the packet you sent me, but i failed again. Msg->data = "" 00 00 00 00.
Did you prog
Thanks. But it doesn't work. If I send "7E 42 7D 5E 00 00
81 05 AA 07 44 08 11 38 40 7E", Msg->data is "40 00 00 00 00" at the
base mote. And I found that Msg->data[0] is always the last CRC
byte. Thanks anyway.Best,LeiOn 6/6/06, Sankar Gorthi <
[EMAIL PROTECTED]> wrote:of course, i'm assuming you'
of course, i'm assuming you're using a windows based PC and are using a
generic serial port access software (MATLAB, java etc.) to write to the
serial port.
Sankar.
On Mon, 05 Jun 2006 23:35:30 -0500, Sankar Gorthi
<[EMAIL PROTECTED]> wrote:
Lei,
you're actually right.
You need to wri
Lei,
you're actually right.
You need to write to the 7E address.
Try sending this message:
7E42 7D5E 7D5D 05AA 0744 0811 3840 7E
Sankar.
On Mon, 05 Jun 2006 23:23:41 -0500, Lei Tang <[EMAIL PROTECTED]> wrote:
Hi, Julia
Thanks for your reply.
I was using a general serial-port appli
Hi, JuliaThanks for your reply.I was using a general serial-port application to send data to the mote, because I want to have my own application to control motes.My steps:Firstly, I created a data file with TOS_Msg type; then the application read it and sent data to the base mote through serial por
Hi Lei,
Are u trying to send the packet to Micaz using serial Forwarder and
Broadcast Inject. If not, What format are u using to send it???
Note: 10 represents the data length right?? so I think it should be 6 and
not 10. Also, since you are sending the packet to the UART so the
destination addre
10 matches
Mail list logo