Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 08 08:33
    kkrentz closed #2400
  • Feb 08 06:04
    AmPaschal opened #2402
  • Feb 08 05:25
    AmPaschal opened #2401
  • Feb 07 21:50
    kkrentz edited #2400
  • Feb 07 21:48
    kkrentz edited #2400
  • Feb 07 13:40
    kkrentz opened #2400
  • Feb 03 09:05
    SpooniSpoon commented #2212
  • Feb 02 20:21
    arurke commented #2157
  • Feb 02 20:11
    arurke commented #2212
  • Feb 02 14:09
    kkrentz opened #2399
  • Feb 02 10:54
    lafka commented #778
  • Feb 01 15:23
    kkrentz synchronize #2298
  • Feb 01 14:19
    nvt synchronize #2398
  • Feb 01 13:36

    nvt on develop

    tests: update csc files to late… Merge pull request #2287 from p… (compare)

  • Feb 01 13:36
    nvt closed #2287
  • Feb 01 12:45
    kkrentz commented #2289
  • Jan 31 20:19
    arurke commented #2289
  • Jan 31 16:08

    nfi on develop

    Fix style and misleading commen… Avoid log-warning every time de… Log human-readable TSCH link op… and 1 more (compare)

  • Jan 31 16:08
    nfi closed #2390
  • Jan 31 15:46

    nvt on develop

    Fix include of random-lib in rp… Merge pull request #2389 from a… (compare)

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
salmeghlef
@salmeghlef
Hello guys, Is there a demo on how to use the native platform for contiki based motes to simulate client-server networking ?
11 replies
salmeghlef
@salmeghlef
Screen Shot 1444-04-14 at 9.39.19 PM.png
Screen Shot 1444-04-14 at 9.39.19 PM.png
safiyagul
@safiyagul
hello all can anyone guide me on how to generate heterogeneous traffic in RPL using Contiki -ng
safiyagul
@safiyagul
@jones199 are u able to balance the traffic load by changing DIO?
1 reply
Mohammad-Reza feyzi
@jones199
hi Developpers . Please tell me how to calculate and plot the metrics such as : PDR,Latency and ... from the cooja log files. Best Regards
11 replies
safiyagul
@safiyagul
for calculating PDR , PDR = (∑ received packets by destination/ ∑ sent packets by the source ) *100%. you have to check the log file line by line to see how many packets has been sent and how many received.
similarly for the latency, you have to check the time at which first hello message has been sent by which node
Ivanilson França Vieira Junior
@ivanilsonjunior
image.png