Hello,

I have a simple mote network using one telosB as Ppp Router connected to the 
computer. Then, there is another one running, wireless connected, using 
CoapBlip application. They are properly talking each other, I can, for example, 
turn the leds ON (on the remote wireless mote) executing a coap-client command 
on the PC.

This turn on leds representing a 5: 
echo -e -n \\x05 | ./coap-client -m put coap://[fec0::2]:61616/l -T 3a -t 
binary -f -

However, if I try to GET temperature from that same mote, I am getting no 
result. The temperature service is properly activated in the makefile: CFLAGS 
+= -DCOAP_RESOURCE_TEMP

This is the command I am using ./coap-client -m get coap://[fec0::3]:61616/st 
-t binary and this is the answer:

./coap-client -m get coap://[fec0::2]:61616/st -t binary
\x42\x01\xD6\x42\x11\x2A\x82\x73\x74
send to [fec0::2]:61616:
  pdu (9 bytes) v:1 t:0 oc:2 c:1 id:54850 o: 1:'*' 9:'st'
Nov 05 12:53:47 ** received from [fec0::2]:61616:
  pdu (4 bytes) v:1 t:2 oc:0 c:164 id:54850
Nov 05 12:53:47 *** removed transaction 54850
** process pdu: pdu (4 bytes) v:1 t:2 oc:0 c:164 id:54850

Indeed, I don’t really know what would be a good answer and how to “understand” 
what I am getting in return.

Any help would be appreciated. Thank you so much!!.

Julio.

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to