[Tinyos-help] TinyDB alternative on TinyOS 2.x?

2013-11-04 Thread João Amaral
I would also like to know the current developments on this topic. Regards. João Amaral. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyDB alternative on TinyOS 2.x?

2013-11-04 Thread João Amaral
I meant this as a reply to this post http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2011-May/050942.html -- View this message in context: http://tinyos-help.10906.n7.nabble.com/TinyDB-alternative-on-TinyOS-2-x-tp23776p23777.html Sent from the TinyOS - Help mailing list archive at

[Tinyos-help] Use time.h in nesC applications

2013-10-30 Thread João Amaral
Hello. Is it possible to include time.h in nesC code? I ran grep -R 'time.h' on $TOSROOT and I saw some occurrences in .c files (mainly CoAP related), but only one in a nesC file (TcpP.nc). I tried using include time.h and include sys/time.h in my application, but both result in compilation

Re: [Tinyos-help] Use time.h in nesC applications

2013-10-30 Thread João Amaral
or not. Also, 2 minutes are just a simplistic example, I want to be able to specify hour and day intervals also. Using time.h would solve my problem. On Wednesday 30 October 2013 at 20:49, Eric Decker [via TinyOS - Help] wrote: On Wed, Oct 30, 2013 at 11:17 AM, João Amaral [hidden email

Re: [Tinyos-help] Problem with UDP.sendto

2013-10-08 Thread João Amaral
alert-ruleId = (uint8_t) 1; alert-timestamp = (uint8_t) 2; alert-eventId = (uint8_t) 3; printf(EventID: %u\n, alert-eventId); inet_pton6(EDGE_ROUTER_ADDR, ER_addr.sin6_addr); ER_addr.sin6_port = htons(EDGE_ROUTER_PORT); err = call UDP.sendto(ER_addr, alert,

[Tinyos-help] Problem with UDP.sendto

2013-10-07 Thread João Amaral
(GCC) 4.6.3, TinyOS 2.1.2.1 and TelosB motes. Regards. João Amaral. -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Problem-with-UDP-sendto-tp23589.html Sent from the TinyOS - Help mailing list archive at Nabble.com

Re: [Tinyos-help] Problem with UDP.sendto

2013-10-07 Thread João Amaral
I created a task. Here's the code: http://tny.cz/69f80f59 I populated the alert structure with dummy test values. -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Problem-with-UDP-sendto-tp23589p23592.html Sent from the TinyOS - Help mailing list archive at Nabble.com.

Re: [Tinyos-help] Printf error

2013-10-01 Thread João Amaral
I myself also am experiencing this exact same error. I am able to use printf() and run PrintfClient utility without problems if I use it in a dummy application, but when I try to use it in my application using BLIP I get this exact error. I've tried commenting out instruction #include

Re: [Tinyos-help] Printf error

2013-10-01 Thread João Amaral
I declare both components PrintfC and SerialStartC, define NEW_PRINTF_SEMANTICS and include printf.h. -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Printf-error-tp23339p23571.html Sent from the TinyOS - Help mailing list archive at Nabble.com.

[Tinyos-help] Error: external interfaces cannot be connected with `-' or `-'

2013-09-24 Thread João Amaral
I just got this error, what does it mean? EventManagerP.InternEvt[Evt_network_Receive] - EventTrigger; EventTrigger is an interface I'm providing in the component: provides interface EventSourceI as EventTrigger; Thank you. -- View this message in context: