Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:42
    alexrayne commented #1649
  • Sep 22 23:08
    rahav opened #1649
  • Sep 20 17:33
    nvt labeled #1648
  • Sep 20 17:33
    nvt opened #1648
  • Sep 20 17:25
    nvt opened #1647
  • Sep 20 17:25
    nvt labeled #1647
  • Sep 20 16:25
    nvt labeled #1646
  • Sep 20 16:25
    nvt opened #1646
  • Sep 14 12:39
    jeppenodgaard opened #1645
  • Sep 13 15:53
    nvt opened #1644
  • Sep 13 15:51
    nvt edited #1643
  • Sep 13 15:51
    nvt opened #1643
  • Sep 12 18:17
    Yagoor edited #1642
  • Sep 12 17:40
    Yagoor synchronize #1642
  • Sep 12 16:38
    Yagoor synchronize #1642
  • Sep 12 16:04
    Yagoor synchronize #1642
  • Sep 12 15:35
    Yagoor synchronize #1642
  • Sep 12 14:59
    Yagoor synchronize #1642
  • Sep 12 09:20
    Yagoor synchronize #1642
  • Sep 12 08:32
    Yagoor synchronize #1642
oppila
@Oppila-Microsystems
hello @g-oikonomou can you please check the status of this PR "contiki-ng/contiki-ng#1429"
MarcoDelGamba
@MarcoDelGamba
Hi developers. Is there an ringbuf for each tsch neighbor or all the neighbors share the same one?
Atis Elsts
@atiselsts
@MarcoDelGamba each neighbor has its own queue
Mahboob Karimian
@mahboobkarimian
Hi, I have a question, Is it a good idea to accept and save the data packets to UIP_BUF from the serial interface, only after TSCH is synced?
Mahboob Karimian
@mahboobkarimian

@mahboobkarimian interesting, but I'm afraid I don't get where the problem is coming from! First, what do you mean by "native node" in Cooja? Second, timing in Cooja should be perfectl, with no drift (unless you use msp430 nodes and explicitly configure the drift)

@atiselsts By native node, I mean compiled to x86 code.
I was using TSCH, after some time, I could see misalignments in TSCH timeslots between TX and RX nodes. I will take a screenshot next time.

