Questions tagged [contiki]

Contiki is an open source operating system for the Internet of Things.

What is Contiki?

Contiki is an open source operating system for the Internet of Things (IoT). Contiki allows tiny, battery-operated low-power systems communicate with the Internet. Contiki-OS is developed by a world-wide team of developers with contributions from Atmel, Cisco, ETH, Redwire LLC, SAP, Thingsquare, and many others, led by Adam Dunkels of Thingsquare.

Questions about Contiki-NG (Next Generation Contiki) are also welcome here. Contiki-NG is a fork of Contiki, with focus on next generation IoT protocols and platforms.

Where is Contiki used?

Contiki is used in a wide variety of IoT systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, and remote house monitoring.

Contiki references

Contiki-NG references

Related Tags:

578 questions
2
votes
0 answers

Getting an error message when running a script in Cooja

I'm trying to code the simulation script editor to calculate end-to-end delay and so on, but after the simulation is finished, I encounter the following message: TEST TIMEOUT TEST FAILED [if test was run without visualization, Cooja would now have…
pheona
  • 21
  • 1
2
votes
1 answer

How to have a random number which changes with time in cooja simulator in c language?

I know there are similar posts to this. I have tried all of them. But that doesn't answer my question. I have already tried srand which is provided by c, but it doesn't work in cooja. I have also tried #include "cfs/cfs.h", #include…
Akash Patel
  • 156
  • 4
  • 15
2
votes
1 answer

Error when I compile 'hello-world' example from Contiki

I have installed the Contiki OS sources, and the ARM GCC compiler by doing brew install arm-none-eabi-gcc. However, when I try to run the hello world example in Contiki's example folder using the command make TARGET=srf06-cc26xx…
umop apisdn
  • 653
  • 9
  • 20
2
votes
1 answer

Does any alternative for Collect View exist in Contiki NG?

I am using Contiki-NG OS and I pretend to plot some metrics but Collect-View is removed in Contiki-NG. Could anyone help me with this issue? Does any similar application exist? Thanks in advance.
2
votes
1 answer

Start Contiki process from a process

I am using contikiOS and C, I am trying to create code that will wait for 10s then print the temperature. It will then start a different process and record temp every 1s. It will check when temperature exceeds 28c and turn led on. Currently, it…
2
votes
1 answer

Need an example of using mmem in Contiki

I am developing code to use in the COOJA simulator. I used malloc() for all of the dynamic memory allocations. While the simulation is running, COOJA motes restart periodically and at last I get an error which tells me the reason is I'm using…
mahshid
  • 41
  • 7
2
votes
0 answers

How to send runicast message to itself?

I'm studying a wireless sensor network and I'm implementing a distributed algorithm. What I want that it sends a runicast message to itself. I tried to send runicast message to '&rimeaddr_node_addr', but it timedout. runicast_send(&runicast,…
dogukanarkan
  • 341
  • 2
  • 8
2
votes
0 answers

How to receive float value from the serial port for the device side(sky mote)

I want to communicate my tmote sky with my arduino through uart to pass float to tmote-sky. I have already pass a string of "hello world" from pc to tmote sky but cannot find a way how to pass float from pc to tmote-sky. I have tried to send Integer…
Haider Ali
  • 21
  • 3
2
votes
1 answer

make*** No rule to make target 'obj_sky/neighbour-attr.o' contiki-cooja simulation error

I am trying to compile an example code in cooja simulator on contiki-2.7 Operating System. Contiki is an OS for IoT applications. Before implementing in hardware the code is tested in cooja simulator first. For a research purpose I installed…
S. M. Fahad Ahmad
  • 379
  • 1
  • 2
  • 11
2
votes
1 answer

Call process from process in Contiki

In my code, I need to declare two process. In the first process, I want to call the second one like this: PROCESS_THREAD(Initialization_process, ev, data) { PROCESS_BEGIN(); PROCESS_THREAD(example_broadcast_process, ev, data); …
Joe
  • 85
  • 1
  • 9
2
votes
1 answer

How to post two different events to the same Contiki process?

I have two Contiki processes with one process, master, posting two different events to a second process, send. The first event sent is PROCESS_EVENT_CONTINUE and the second event is PROCESS_EVENT_MSG. I am posting these events sequentially, one…
Sgio Dz
  • 129
  • 11
2
votes
1 answer

Contiki - How can I trigger an event?

I am trying to write a program in Contiki for Zolertia REmote, that will read a value from a sensor, and depending on this value and whether the user button on the remote is pushed for an extended duration, a led will be turned on, dimmed or will…
natch
  • 21
  • 4
2
votes
1 answer

Reserve flash memory space in TI cc26xx

I am currently trying to reserve a sector of the flash memory in the linker file, to save some data to it (using the driverlib API). I first flash the script writing to the specific memory addresses, then I run my application which reads the saved…
SuperKogito
  • 2,998
  • 3
  • 16
  • 37
2
votes
0 answers

Can't add multiple motes in simulation script in Cooja

I am working on a modification to RPL algorithm in Contiki. I am using Cooja for simulations. I am trying to assess efficiency of my algorithm by adding nodes to the network randomly by a certain distribution (like Gamma distribution). To do this I…
user1743439
  • 43
  • 1
  • 7
2
votes
0 answers

Implementation multi sink in contiki

I want to implement program of multi sink sensor networks in contiki. I have two types of thing and each of networks of thing has a sink node that send data its sink. The sinks should communicate with themselves. According to the Support of multiple…
maryam
  • 1,437
  • 2
  • 18
  • 40
1 2
3
38 39