Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 28 13:09
    arurke closed #2365
  • Jan 28 13:09
    arurke locked #2365
  • Jan 28 13:06
    arurke closed #2394
  • Jan 28 13:06
    arurke locked #2394
  • Jan 28 13:01
    slcmcu commented #2394
  • Jan 28 13:00
    slcmcu opened #2394
  • Jan 27 18:07
    arurke commented #2389
  • Jan 27 17:51
    arurke synchronize #2390
  • Jan 27 17:43
    arurke commented #2387
  • Jan 27 13:58
    atiselsts commented #2387
  • Jan 27 10:23
    atiselsts opened #2393
  • Jan 24 15:10

    nfi on develop

    Fix broken links in the documen… Merge pull request #2391 from n… (compare)

  • Jan 24 15:10
    nfi closed #2391
  • Jan 24 14:59

    nfi on develop

    Rearranged the tutorial order s… Merge pull request #2392 from n… (compare)

  • Jan 24 14:59
    nfi closed #2392
  • Jan 24 14:52
    nvt synchronize #2391
  • Jan 24 14:52
    nvt synchronize #2391
  • Jan 24 14:50
    nvt synchronize #2391
  • Jan 24 14:41
    nvt synchronize #2391
  • Jan 24 14:04
    nvt opened #2392
CPA-Aarts
@CPA-Aarts
It may be a Java pathing problem, as it previously sent an error that it couldn't find its path. I cannot replicate this anymore however.
9 replies
IanWang
@Rosa-Phoebe
Hi, I have some problems related to ticks for cc1310 launchpad. I found the tick duration is 30.517578125usec in base drift ppm calculation in cc13xx-cc26xx-def.h file(simplelink). But I also found the tick duration is 15.758789usec calculation in rtimer-arch.h file for simplelink cc1310. These difference confused me so much. Can anyone give some suggestions or ideas? Thank you very much.
CPA-Aarts
@CPA-Aarts
Been a few days. Gave my setting up Cooja another shot. However, after a fresh git clone of Contiki-NG, and verifying JAVA_HOME twice for the correct paths, I still get Buildfile: build.xml does not exist! Build Failed upon entering the ant run command. I hope someone could help me out so I can move from 2.7 to NG :)
22 replies
Dr Automaton
@ekawahyu
Building with make TARGET=cc2538dk on Ubuntu 22.04 gives me an error and warning about memory region 'FLASH_FW=' not declared, but the same contiki-ng clone on macOS seems to build just fine. Same arm-none-eabi-gcc version 10.3.1
Anyone knows what this could be?
Dr Automaton
@ekawahyu
Correction, actually the error happened with Homebrew gcc-arm-embedded 11.2, rolling back to 10.3 seems to solve the issue
For anyone experiencing the same thing on Apple M1, here is my solution: https://gist.github.com/ekawahyu/0104fc572a5f247243263a9680876652
Hopefully that helps
Dzuy Nguyen
@dzuy_gitlab
It's been a while since I kept up with contiki latest. So, I did a git pull in my contiki repo. Followed that with a git submodule update --init --recursive
Now, when I compile my code, I don't see the resulting hex file or bin file any more.
I thought it's just my project, but went to examples/hello-world, did make distclean; make TARGET=cc26x0-cc13x0. Before the update, there is a hello-world.bin and hello-world.hex under build/cc26x0-cc13x0/launchpad/cc1310/obj, but I don't see them any more.
What am I missing?
1 reply
Guilherme Aguiar Silva Milanez
@guiaguiar27
Hello, anyone knows about some dual-radio implementations in cooja? Thanks in advance
1 reply
Atis Elsts
@atiselsts
Hello, my apologies for the off-topic! If you work with Contiki-NG and have (or nearly have) a PhD you might be interested in this senior researcher position we just opened: https://euraxess.ec.europa.eu/jobs/841037
1 reply
Jawaher Alharbi
@Jawaheralharbi
Hi,
Any idea how to simulate intermittent computing using Contiki-ng?
Your assistance is appreciated.
3 replies
Dr Automaton
@ekawahyu
@CPA-Aarts, and potential everyone else. I am sharing this video, showing how to setup Cooja simulator on a newly installed Zorin OS 16.1 (Ubuntu 20.04 based). This is the quickest way to get started with a precompiled toolchain by Simon Duquennoy: https://youtu.be/a4radETt04U
2 replies
F. Fernando Jurado-Lasso
@fdojurado
Hi all, does anyone know how to run Cooja without the GUI using Gradle?
2 replies
Y.S.
@ysasiwat
Hi all, I have a problem with cc2538dk, I test upload an example null net-broadcast to 3 cc2538 devices. that I expect all devices should receive a packet from each other. but it gives me a weird result, a node broadcasts the first packet, and the other node will receive only a packet from the first node even if there are other nodes broadcast at the same time. This is the correct result of this example?
yanlkchen
@yanlkchen