Atis Elsts
@atiselsts
@mahboobkarimian so, you mean the cooja platform nodes. There also a platform called native in Contiki which compiles code to x86. But TSCH is not supported on that one.
if you see a misalignment, that's probably a protocol bug; or it could be a cooja bug
skt
@sivashiv
Hi, is there a multiple sink support available in contiki-ng? Something as llustrated in the paper https://jwcn-eurasipjournals.springeropen.com/articles/10.1186/1687-1499-2014-91
skt
@sivashiv
Is it possible to force the nodes to join the best available root (in case if the two roots are available with same PAN ID to the node but with different DODAG IDs)? It seems to me that in the present situation, the node selects a best available parent but it might not be the route to best available DODAG root nearby. i.e the node might choose a DODAG root with more hops even if another root is available with lesser hops. Also once the node chooses a DODAG root, it stays in that DODAG and doesn't switch to another DODAG until the present root disappears (may be out of range or powered off). Is it possible for the node to come out of this abd join the best DODAG (the one with lesser hops to the root) ?
Sorry for the lengthy question, I am just looking for possibilities to load balance a larger network with multiple sinks/roots. Any help would be appreciated. Thanks
Henrique Mecking
@henriquemecking_twitter
Hi, I'm developing a scenario where I do packet aggregation to reduce the amount of packets transmitted on the network. In this scenario I would like to measure the delay entered by my aggregation method. I thought about adding in my package the timestamp and checking the time of it when the package is received in the sink node. do you have any suggestions or tips to improve this scenario? does contiki/cooja already offer something to calculate this metric?
Atis Elsts
@atiselsts
@sivashiv not in the mailine Contiki-NG source code, but its not difficult at all to implement something like that by changing a few lines of code. As long as you make some assumptions about the reachability of the root nodes from one to another. See our paper https://ieeexplore.ieee.org/abstract/document/9305207
Also once the node chooses a DODAG root, it stays in that DODAG
Exactly - so multi DODAG solution is not a good one. The virtual root approach is better
*mailine -> mainline
Atis Elsts
@atiselsts
@henriquemecking_twitter if you use TSCH you can use tsch_get_network_uptime_ticks() on the sender node to timestamp the packets, and the same function on the receiver node to calculate the time in transit
skt
@sivashiv
@atiselsts Thanks for the clarification and your valueable suggestion with your paper. I will try out the implementation and let you know. But one more question, the paper (the one i referred) explains that a global repair in one of the root will trigger the communication of the new DODAG Sequence Number change to all the connected roots to keep the DIOs consistent. Does a sequence number change in DIO from root initiate a global repair? If this is true, then in a very large network with hundreds of sinks/roots spread across different geographies and connected via cellular networks to a central virtual root (registrar), the possibility of a global repair at one DODAG root triggering global repairs at all the connected roots will be a huge overhead, correct?
ArnaudPalgen
@ArnaudPalgen
Hi, I need to set a new link layer address for the nodes. For this I use linkaddr_set_node_addr(&new_addr) as specified by the linkaddr_node_addr documentation. But when I do that, the RPL network does not build. The IPv6 addresses indicated by the RPL logs do not use my new link layer address, and I can see in the logs that DIS and DIO are sent. Can anyone help me?
Hurricane12.17
@zht1217
Hi,recently, I am using cooja to simulate the TSCH function, but I encountered confusion in the startup thread. I have not found how the tsch_slot_operation thread is started. Please help, thank you.
Atis Elsts
@atiselsts
@zht1217 from the function tsch_slot_operation_start which is called when the node associates the TSCH network
Hurricane12.17
@zht1217
@atiselsts First of all thank you for your reply,due to the tsch_slot_operation() thread, when using rtimer_set(), there are some difficulties with the underlying driver. There is no corresponding file for contiki-ng. Our main control chip is ADucm3029. I don’t know if you have any information about the underlying driver of this chip. Driver files.
Atis Elsts
@atiselsts
nope, I don't have any information about this device or its drivers
Hurricane12.17
@zht1217
@atiselsts OK, thanks
Alakesh Kalita
@Alakesh1025_twitter
Is it possible to get the generated logfiles by more than one devices in a single device say RPL/TSCH root node ? In brief, I am talking about log details aggregation in a single device ?
3 replies
sahel-vafa
@sahel-vafa
Hello everyone, I want to send data to Node through the serial interface of the Node by using the Cooja serial interface. According below
if (ev == serial_line_event_message && data !=NULL)
print ("Received data from serial port: %s\n, (const char *) data);
but I can not get anything which I send from the Cooja serial interface. Can you please help me?
CS-FFZ
@URJACK
@sahel-vafa I've also met this problem a few weeks ago.
CS-FFZ
@URJACK

@sahel-vafa
in the examples\antelope\netdb\netdb-client.c , theif (ev == serial_line_event_message && data !=NULL) will work.

And, you can see the examples\antelope\netdb\Makefile

CONTIKI = ../../../
APPS += antelope
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
SMALL = 1

all: netdb-client netdb-server

CONTIKI_WITH_RIME = 1
include $(CONTIKI)/Makefile.include

after I did some tests, I found that you must set CONTIKI_WITH_RIME = 1 in your own Makefile to make ev == serial_line_event_message available.

So is this the end of the story? No, soon you will find that you will get into a dilemma.

If you set a another statement like CONTIKI_WITH_IPV6 = 1 , this will make ev == serial_line_event_message unavailable again!

sahel-vafa
@sahel-vafa
@URJACK, Thanks a lot. I will check it.
torrematheus
@torrematheus
Hi, Does anyone have an example with an observer coap?
Hurricane12.17
@zht1217
Hello,everyone,regarding the implementation process of the tsch function in contiki-ng, I still don't know the specific thread switching and implementation process when using the cooja simulation tool. I don't know if you have any specific information to share, thank you.
Yiligong
@Yiligong
Hi all, how to implement elfloader on the CC26xx family? Is it possible to do in contiki-ng. I was working on a project that do dynamic loading program without reboot which can be executing the Contiki executable program (e.g hello-world.ce). Does anyone have any idea on this? Many thanks.
chansdad
@chansdad
I have been looking at any other alternatives to 6lbr which are actively being developed . Whil i was able to configure 6lbr and access the nodes , wondering what is the best way to access contiki powered nodes in a 6lowpan network through public internet . Is there a good working doc archived somewhere that i can refer to to configure 6lbr on a raspberry pi with a cc1310 slip radio so i can access the nodes via public internet when connecting via cellular backhaul or wifi /ethernet backhaul. If cellular backhaul , which provider in US is offering ipv6 addresses for the sim's , if any one has attempted this appreciate if you can share any details . Thanks in Advance.
Niharika Panda
@pniharika123
@atiselsts Can you please suggest which example to use in contiki-ng for a unicast message sending?
Atis Elsts
@atiselsts
@pniharika123 examples/rpl-udp/
Niharika Panda
@pniharika123
@atiselsts Can we assign timing or time slots to the motes of a similar environment? Is yes then how?
Hurricane12.17
@zht1217
Hello,everyone,I want to know how the send_eb process and the tx thread of the slot_operation process achieve time synchronization? Is there a global variable setting?
Hurricane12.17
@zht1217
Hello,everyone,I want to know if there is any software or method that can catch the issued EB package in the development environment of the development board? ,thanks.
Dzuy Nguyen
@dzuy_gitlab
Hi, I'm playing with contiki-ng on cc1310. I want to save a configuration in persistent memory, but I don't see any document on it. I believe the cc1310 has NVS, but how do I go about using it?
Alakesh Kalita
@Alakesh1025_twitter
Hello all, can anyone suggest to me few IoT gateway devices available in the market which supports 6LoWPAN protocol (better if it provides Contiki-NG based implementation)? I am looking for a gateway which supports other wireless protocols such as WiFi, BLE, Thread etc along with IEEE 802.15.4,
hazelPhd
@hazelPhd
Hi, when I try to use cooja nogui I get this error: WDT trigger - will set interrupt flag (no reset)
Stack Trace: number of calls: 20 PC: $040d0 Any idea why? Thank you
Ivanilson França Vieira Junior
@ivanilsonjunior

I don't know if this is a simple-minded question, or I read the standard incorrectly, but I have a question about TSCH seqno.

I've started a project for parsing some network behaviour via the Contiki-NG logging system. I've based on the python result-visualization example, and I was trying to trace the TSCH packet via its seqno.

216048000 4 [INFO: App       ] app generate packet seqnum=48 node_id=4
216048000 4 [INFO: TSCH      ] send packet to 0001.0001.0001.0001 with seqno 153, queue 1/64 1/64, len 21 43
216055136 1 [INFO: TSCH      ] received from 0004.0004.0004.0004 with seqno 153
216055136 1 [INFO: App       ] app receive packet seqnum=48 from=fd00::204:4:4:4
216055136 4 [INFO: TSCH      ] packet sent to 0001.0001.0001.0001, seqno 153, status 0, tx 1

The App generates a packet (UDP) and sends it to sink (1), the TSCH seqno is 153 and is received and acknowledged by the sink with the simple seqno.

There are some kinds of broadcast messages that the TSCH seqno change. I read in the standard (I just have access to 802.15.4-2015), and I understood that in some cases the macEbsn has to be used but, the logging system returns the seqno 65536. In the case below I think that should be 117 or 192.

19500000 4 [INFO: RPL       ] sending a DIS to ff02::1a
19500000 4 [INFO: TSCH      ] send packet to ffff.ffff.ffff.ffff with seqno 117, queue 1/64 1/64, len 14 24
19522888 4 [INFO: TSCH      ] packet sent to 0000.0000.0000.0000, seqno 192, status 0, tx 1
19522888 1 [INFO: TSCH      ] received from 0004.0004.0004.0004 with seqno 65535
19522888 1 [INFO: RPL       ] received a DIS from fe80::204:4:4:4
19522888 1 [INFO: RPL       ] reset DIO timer (Multicast DIS)

If this behaviour is right, why the TSCH seqno is 65536? Any light? Thank you for your time :)

