Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:58
    atiselsts synchronize #1518
  • 17:46
    atiselsts opened #1523
  • 16:49
    atiselsts synchronize #1520
  • 10:35
    atiselsts commented #1520
  • 10:35
    atiselsts converted_to_draft #1520
  • 10:34
    atiselsts commented #1518
  • 10:33
    atiselsts synchronize #1518
  • 10:31
    atiselsts synchronize #1518
  • 10:28
    atiselsts synchronize #1520
  • 10:23
    atiselsts synchronize #1518
  • 06:11
    yatch commented #1518
  • Mar 06 11:32

    atiselsts on develop

    Fix typo in README Change "fon… Merge pull request #1522 from G… (compare)

  • Mar 06 11:32
    atiselsts closed #1522
  • Mar 06 10:17
    GreatLifehacker opened #1522
  • Mar 06 10:00
    alexrayne edited #1326
  • Mar 06 10:00
    alexrayne commented #1326
  • Mar 06 07:06
    StarUnderNight edited #1521
  • Mar 06 07:05
    StarUnderNight opened #1521
  • Mar 05 18:52
    alexrayne synchronize #1326
  • Mar 05 17:17
    atiselsts opened #1520
George Oikonomou
@g-oikonomou
I cannot immediately think of a way to achieve your objective without having to mess around with some of the code
Hmmm actually I think it could be even worse. Befause for iperf to work you'd need to be able to support traffic in the inverse direction too. Right?
María Marante Boado
@mariamboado_gitlab
yes
George Oikonomou
@g-oikonomou
Ugh
so you could have a tree like this:
RPi A
  |
  |
Slip A
  |
  |
hello-world
  |
  |
Slip B
  |
  |
RPi B
I can imagine how that would work in one direction
but then for the inverse you want to flip it on its own head, which is where it gets tricky

Really RPi A and Slip A are teh same logical device (let's call it A), so you could perceive it like so:

  A
  |
hello-world
  |
  B

if you see what I mean

María Marante Boado
@mariamboado_gitlab
yes, i see
stonarda
@stonarda

Hi all! I want to connect an external device to the internet via the contiki mesh network.

To be specific, I am trying to create a setup like the following:
Internet <> Raspberry Pi <slip> rpl-border-router <mesh> contiki-node <slip> external device

What is the best way to start this?

kluchsinger
@kluchsinger
Hi everyone!
I have a question regarding the Coffee file system:
Is it brownout-safe if you have micro-logs enabled?
Meaning, can the file system get corrupted when you lose power while writing data?
Thank you.
Guilherme Aguiar Silva Milanez
@guiaguiar27
Hi everyone, I'm having trouble creating links in a tsch schedule. I set them with the Rx and TX flag, but none of my nodes are receiving packets, just sending them. Any suggestion? Thanks!
tbriggs6
@tbriggs6
Hello, I have a quick question - I'm looking to mix CC1352R1 & CC1352P1 boards in the same project. Both seem supported but they do not communicate (I've only compiled with the proper BOARD=launchpad/cc1352r1 and cc1352p1). I figured I'd ask before pushing this.
stonarda
@stonarda

@tbriggs6

As far as I know the P1 boards run at a slightly difference wireless radio frequency due to the amplifier within them. Someone please correct me if I misunderstood this.

This is easily fixed. When you compile the code for the CC1352P1 board, add the following global defines to the makefile (but not for the CC1352R1 boards).

CFLAGS += -DSET_CCFG_MODE_CONF_XOSC_CAP_MOD=0x0
CFLAGS += -DSET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA=0xC1

João Duarte
@joao-duarte
Hey everyone! Does someone know of a way to easily visualize the current network topology?
Atis Elsts
@atiselsts
@guiaguiar27 there is too little information to propose a solution. Make sure to debug the schedule using Cooja, or even using the TSCH-Sim simulator
@tbriggs6 this is a known issue, however, we never investigated the cause. Did @stonarda 's tip help you?
Atis Elsts
@atiselsts
@joao-duarte parsing log files and printing the topology in https://en.wikipedia.org/wiki/DOT_(graph_description_language) format is the usual way.
Do you have log files for all nodes or just for the root? In the former case, just watch for "parent switch" events in the log. In the latter, you probably need to send the parent address from each node to the root periodically, and then print it on the root
Andreas Urke
@arurke
Hi all, I notice that if an etimer is stopped in the same tick as it was supposed to expire (e.g. by a ctimer which expires at same tick), the etimer still raises an event. Anyone know if this is per design (the etimer_stop() doc. suggest otherwise...)? Tested on cc13xx-cc26xx0.
João Duarte
@joao-duarte
@atiselsts thanks for the quick feedback. Yes I only have logs for the root. I'll send the nodes parent addresses periodically then.
tbriggs6
@tbriggs6
@stonarda Thank You! That worked great!
@atiselsts Yes, its working so far.
Atis Elsts
@atiselsts
@stonarda do you know of any reason why these settings should not be the defaults?
tbriggs6
@tbriggs6