According to references:
https://contiki-ng.readthedocs.io/en/develop/doc/platforms/simplelink.html

According to chapter“Set up Contiki-NG in Code Composer Studio”, I meet the following error occurred when compiling the hello-world sample program on the cc1310 platform using Code Composer Studio:

../../arch/platform/simplelink/Makefile.simplelink:26: * Board 'cc13xx-cc26xx/launchpad/cc1310' does not corresponding to any SimpleLink family. Make sure your BOARD variable is correct.. Stop.

5 replies
Rahav Dor
@rahav.dor_gitlab
Hello everyone. In my system I have client nodes and server nodes. I need the clients to be able to periodically send a message to the servers group. I used to multicast to the servers group but there seems to be a bug with multicast at this time. Does anyone have an advice how can I discover which nodes are the servers in a given network?
Aisman65
@Aisman65

Hi, I'm testing multicast for sending content across the tsch network. I use a revised version of the multicast example. MAC=TSCH, RPL=RPL Classic with storage mode, scheduler is Orchestra (Link Based) and mcast engine is MPL. When I send 84 bytes UDP payload, I get the attached errors from 6LoWPAN. No reassembly context is found. Is there anyone that could give some hint on what could be wrong?

03:00.386 ID:1 Send to: ff03::fc Remote Port 3001, (msg=0x00000002) 84 bytes
03:00.507 ID:4 In: [0x00000002], TTL 64, total 3
03:00.507 ID:5 In: [0x00000002], TTL 64, total 3
03:00.507 ID:6 In: [0x00000002], TTL 64, total 3
03:10.326 ID:4 [WARN: 6LoWPAN ] input: empty packet
03:10.735 ID:2 In: [0x00000001], TTL 255, total 1
03:10.735 ID:3 In: [0x00000001], TTL 255, total 1
03:12.285 ID:2 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 2 offset: 16
03:12.285 ID:2 [ERR : 6LoWPAN ] input: reassembly context not found (tag 2)
03:12.285 ID:3 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 2 offset: 16
03:12.285 ID:3 [ERR : 6LoWPAN ] input: reassembly context not found (tag 2)
03:12.285 ID:4 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 2 offset: 16
03:12.285 ID:4 [ERR : 6LoWPAN ] input: reassembly context not found (tag 2)
03:12.285 ID:6 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 2 offset: 16
03:12.285 ID:6 [ERR : 6LoWPAN ] input: reassembly context not found (tag 2)
03:13.525 ID:2 In: [0x00000002], TTL 255, total 2
03:13.525 ID:3 In: [0x00000002], TTL 255, total 2
03:13.525 ID:4 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 4 offset: 16
03:13.525 ID:4 [ERR : 6LoWPAN ] input: reassembly context not found (tag 4)
03:13.525 ID:6 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 4 offset: 16
03:13.525 ID:6 [ERR : 6LoWPAN ] input: reassembly context not found (tag 4)
03:16.625 ID:1 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 8 offset: 16
03:16.625 ID:1 [ERR : 6LoWPAN ] input: reassembly context not found (tag 8)
03:16.625 ID:3 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 8 offset: 16
03:16.625 ID:3 [ERR : 6LoWPAN ] input: reassembly context not found (tag 8)
03:16.625 ID:4 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 8 offset: 16
03:16.625 ID:4 [ERR : 6LoWPAN ] input: reassembly context not found (tag 8)
03:16.625 ID:6 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 8 offset: 16
03:16.625 ID:6 [ERR : 6LoWPAN ] input: reassembly context not found (tag 8)
03:17.245 ID:1 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 9 offset: 16
03:17.245 ID:1 [ERR : 6LoWPAN ] input: reassembly context not found (tag 9)
03:17.245 ID:2 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 9 offset: 16
03:17.245 ID:2 [ERR : 6LoWPAN ] input: reassembly context not found (tag 9)
03:17.245 ID:3 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 9 offset: 16
03:17.245 ID:3 [ERR : 6LoWPAN ] input: reassembly context not found (tag 9)
03:17.245 ID:4 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 9 offset: 16
03:17.245 ID:4 [ERR : 6LoWPAN ] input: reassembly context not found (tag 9)
03:17.245 ID:6 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 9 offset: 16
03:17.245 ID:6 [ERR : 6LoWPAN ] input: reassembly context not found (tag 9)
03:17.865 ID:1 [WARN: 6LoWPAN ] reassembly: failed to store N-fragment - could not find session - tag: 10 offset: 16
03:17.865 ID:1 [ERR : 6LoWPAN ] input: reassembly context not found (tag 10)