Atis Elsts
@atiselsts
from tsch.c: /* Seqno of 0xffff means no seqno */ - 65535 is 0xffff in hex, meaning no seqno. I think that broadcast packets including EB are sent without a seqno (with Sequence Number Suppression field in the frame header set to 1). The problem is on the sender side, where the seqno 192 shows up, even though its not used in the frame.
In any case, the logging could (and should) be improved :)
Ivanilson França Vieira Junior
@ivanilsonjunior
Thank you Mr. @atiselsts , I'll study how I can contribute with that.
sana-asghar
@sana-asghar
Hi there, I take start with Contiki-NG for MS.CS Thesis. I want to read a media file using CoAP. How could i do? Please guide me
noor ul arfeen
@arfeenbacha_twitter
Hi all. when I am going to Run COOJA . I'm facing following Error. Someone please help me.
BUILD FAILED
/home/noor/contiki-Contiki-CoAPS/tools/cooja/build.xml:77: Compile failed; see the compiler error output for details.
Ivanilson França Vieira Junior
@ivanilsonjunior
@arfeenbacha_twitter Have you configured java and JAVA_HOME?
noor ul arfeen
@arfeenbacha_twitter
@ivanilsonjunior yes every thing is configured but still Error.
noor ul arfeen
@arfeenbacha_twitter

@ivanilsonjunior
the Error in Contiki 3.0
BUILD FAILED
/home/user/contiki-Contiki-CoAPS/tools/cooja/build.xml:199: The following error occurred while executing this line:

/home/user/contiki-Contiki-CoAPS/tools/cooja/apps/mspsim/build.xml:29: -

Could not find the MSPSim build file. Did you run "git submodule update --init"?

Alakesh Kalita
@Alakesh1025_twitter
Hello @all I am trying to get the output from CC2650 launchpad in serial port using the command : sudo make login PORT=/dev/ttyACM0; however, I'm getting the output without the L2 address (or ID) like this: [INFO: TSCH ] scanning on channel 22. Could anyone suggest me how to get the device id (L2) and the time along with the log details like this : 00:00.382 ID:1 [INFO: TSCH ] starting as coordinator