Questions tagged [contiki-ng]

Contiki-NG is an open source operating system for the IoT, focusing on next generation IoT protocols and platforms.

Overview

Contiki-NG allows tiny, battery-operated low-power systems communicate with the Internet. It supports ARM Cortex-M and msp430 based devices, and includes the Cooja simulator for rapid development and experimentation with low-power wireless networks.

Contiki-NG is a continuation of the development of the Contiki operating system.

Contiki-NG references

Contiki-NG official website

63 questions
2
votes
0 answers

dht11 sensor timed out with cc2650 launchpad

I'm running launchxl-cc2650 on Contiki to read temperature and humidity value from dht11 sensor. Build with Contiki, and flash with ti programmer 2. But my board can't seem to read the value of the sensor (output reading timed out) i'm trying on 2…
edward
  • 21
  • 4
2
votes
0 answers

Connect two native Contiki NG motes over SLIP

Since the RPL border router example works as either a Cooja mote or a native mote, I thought using the SLIP code in /services/rpl-border-router/native might work. I made a copy of hello-world. I edited hello-world.c to read #include…
btgwynn
  • 21
  • 3
2
votes
1 answer

How can I build with ant as a normal user (no need for sudo) COOJA

Recently I started working on a project in IoT, using contiki-ng. The problem I faced is when I tried to run cooja with: $ ant run under ~/contiki-ng/tools/cooja. the build failed $ ant run Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on…
AmineLBD
  • 69
  • 8
2
votes
1 answer

Radio payload limitation for Cooja mote of Contiki-ng

Consider an RPL network as shown in below. In this network node 1 is the root of the DODAG. Node 2 is the sender and sends unicast UDP packets toward receiver nodes (nodes 3-18). The DODAG is working in the non-storing mode and I am using Cooja…
Heroshizen
  • 49
  • 5
2
votes
1 answer

Contiki ng: how to lower power consumption?

Im currently developing a low power IoT node based on Contiki-ng running on a TI CC1350 launchpad board. My problem is that my power consumption is always >6mA. Compiling and running the energest example I can see the MCU radio is always listening,…
aanc
  • 23
  • 3
1
vote
0 answers

Using an Openmote-B ADC

I'm working on signal acquisition and transmission using Openmote-B. I have an analogue signal from a sensor, that is to be transmitted using an openmote. Is it possible to directly feed the analog data to the Openmote? How can I use the inbuild ADC…
jishnu k
  • 11
  • 1
1
vote
1 answer

Does contiki-ng support UIP_REASSEMBLY?

I can see in uipopt.h #define UIP_REASSEMBLY (UIP_CONF_REASSEMBLY) But no code about it in uIP stack. It means no way to send ICMP/UDP with size > (MTU - header) from Host to node and between nodes. Is this so ? I have tried longer packets but it…
Eugene
  • 11
  • 2
1
vote
1 answer

Contiki-NG Cooja simulator fails to start

I have installed Contiki-NG on Ubuntu VMware Player and have been struggling to run it using ant run command following is the whole terminal code: layla@ubuntu:~/contiki-ng/tools/cooja$ ant run Buildfile: build.xml does not exist! Build failed I…
Lelle Mohd
  • 21
  • 3
1
vote
0 answers

JAVA Simulation error when using Cooja mote in Contiki-ng

I'm trying to do a simulation in Cooja simulator, Contiki-ng using cooja motes and CSMA and the energest model. Even though the simulation works well in Z1 mote with cooja motes the simulation stops and I get a null pointer error: [15:19:20 -…
Sasha
  • 11
  • 1
1
vote
1 answer

How to disable Trickle Timer in Contiki-NG?

I have one question for you. I want to disable the trickle timer in the rpl-mrhof.c file. I defined one flag name as Trickle_flag. I want to disable the Trickle timer in my program when the Trickle_flag is equal to 1 and the DIO transmissions will…
Sahel Vafa
  • 26
  • 2
1
vote
0 answers

MSP430 compiler not found when using Contiki-NG

I'm trying to simulate a Sky mote with the Cooja simulator shipped with the Contiki-NG project. I access the simulator as stated at their wiki: cd contiki-ng/tools/cooja ant But when I try to compile the hello-world example, which seems to execute…
Jaime_mc2
  • 673
  • 5
  • 18
1
vote
0 answers

How can I use Wismote in Contiki-NG?

I am running Cooja and Contiki-NG using Docker. When I want to emulate a simple application using "Wismote" mote, Cooja returns the following error: > make udp-server.wismote TARGET=wismote ../../Makefile.include:100: *** The target platform…
Heroshizen
  • 49
  • 5
1
vote
1 answer

How to disable address filtering in Contiki-NG cc2420 radio module?

When trying to disable address filtering by changing RADIO_PARAM_RX_MODE like below, cc2420 auto ack is not working and motes get duplicated packets. radio_value_t radio_rx_mode; NETSTACK_RADIO.get_value(RADIO_PARAM_RX_MODE,…
sobhan nami
  • 60
  • 1
  • 7
1
vote
1 answer

How does contiki os map an IP address to a MAC address

How does contiki os map an IP address to a MAC address, and where is this stored? I know the basics of ICMPv6 and RPL but once the network is built, when sending an IPv6 packet, how is the MAC address of the next hop known? I assume that a Neighbor…
1
vote
1 answer

Contiki: How to switch between different RPL objective functions?

In Contiki 3.0 it was possible to change the RPL objective function by modifying the file Makefile.rpl. How to do this in Contiki 3.x or Contiki-NG?
kfx
  • 8,136
  • 3
  • 28
  • 52
1
2 3 4 5