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
15
votes
3 answers

When is .ARM.exidx is used

I am working on Contiki 2.7 with the mbxxx target. While building my code the linker complained about an overlap of .ARM.exidx and .data sections. After some tinkering around with the linker script contiki-2.7/cpu/stm32w108/gnu-stm32w108.ld I fixed…
user2668988
  • 267
  • 1
  • 2
  • 12
10
votes
1 answer

How to execute a different binary on run-time in Contiki OS?

I am trying to make a sensor that runs on Contiki OS to execute a new binary and replace the current one, if an event occurs. I am using Cooja simulator and sky note and I uploaded the binary into the coffee file system of the node(using cooja…
9
votes
6 answers

running cooja in contiki with cmd "ant run"

When I want to run "ant run" in contiki-3.9/tools/cooja, I am facing following error: BUILD FAILED /home/user/contiki-3.0/tools/cooja/build.xml:199: The following error occurred while executing this line: …
niousha
  • 103
  • 1
  • 1
  • 6
7
votes
5 answers

Casting pointers on embedded devices

I encountered a strange problem when casting and modifying pointers on a 32bit embedded system (redbee econotag running contiki OS to be specific). uint32_t array[2]; array[0] = 0x76543210; array[1] = 0xfedcba98; uint8_t* point =…
Baarn
  • 673
  • 11
  • 23
6
votes
1 answer

List of all running processes in Contiki OS

is there a possibility to list all running processes in contiki os and output the result on the debugging output (i.e. UART) ?
ralf htp
  • 9,149
  • 4
  • 22
  • 34
5
votes
2 answers

How to enable message encryption in Contiki / Cooja simulator?

I want to encrypt the messages that are exchanged between sensor nodes. Can I do it without having access to real hardware sensor nodes, such as Tmote Sky? Can software encryption/block ciphers only be simulated on Tmote Sky nodes? If I need to use…
nana
  • 91
  • 1
  • 2
  • 7
5
votes
2 answers

Adding my own library to Contiki OS

I want to add some third party libraries to Contiki, but at the moment I can't. So I wanted to just test with a simple library. I wrote two files hello.c hello.h, in hello.c I have: printf(" Hello everbody, library call\n"); In hello.h I…
yushaa yave
  • 145
  • 1
  • 9
5
votes
2 answers

contiki over the air programming

I'm getting started with contiki on the sky mote through a project. I'm trying to get over the air programming to work right now. I've been looking through examples/sky-shell-exec and apps/shell/. I feel that I need some combination of the…
John Cast
  • 1,771
  • 3
  • 18
  • 40
5
votes
5 answers

git clone connection refused

I'm pretty new and trying to set up an environment for my Econotag. Using this guide https://github.com/malvira/libmc1322x/wiki/libmc1322x I am getting an error message . user@instant-contiki:~$ git clone…
chenino
  • 454
  • 2
  • 7
  • 19
3
votes
1 answer

get the position of node using cooja contiki

I want to get the position (x and y coordinates) of each node in the Cooja simulator. There are 30 nodes in total, of type 'sky mote'. The goal is to build a table consisting of (ID_node x_coordinate y_coordinate) for each node. First I tried to get…
amany
  • 31
  • 3
3
votes
1 answer

Measure time (in clock ticks) with contiki

I tried to measure the time of some operations on the telosB platform. For that I wanted to count the clock ticks of the processor with the clock() function from time.h but it does not compile on contiki. Are there mechanisms to measure passed time,…
schande
  • 576
  • 12
  • 27
3
votes
0 answers

TI cc26xx aes hardware implementation code keeps getting stuck

I am trying to use the crypto lib provided by TI to use the hardware AES module on the cc2650 sensortag. Unfortunately my code keeps getting stuck in endless loops, whenever AesInit is excuted or any of the other voids I have in my script. However…
SuperKogito
  • 2,998
  • 3
  • 16
  • 37
3
votes
1 answer

Contiki difference between RTIMER_NOW() and clock_time()

I would like to know the difference between RTIMER_NOW() and clock_time() function. Can I store the values they return in an int variable? Do they return the time referred to the whole simulation or to the single mote that call them? If a…
rick87
  • 51
  • 9
3
votes
2 answers

How to calculate total energy consumption using Cooja

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…
Ayoub Benayache
  • 1,046
  • 12
  • 28
3
votes
1 answer

How to start multiple Processes in Contiki to create load on CPU

How can I start multiple processes in parallel to create a congestion in CPU usage? Below is the code I was trying:- #include "contiki.h" #include PROCESS(cpu_load_process_1, "CPU Loading Process 1"); PROCESS(cpu_load_process_2, "CPU…
ashish mishra
  • 1,401
  • 2
  • 10
  • 13
1
2 3
38 39