Mohammad-Reza feyzi
@jones199
Hi friends 👋
Please tell me how to use collect view in my own program
Rahav Dor
@rahav.dor_gitlab
Can running node get some/any data on which Cooja simulation it is running under?
Rahav Dor
@rahav.dor_gitlab
Does someone know how a client node can find out the address of all the server nodes?
salmeghlef
@salmeghlef
Hello Guys, please tell me how to install C packages on Contiki OS , when I run a code that contains "time.h" or "pthread.h", it says unknown library!!!
19 replies
salmeghlef
@salmeghlef
Hello guys,How to install Contiki-NG in a graphical user interface form? I don't want to use it as a command line form!!! Is there a GUI mode available for Contiki-NG?
eloudrhiri-abdelhadi
@eloudrhiri-abdelhadi
Hello Community,
I've a issue about energest module with Cooja motes. It always prints 0 permil for rx, tx, lpm. CPU ticks are always at the maximum. How can I deal with this issue ?
eloudrhiri-abdelhadi
@eloudrhiri-abdelhadi
image.png
Issaaaaaaaaam
@Issaaaaaaaaam
Hello guys,
I wanted to know if you could point me to a working TCP-connection demo. I tried the old contiki tcp demo but for some reason it does not work on cooja.
Thank you in advance!
salmeghlef
@salmeghlef
Hello guys, when trying to run cooja under contiki-ng using $ and run :
it says: build.xml is not found, how to fix this issue please?
eloudrhiri-abdelhadi
@eloudrhiri-abdelhadi
Hello again,
I would like to give an update about my issue, it may help someone eventually if they face the same problem.
I found that in the radio-cooja.c file, the ENERGEST_ON functions for listening and transmitting were missed, and therefore we could never launch the energest module once the mote is one of these two states.
Which led me to update the two radio-cooja files.
But, the ticks of the CPU are at the maximum value. I think this is the value it should indicate if we use cooja mote. What do you think?
Dr Automaton
@ekawahyu
Hey guys, I always wanted to develop Contiki-NG and Cooja on Windows, and finally I made it happens! Just in case anyone is interested to do the same: https://youtu.be/zfA9BINRvVk
2 replies
You need Windows 10/11 with WSL/WSL2 installed and for Sky mote you need to build MSP430 GCC toolchain build from source. Anyway, follow the instruction in the video and let me know if you have any question
And last night I added an update on how you can use VSCode with integrated WSL/WSL2 terminal for Contiki-NG development. Here is the link: https://youtu.be/PyNLdX4-vgg
Dr Automaton
@ekawahyu
Thanks to all of you who provided wiki pages and documentation on how to make this to work!
salmeghlef
@salmeghlef

guys, can someone help me to convert this C code to .sky file so it can be applied on cooja mote, thank you
(CoAP_Clinet.c & CoAP_Client.h)

