Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 27 17:18
    simonduq commented #1395
  • Oct 27 15:03
    atiselsts commented #1401
  • Oct 27 14:32
    jsolderitsch opened #1427
  • Oct 27 14:15
    atiselsts commented #1395
  • Oct 27 14:02
    atiselsts synchronize #1395
  • Oct 27 13:54
    kam193 commented #1356
  • Oct 27 13:53
    kam193 commented #1356
  • Oct 27 13:52
    kam193 commented #1356
  • Oct 27 13:51
    atiselsts commented #1363
  • Oct 27 13:50
    atiselsts commented #1363
  • Oct 27 13:46
    atiselsts commented #1356
  • Oct 27 11:57
    g-oikonomou commented #1422
  • Oct 27 11:54
    simonduq commented #1422
  • Oct 27 11:50
    g-oikonomou commented #1422
  • Oct 27 11:49
    simonduq commented #1422
  • Oct 27 11:41
    g-oikonomou commented #1422
  • Oct 25 16:11
    simonduq commented #1422
  • Oct 25 14:07
    Telespielstube commented #1426
  • Oct 25 14:04
    Telespielstube closed #1426
  • Oct 25 12:40
    g-oikonomou commented #1422
George Oikonomou
@g-oikonomou
Robert, I bet it was the latter
Robert-Lasater
@Robert-Lasater
@g-oikonomou Thanks for the tip; but I want @atiselsts to confirm.
Robert-Lasater
@Robert-Lasater

@alexstanoev

Just seeing the question about the flash, the DK does have 64Mb of QSPI external flash

Nordic itself provides a lot of software. Has anyone been able to merge Nordic's programming with contiki-ng? Are there any known stumbling blocks? E.g. interrupt handling?

Tapan Kumar Das
@tapandas
image.png
i have tune it according to my freq. range but why this is coming ? header id: wrong tpe and parse-eb: no schedule
Atis Elsts
@atiselsts
@Robert-Lasater yes, the PAN ID
Robert-Lasater
@Robert-Lasater
@atiselsts PAN ID and CSMA: contiki-ng/contiki-ng#1416
Robert-Lasater
@Robert-Lasater
Guys, I REALLY appreciate the help you all provide. Now I have a new topic, Bluetooth Low Energy (BLE). Two questions. 1) Does contiki-ng support BLE, especially as a generic option? 2) Is it feasible with contiki-ng to create a build that supports both 802.15.4 and BLE, or does the developer / designer have to choose one of them, BLE or 802.15.4?
George Oikonomou
@g-oikonomou
We don't have a full BLE stack Robert
We have traces of BLE radio here and there for people who want to play with that kind of thing. So you can advertise, even connect if you're lucky :D
If your hardware can do .15.4 and BLE (e.g. dual mode radio, or two separate radios even) there is nothing stopping you from swapping around to perform different tasks. But again, most of the work to achieve those things on you
Robert-Lasater
@Robert-Lasater
@g-oikonomou Thanks!
Tapan Kumar Das
@tapandas
Hi , i have load the simple-node code in cc1310 board after tune into supported frequency range and its working but only link layer i am seen association but RPL joining is not happening ?
Tapan Kumar Das
@tapandas
i have make project with RPL-Classic(storing mode) but every time node mode get the EB its get association but after that it should start the RPL joining process(DIS,DIO,DAO) but node not sending DIS or Root also not sending DIO?
image.png
I have gone through the code after association its call the tsch_rpl_callback_joining() but its an empty function.
can you please help me out of this ?
JR-Tosh
@JR-Tosh
Hi all, I wonder if some kind soul could sketch the "kernel" of a program to transmit via the CC1310 radio in a loop using the interface defined in arch/cpu/cc26x0-cc13x0/rf-core/ieee-mode.c , so sort of like the contiki-os example script at examples/zolertia/zoul/cc1200-demo/cc1200-demo.c .
That example does not apply to contiki-ng because the Rime protocol has been removed. My basic aim is a (reasonably) low-level code to transmit in a loop, not worrying about collisions. I would also like to be able set set the radio on and keep it on, and adjust the transmit power. TIA :-)
(I can do all the "PROCESS" wrapper stuff, and after studying ieee-mode.c and even lower-level code, extensively I am fairly familiar with it, but the whole thing is so damned complicated I am not confident of fitting everything together satisfactorily in a reasonable time.)
Alex Stanoev
@alexstanoev
@Robert-Lasater ideally the contiki-ng implementation would use the SPI HAL instead of bringing in more code from the SDK, so support for the flash would be something we consider after the HAL support is in place
and just to add to the BLE question, the nRF port hasn't been written with the intention of supporting BLE with the softdevice as it's a very large and intrusive binary dependency
Atis Elsts
@atiselsts
@JR-Tosh don't use the IEEE mode driver functions directly; instead, rely on the radio driver API defined in os/dev/radio.h (if you're looking at Contiki-NG)
by the way, CC1310 does not support the IEEE mode, from what I remember. Instead, it uses prop-mode.c driver. From your code, simply access the radio driver through NETSTACK_RADIO to avoid worrying about such details
Atis Elsts
@atiselsts
@tapandas are you sure you have a RPL root node in the network?
Robert-Lasater
@Robert-Lasater