I'm trying to track down a bug I'm seeing with cc13x2, CSMA, and RPL. I periodically get storms of messages like from the TCP connection on an end-node sending towards the border router:

[WARN: CSMA      ] drop duplicate link layer packet from 0012.4b00.1cbd.61d9, seqno 26
[WARN: CSMA      ] drop duplicate link layer packet from 0012.4b00.1cbd.61d9, seqno 26
[WARN: CSMA      ] drop duplicate link layer packet from 0012.4b00.1cbd.61d9, seqno 26
[WARN: CSMA      ] drop duplicate link layer packet from 0012.4b00.1cbd.61d9, seqno 26

I've seen message repeated from 1 to 30 times. Other nodes in the network also through warning:

[WARN: CSMA      ] not for us
[WARN: CSMA      ] not for us
[WARN: CSMA      ] not for us
[WARN: CSMA      ] not for us
Atis Elsts
@atiselsts
too short ACK timeout perhaps?
Atis Elsts
@atiselsts
Do you use the default settings? The default for sub-Ghz are: CSMA_CONF_ACK_WAIT_TIME is 1/300 of a second, and CSMA_CONF_AFTER_ACK_DETECTED_WAIT_TIME 1/1000 of a second. Try increasing these
Guilherme Aguiar Silva Milanez
@guiaguiar27
@atiselsts To send a packet successfully, are two separate links from Tx and Rx required in the same time slot, or just one marked for both Tx and Rx? I'm little confused with this...
Atis Elsts
@atiselsts
just one link is sufficient
do you use Orchestra, or a custom schedule?
Guilherme Aguiar Silva Milanez
@guiaguiar27
a custom schedule.
Atis Elsts
@atiselsts
the Tx link may be shadowed by another Tx link in a different slotframe. Slotframes are prioritized, ones with lower handle value are always selected over ones with higher one
or, perhaps, you define TSCH_CALLBACK_PACKET_READY callback that does something strange - sets wrong attributes for the packet or returns negative value
Guilherme Aguiar Silva Milanez
@guiaguiar27
You mean, in a slotframe I put the Tx links and in another one I put Rx? All with the same attributes (except slotframe handle)?
1 reply
Atis Elsts
@atiselsts
no, I'm talking about two or more different slotframes that both have a Tx link at the same position. Tx links are preferred over Rx links, even if the slotframe handle is higher
Guilherme Aguiar Silva Milanez
@guiaguiar27
but, even without an Rx flag, will the destination node receive the packet?
Atis Elsts
@atiselsts
The destination node must have a link with the Rx flag at the same time, of course. Channel offset also should be the same.
Guilherme Aguiar Silva Milanez
@guiaguiar27
I think this is my problem, i'm just creating the links on the transmission node(with both Tx/Rx flags). I'll try fix this... Thanks!
sadineni63
@sadineni_gitlab
Is there any way to get timestamp on contiki mote?
stonarda
@stonarda

@atiselsts @tbriggs6

It looks like the 'drop duplicate packet' is linked to the following problem on github

contiki-ng/contiki-ng#1157

Try setting CSMA_CONF_ACK_WAIT_TIME to (RTIMER_SECOND / 200)

@atiselsts

Regarding the XOSC defines. I see no reason why they can't be defaults for the CC1352P1 (and CC1352P2) boards.

Atis Elsts
@atiselsts
@stonarda I will test with the updated XOSC settings on CC1352P and make a PR if it works. Cheers!
Tom De Smet
@tdesmet
I am looking for some guidance on reducing power consumption on the CC1312R1
For some reason the device refuses to go into standby mode
I disconnected the jtag cable, disabled the uart and turned the radio off
Guilherme Aguiar Silva Milanez
@guiaguiar27
Hi all, do you know any tutorial about calculate latency?
Andreas Urke
@arurke
Shamelessly repeating my question as I posted it in the middle of another discussion: Hi all, I notice that if an etimer is stopped in the same tick as it was supposed to expire (e.g. by a ctimer which expires at same tick), the etimer still raises an event. Anyone know if this is per design (the etimer_stop() doc. suggest otherwise...)? Tested on cc13xx-cc26xx0.
Atis Elsts
@atiselsts
@tdesmet the function Power_getConstraintMask should return a mask of the currently active constraints for the power module. maybe you can check if this mask has somehting like PowerCC26XX_DISALLOW_STANDBY set, and why is setting that constraint?
@arurke don't know about that. the etimer code in Contiki has not been changes for ages.
Tom De Smet
@tdesmet
@atiselsts ok thanks, will do