https://drive.google.com/file/d/1wqOXc2sExr2QFxqUBuHfQcGqJwoEtkhv/view?usp=sharing

and the dependent file

https://drive.google.com/file/d/1KXByL1Yb2C5Gvt8OGBrB_yhsa02rbWpi/view?usp=sharing

23 replies
kkrentz
@kkrentz
Does somebody know of a replacement for "ant run_errorbox"? Ultimately, I would like to see the mote outputs before a crash.
CPA-Aarts
@CPA-Aarts
I'm trying to create a rpl udp client/server network (+1 border router), but all nodes tell me they're waiting for prefix. I didn't have this problem in contiki 2.7
My current main goal is to create a mesh network of rpl/6lowpan/coap nodes that create data at an interval, route it to the border router for logging and each hop data is appended. For example, each node sends a string with their IDs appended when the string is passed through.
Right now the problem is that no communication is happening at all. I wish to first try to make it work on the basic rpl templates before moving on to the desired cc2650 platform.
CPA-Aarts
@CPA-Aarts
I have read through the contiki docs, but additional documentation/tutorials/help for this is appreciated :). (Am also available on Teams or Discord if someone is willing to help this much)
CPA-Aarts
@CPA-Aarts
Currently have a udp rpl many client / single server network. I can alter the message, but I am not sure how I would write and assign an "ID" variable to be added to the message and have it unique per mote created. I could create multiple client.c files with unique message but that would be redundant and poorly scalable.
Also looking at the template it seems clients should print the logs when they receive data from other clients, but that is not the case. How can I force clients to display a message when a packet from a sender to a different destination (root/server) is being passed on. (bonus points on tips on altering those packets)
farzad veysi
@farzadveysi313_gitlab
Hi @alexstanoev,
Could you please let me know how I can save the logs of two concurrent simulations separately in COOJA? by default the log of the simulation is held in the directory of the project under the name COOJA.testlog. When I try to run COOJA on the HPC server over multiple nodes, only one node writes log in the COOJA.testlog. Is there a way to record the log of each node under a different name?
1 reply
kkrentz
@kkrentz
Which versions of gnu-binutils and gnu-cc are recommended for the latest Cooja? A Cooja simulation of mine hangs and the problem apparently lies in the interface between the C- and Java-world ...
2 replies
Sol-Bee
@SolBee
Hello guys, how can I solve the following error when run './gradlew run' in WSL Ubuntu 20.04 LTS?
I followed the instructions (https://docs.contiki-ng.org/en/develop/doc/getting-started/Toolchain-installation-on-Linux.html) but I cannot run cooja.
I also followed the video (https://www.youtube.com/watch?v=zfA9BINRvVk)
3 replies
image.png
YSmolders
@YSmolders
error.png
Hi all, im having a problem running a Cooja mode after updating my Contiki-ng folders yesterday. It compiles the mote just fine, but it cannot create it.
Any help is appreciated
13 replies
Mohammad-Reza feyzi
@jones199
hi Developpers . Could you tell me how how to use TSCH with UDP client and server mote in contiki .best Regards
6 replies
btgwynn
@btgwynn
Hello Developers. Can a Contiki NG node be a Root of one RPL instance and a child in another? I saw this presentation:www.ietf.org/proceedings/94/slides/slides-94-rtgarea-1.pdf, which says a node can be a router in one instance and a leaf in another, and I know that isn't quite the same as what I am asking. I put together a test to try. In Cooja, I made two nodes, each using the rpl-border-router example configured to use RPL classic in storing and multicast mode, but with different default instance IDs and different prefixes. Both border routers connect to a Ubuntu host via tunslip. I have RPL logging set to DBG. When I run the simulation I see the nodes exchange DIOs, each joins the other's DAG, and each have IP addresses with both prefixes. However, if I ping from the host I don't get a ping response, but do see warnings from both nodes that a loop is detected. Is there something I am missing in my configuration to allow a root of one DAG in one instance participate as a child in a DAG on another instance? I see that uip configuration is set to act as a router by default, so it seems like that I have done should be able to be handled.
2 replies