@alexstanoev Regret I do not understand your post earlier today.

ideally the contiki-ng implementation would use the SPI HAL instead of bringing in more code from the SDK

But it does not appear the nRF52840 has any SPI flash, just the basic flash to store the application. Nordic does discuss Flash Data Storage, implying this is what an app should use for persistent storage.

Alex Stanoev
@alexstanoev
The nRF SoC itself does not, the nRF52840 DK has SPI flash onboard.
Tapan Kumar Das
@tapandas
@atiselsts Yes, in example simple-node code i made one as node as default and another to root by making the flag 'is_coordinator = 1' and by the time of boot of both the module i am getting the message like bellow i have share the log pls check
image.png
first one is node
image.png
2nd one is root
Tapan Kumar Das
@tapandas
you can see in link layer it shows association done but i am not able to see the RPL layer association.
Atis Elsts
@atiselsts
The simple node example is working correctly. We know that because there are regression tests that use it. The problem must be in the changes that you did in your codebase.
tjakicatsy
@tjakicatsy
stellenbosc network
Tapan Kumar Das
@tapandas
@atiselsts only I have changes the frequency band or nothing... But in link layer it's shows association done
Mahboob Karimian
@mahboobkarimian
In storing mode using rpl-classic, when preferred parent changes, TSCH time source also changes removing all the RX and TX timeslot belonging to the old time source. But in reality, the old time source is our neighbor and it must be kept at least some timeslots to communicate with it. What is your opinion? @atiselsts
Atis Elsts
@atiselsts
I agree. This has been discussed in the past and one solution is to add cell for each neighbor node, instead of adding cells only to the parent and to routing nexthops .
I had implemented this change for one of my project and it was easy to implement. I'm still thinking if that could be the default option.
Mahboob Karimian
@mahboobkarimian
@atiselsts Thanks for your reply.
Yes, otherwise the concept of storing mode is useless.
Could you give a link to that project, please?
Atis Elsts
@atiselsts
not for public usage, sorry.
Mahboob Karimian
@mahboobkarimian
@atiselsts No problem. I would think about adding it to my work also.
Robert-Lasater
@Robert-Lasater

Regarding BLE and 802.15.4 on an Nordic nRF52840, @g-oikonomou wrote:

We don't have a full BLE stack Robert
We have traces of BLE radio here and there for people who want to play with that kind of thing.
So you can advertise, even connect if you're lucky :D

Can someone point me to where these "traces of BLE radio" are located? Thanks!

tjakicatsy
@tjakicatsy
Why does the cooja simulator crash, freeze after about 20 minutes of rpl -sender sink simulation
Is there a way to mitigate this
Or optimize for a longer simulation time
sadineni63
@sadineni_gitlab
NETSTACK_RADIO.channel_clear() is always returning 1 and my loop is running infinitely. How to accurately identify the activity on a channel?
fahime shafieyan
@fahim87_gitlab
Hi everybody,
In the nullnet example, I set MAKE_MAC = MAKE_MAC_TSCH and use a simple schedule for a star network that I checked its operation previously by modifying the custom-schedule example. When I run the nullnet-broadcast.c in cooja, I found that irrespective of a node is in the sender node's communication range or not; sometimes, the node may turn its radio off.
This issue hasn't a unique pattern in all slotframes. What is the reason for this event?
I also noticed that in some cases, the queue was full. Could this be a reason? Would you please let me know how I can fix it?
Capture1.PNG