Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 03:03
    lili1218 commented #1457
  • 01:00
    yatch synchronize #1021
  • 00:15
    g-oikonomou labeled #1466
  • 00:14
    g-oikonomou converted_to_draft #1466
  • 00:14
    g-oikonomou closed #1464
  • 00:14
    g-oikonomou commented #1464
  • 00:14
    g-oikonomou labeled #1466
  • 00:14
    g-oikonomou opened #1466
  • 00:14
    g-oikonomou milestoned #1466
  • Dec 01 23:53
    g-oikonomou commented #1453
  • Dec 01 23:52

    g-oikonomou on release-4.6

    Update the motelist submodule Merge pull request #1465 from g… (compare)

  • Dec 01 23:52
    g-oikonomou closed #1465
  • Dec 01 23:36
    g-oikonomou synchronize #1465
  • Dec 01 23:33
    g-oikonomou edited #1465
  • Dec 01 22:29
    g-oikonomou labeled #1465
  • Dec 01 22:29
    g-oikonomou milestoned #1465
  • Dec 01 22:29
    g-oikonomou labeled #1465
  • Dec 01 22:29
    g-oikonomou opened #1465
  • Dec 01 20:22
    g-oikonomou milestoned #1464
  • Dec 01 20:22
    g-oikonomou labeled #1464
Carlo Vallati
@warner83
@alexstanoev just another quick question, sorry :), when I flash the image on the nrf52840-dongle I need to run 3 times the .dfu-upload command, as the 'nrfutil dfu usb-serial' command fails, the first time since the port /dev/ttyACM0 is still busy, the second due to an error 'Unexpected Executed OP_CODE'. Is it normal as the dongle takes some time to move into DFU mode or it is an issue with my setup?
ranjithagh
@ranjithagh

hello all,
One: I just want to push my sensor data to ubidots cloud. I’m Using Remote-RevB as MQTT Client and Orion Router as Edge Router (Border router).
Two: In the “Contiki-Zolartia-Pack” Repo MQTT-Client and Router .bin files(based on CETIC 6LBR) available for ubidots cloud and some more cloud. By making use of this, I was able to push my sensor data to Ubidots successfully
Three: But I don’t want to use “Contiki-Zolartia-Pack” Repo I want to achieve this only with Contiki-NG
Four: I have done many things to achieve this using Contiki-NG’s MQTT-Client. Firstly I have tried to connect to the Mosquitto Broker which is running on my Laptop. I faced some issues with IP addressing with the Help of @g-oikonomou I have achieved it. yes I was able to push the data to Mosquitto Broker
Five: Now I’m trying to push data to ubidots. I have tried in many ways. I have provided the correct IPv6 address and also the token. But it was not working mean the MQTT-Client was not connecting to the Router
MQTT-Client(Contiki-NG) +IP64 Router(Contiki-NG) =Ubidots Not Working
MQTT-Client(Contiki-Zolartia-Packs) +Cetic 6LBR (Contiki-Zolartia-Packs) =Ubidots Working

Six: Now from zolertia-packs I took ubidots related things and compiled with Contiki-ng, though the connection was not happening even I modified MQTT-client. c(Contiki-ng) hence I used complete MQTT-node in Contiki-ng. But I am facing two issues

  1. WITH_IP64 = 1(the issue is solved if I comment it)
  2. “undefined reference to noncoresec_framer”
    Seven: I'm here for the solution to achieve this with Contiki-NG. Did anyone has achieved this with Contiki-Ng? Even with other Cloud also fine but I have to do with Contiki-Ng
    Do the Needful
    Thank you
George Oikonomou
@g-oikonomou
@ranjithagh I would strongly suggest studying the Ubidots/MQTT documentation to see what they expect in terms of the format of MQTT messages.
I suspect it is very likely you'll need to change the MQTT client to send what they expect on their end. I expect the Ubidots cloud to be accessible on the IP (v4) network, so you'd need to have an IP64 device somewhere in the setup. Contiki-NG is not expected to work off the shelf with 6lbr, unfortunately
Alex Stanoev
@alexstanoev
@warner83 No worries! I don't think that's normal, I haven't seen it happen before. If you unplug the dongle, plug it back in, and run .dfu-upload without interacting with the port does it behave the same?
I suppose it doesn't happen when you reset it manually with the bootloader button
Carlo Vallati
@warner83
It happens anyway, even if I press the bootloader button
so it is a problem with my environment I'll investigate, thanks
which version of nrfutil do you use?
Alex Stanoev
@alexstanoev
sounds like an environment problem to me, I'm using nrfutil version 5.2.0
are you running a distro with ModemManager by chance?
if so, can you try systemctl stop ModemManager.service and see if that fixes it
inspire1969
@inspire1969
Hello Everyone..!! i am new to contiki-ng. i need some help in testing and starting the board. Can anyone help. I am using Openmote-cc2538.
George Oikonomou
@g-oikonomou
@inspire1969 hello. What steps have you tried so far?!
lutgaru
@lutgaru
currently in the udp rlp example when activating LLSEC802154_CONF_ENABLED in which layer is the encryption being done? is it end-to-end or node-to-node encryption?
inspire1969
@inspire1969
@g-oikonomou i am using ubuntu terminal. I have setup all the things. Now when i try to upload to board. and give the command to view something. it show's no such file or directory found. i am not getting this. Can you help in this regard.
Carlo Vallati
@warner83

