cooja

How can I have a 128-bit integer in protothread in cooja simulator?

大憨熊 提交于 2020-08-26 10:01:27
问题 Is there any library already available in c or should I need to use an external library which will work for cooja simulator? I have tried the GMP library for Z mote. But that doesn't work for me. 来源: https://stackoverflow.com/questions/61010848/how-can-i-have-a-128-bit-integer-in-protothread-in-cooja-simulator

How can I have a 128-bit integer in protothread in cooja simulator?

帅比萌擦擦* 提交于 2020-08-26 10:00:07
问题 Is there any library already available in c or should I need to use an external library which will work for cooja simulator? I have tried the GMP library for Z mote. But that doesn't work for me. 来源: https://stackoverflow.com/questions/61010848/how-can-i-have-a-128-bit-integer-in-protothread-in-cooja-simulator

How to calculate total energy consumption using Cooja

不羁的心 提交于 2020-02-20 06:01:43
问题 I'm working with wireless sensor network lead to evaluate its performance in my work. I want to measure the latency and total energy consumption to find the remaining energy in each node. So my problem is that I have some values of tx rx cpu cpu_idle and I don't how to use them to calculate what I need. I found some rules that take the calculation but i don't understand exactly how to apply it in my case. Energy consumed in communication: Energy consumed by CPU: What is the meaning of 32768,

Contiki BR not executing tcp_ip event,, does'nt goes after PROCESS_YIELD

浪尽此生 提交于 2019-12-11 07:31:43
问题 I'm trying to implement ECC in 6LoWPAN border router. I'm using contiki Wismote motes for all udp_sender.c as sender and the Border router (border_router.c) needs to receive some messages and also reply ECC keys. I have disabled the default server (WITH_WEBSERVER=0) in makefile and enabled debug_print. udp_sender.c sends messages correctly but the border router doesn't receive messages. Nothing executes after PROCESS_YIELD in border_router.c while(1) { PROCESS_YIELD(); **//Nothing executes