sounds like an environment problem to me, I'm using nrfutil version 5.2.0

Yes, I am using version 6.1.0, will try to downgrade! I already disabled ModemManager! Will check further thanks!

Alex Stanoev
@alexstanoev
Did you still have the issue after disabling and stopping ModemManager?
Carlo Vallati
@warner83
Yes, the ModemManager was the issue, it was still running under my nose, I was sure it was disabled and stopped! Thank you!
I am still having a "Permission denied: '/dev/ttyACM0'" error when the dongle switches to DFU so I need to run the command twice. I'll check udev config again. Thanks!
Alex Stanoev
@alexstanoev
Thought it was MM, great to hear! The permission denied message must be udev related, let us know if you're still having issues
hazelPhd
@hazelPhd
Hi Everyone, I'm trying to intercept all the packets that a node overhear, while awake, I know this is somewhere around the MAC files, but looking at CSMA.c files and the framer files, I couldn't pinpoint where exactly, it would really help if someone could guide me with this. I want to simulate it using Cooja. I know it may look straight forward, but I have little experience dealing with MAC. Also, my simulation script runner suddenly stopped working, in Cooja, I keep getting this error "construction error for tool of class: org.contikios.cooja.plugins.ScriptRunner". Any help would be appreciated. Thank you
ssh
@LPFraile
Hello everyone. I am trying to use the bignum_exp_mode functionality from binum-driver.h, the cc2538 BigNum math functions of the PKC engine does not work me correctly. I used as all the reset big number operations:
PT_BEGIN(&state->pt);
CHECK_RESULT(bignum_exp_mod_start(e,1,m,1,b,1 ,&state->rv,state->process));
PT_WAIT_UNTIL(&state->pt, pka_check_status());
CHECK_RESULT(bignum_exp_mod_get_result(l_result, 1, state->rv));
PT_END(&state->pt);
But i always get PKA_STATUS_BUF_UNDERFLOW error. I checked in the bignum_exp_mod_get_result function and i see that the length of the result is always -3.
Someone know if exist any issue with this function?
ssh
@LPFraile
Looks like the function bignum_exp_mod_start does not make the computation because by checking on the result_vector memory position the data is always the base in which it is suppose to put the computed result value
Atis Elsts
@atiselsts
@hazelPhd look at input_packet function in os/net/mac/csma/csma.c
by default, it drops frames not for the node
you can modify this bit. Or create your own MAC layer if you want more extensive changes
for Cooja, I find it best to use Docker - it always works there, when the official Contiki-NG docker image is used
eshoaib
@eshoaib
Assalam o Alikum
i want to ask is any new version coming after the release of contiki-3.0
snm010
@snm010
Hello Everyone. How to print preferred parent selected by each node in MRHOF objective function of RPL?
ranjithagh
@ranjithagh
:point_up: November 25, 2020, 7:29 PM Since Contiki-NG does not work off the shelf with 6lbr so will i not be possible to push the data to ubidots ??
Now the problem is Mqtt-client isn't connecting to the 6lbr router
ranjithagh
@ranjithagh
In what way i have to try to achieve this ..??
ranjithagh
@ranjithagh
@g-oikonomou, could you please suggest me. Is there anything that i m doing wrong.??
kevin-forest-cysca
@kevin-forest-cysca
is the ext-flash code supposed to work with simplelink platform?
George Oikonomou
@g-oikonomou
@kevin-forest-cysca as far as I can see the simplelink CPU supports the latest SPI HAL, and this is all that's required for the ext flash driver to work. So if your device actually has an SPI flash part that is supported by the driver, I'd expect it to work
Are you stumbling anywhere?
kevin-forest-cysca
@kevin-forest-cysca
I'm just trying to erase the whole flash with the oap pull request. I added some print statements during the erase. It does around 11 erase and then the mcu crash. The CCS debugger cannot even get the register's state.
I use a cc1352p1 launchpad.
George Oikonomou
@g-oikonomou
The list of things that may be going wrong in your scenario is a fairly long one
But what you describe tells me that fundametal communication with the flash works
kevin-forest-cysca
@kevin-forest-cysca
Yes!
George Oikonomou
@g-oikonomou
we probably need a basic "flash test" example
erase, read, write something, read it out
perhaps you are spending too much time inside your function without refreshing the watchdog, and it barks at you
kevin-forest-cysca
@kevin-forest-cysca
I disabled the watchdog
jsolderitsch
@jsolderitsch
Just created PR #1464 that provides preliminary support for the TI LPSTK sensortag in the Simplelink platform. It needs massaging to conform to contiki-ng best practices and I don't feel educated enough to complete the needed modifications. I know @g-oikonomou has specific ideas about how what I did in the modified hdc-1000-sensor.c is not up to snuff. There may be other needed changes but I want to remove me as the expected maker of these changes.