Menu

Home

Adam Dunkels

Contiki is an open source, highly portable, networked, multi-tasking operating system for memory-constrained systems.


Project Admins:


Discussion

<< < 1 2 3 > >> (Page 2 of 3)
  • VIpindev Adat

    VIpindev Adat - 2016-11-26

    you want to connect rpl border router to other machines via internet or
    just in virtual machine, you are having your rpl border router and you want
    to ping it from the machine? try using tunslip

    Thanking you,
    Vipindev Adat

    On Sun, Nov 27, 2016 at 1:22 AM, can canismail@users.sf.net wrote:

    I am trying to ping the virtual machine's rpl border router to the main
    machine but
    I could not do. Can you suggest a suggestion on how to do it?


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/contiki/wiki/Home/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     
    • can

      can - 2016-11-26

      I am using tunslip6 but the same result. I am trying to ping with java. Do
      I need to use a proxy server ?

      2016-11-27 0:15 GMT+03:00 VIpindev Adat vipindevadat@users.sf.net:

      you want to connect rpl border router to other machines via internet or
      just in virtual machine, you are having your rpl border router and you want
      to ping it from the machine? try using tunslip

      Thanking you,
      Vipindev Adat

      On Sun, Nov 27, 2016 at 1:22 AM, can canismail@users.sf.net wrote:

      I am trying to ping the virtual machine's rpl border router to the main
      machine but
      I could not do. Can you suggest a suggestion on how to do it?


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/contiki/wiki/Home/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/contiki/wiki/Home/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • vijaya perumalla

    I am new to contiki. Can u please help me in installing contiki-3.1 and contiki IPSec in ubuntu 14.04

     
  • ibtissem

    ibtissem - 2017-05-15

    hi
    How to calculate the PDR from the log in rpl-collect?

     
    • Nurrahmat Pradeska

      Hi,
      You can use simulation script Sir. It is embeded inside Cooja

       
  • liam joyce

    liam joyce - 2017-06-02

    Hi, I'm new to contiki! [Ubuntu 16.04, x64].

    I'm trying to perform the command sudo make hello-world.upload using saved target sky. I've scoured the internet and not found a fix that has work for me yet. However, I keep getting the code below:

    using saved target 'sky'
    msp430-objcopy hello-world.sky -O ihex hello-world.ihex
    make IHEXFILE=hello-world.ihex sky-reset sky-upload
    make[1]: Entering directory '/home/liam/contiki/examples/hello-world'
    using saved target 'sky'
    make -k -j 20 sky-reset-sequence
    make[2]: Entering directory '/home/liam/contiki/examples/hello-world'
    using saved target 'sky'
    ../../tools/sky/msp430-bsl-linux --telosb -c /dev/ttyUSB1 -r
    MSP430 Bootstrap Loader Version: 1.39-telos-7
    Use -h for help
    Reset device ...
    Done
    make[2]: Leaving directory '/home/liam/contiki/examples/hello-world'
    make -j 20 sky-upload-sequence
    make[2]: Entering directory '/home/liam/contiki/examples/hello-world'
    using saved target 'sky'
    +++++ Erasing /dev/ttyUSB1
    MSP430 Bootstrap Loader Version: 1.39-telos-7
    Use -h for help
    Mass Erase...
    Transmit default password ...
    +++++ Programming /dev/ttyUSB1
    MSP430 Bootstrap Loader Version: 1.39-telos-7
    Invoking BSL...
    Transmit default password ...
    Current bootstrap loader version: 1.61 (Device ID: f16c)
    Changing baudrate to 38400 ...
    Program ...
    42978 bytes programmed.
    +++++ Resetting /dev/ttyUSB1
    MSP430 Bootstrap Loader Version: 1.39-telos-7
    Use -h for help
    Reset device ...
    Done
    make[2]: Leaving directory '/home/liam/contiki/examples/hello-world'
    make[1]: Leaving directory '/home/liam/contiki/examples/hello-world'
    rm hello-world.ihex
    

    To my understanding, this did not run correctly and breaks the subsequent command, make login which gives me:

    using saved target 'sky'
    ../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB1
    connecting to /dev/ttyUSB1 (115200)
    open: Invalid argument
    ../../platform/sky/Makefile.common:193: recipe for target 'login' failed
    make: *** [login] Error 255
    

    I think this means that the mote is not properly connected somehow??

    With make motelist I receive back that my device is in /dev/ttyUSB1, which makes me think that it is properly connected.

    Could someone advise me how to fix this?
    (I apologize if this is not the correct place to ask; if it isn't please let me know where I should ask at.)

    Thank you for your time.

     
    • Rensi

      Rensi - 2017-08-18

      Hi
      Check whether you have logged as super user
      sudo su
      and then give the password

       
  • Juan Carlos García Ortiz

    Hi!

    I am having problems using "coffe-manager" with Zolertia Zoul RE-Mote hardware. I am trying to insert different files into the .bin image before its burning. Nevertheless files seem not to be available once the code is burned.

    Is there any solution or configuration?

    Thanks in advance.

     
  • Vasudha Sundar

    Vasudha Sundar - 2017-07-03

    Hi
    I am new to contiki. I want to rent a server so that i can install contiki and try out the cooja simulator. Can someone help me with memory and procesor speed requirements.

     
    • hangkum

      hangkum - 2018-11-21

      Any decent system will get the job done. You will just nned to run contiki as a virtual machine using VMware or VirtualBox. I am not sure if it ansers your question

       
      • Vially KAZADI

        Vially KAZADI - 2018-11-22

        Thank you dear Hangkum for your reply. However I am running Contiki as a
        virtual machine using VMware, my issue is about relic implementation on
        Contiki Os.
        In other words, I would like to know how can I implement ECC on Contiki
        without using Relic toolkit any other library?
        Or if the use of library is the only path, how can I do it using Relic or
        any other library?

        Thank you

        Best Regard,

        Vially KAZADI

        Le jeu. 22 nov. 2018 à 04:49, hangkum hlsc@users.sourceforge.net a écrit :

        Any decent system will get the job done. You will just nned to run contiki
        as a virtual machine using VMware or VirtualBox. I am not sure if it ansers
        your question


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/contiki/wiki/Home/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         
  • Neethu V P

    Neethu V P - 2017-08-17

    Hi all, i'm new to contiki.I've succesfully set up an RPL Border Router and a few sky-websense, it runs as expected and I'm able to acces the websense nodes. The RPL border router finds its neighbour nodes. But, my problem is when i paused it then it doesnot find the edge router address and i need to reset the edge router to catch the address. How can i solve ma issue other than reset option.... All help will be greatly appreaciated. with regrads, Neethu V P

     
  • Rensi

    Rensi - 2017-08-18

    I am working with TelosB node in Contiki OS.
    When I am running commands like motelist , .upload etc, the terminal is showing
    Clock Skew detected. Your build may be incomplete.

    Can anyone tell what will be the reason for this? How can i avoid clock skew?

     
  • ibtissem

    ibtissem - 2017-11-20

    I try to implement thé RPL routing protocol with Contiki in order to imropve its advantages. I use the node energy metric. For that raison, I changed the following line in the file 'rpl-conf.h': #define RPL_DAG_MC RPL_DAG_MC_NONE
    by : #define RPL_DAG_MC RPL_DAG_MC_NONE
    However,the energy consumed values given are not logic. What is the problem?

     
  • Neethu V P

    Neethu V P - 2018-01-23

    Hi all, i'm new to contiki.I've succesfully set up an RPL Border Router and a few sky-websense, it runs as expected and I'm able to acces the websense nodes. The RPL border router finds its neighbour nodes. But, my problem is when i paused it then it doesnot find the edge router address and i need to reset the edge router to catch the address. How can i solve ma issue other than reset option.... All help will be greatly appreaciated. with regrads,

     
  • Almeraby

    Almeraby - 2018-04-01

    Hello everbody
    I am trying to use zoul platform found in contiki-ng (because of the memory limitation of sky mote) but this platform is not ported in Cooja. Even when I choose z1 platform ported in Cooja, it gives me error that no such platform called z1 because there is no corresponding z1 platform in contiki-ng.
    How I can handle this issue?
    Thanks.

     
  • Vially KAZADI

    Vially KAZADI - 2018-10-25

    Hello everyone!

    I am new in contiki and I want to implement Ed25519 algorithm using Relic toolkit, I already installed contiki and and downloaded relic in relic-master and built it in contiki-2.7/MyProject/relic-target as described in https://code.google.com/archive/p/relic-toolkit/wikis/BuildInstructions.wiki

    And then I created a new folder called MyProject-relic in contiki examples folder, where I created the RelicTest1.c and the Makefile and then I added the code lines below in Makefile.include from contiki-2.7 folder:

    RELIC_SOURCE = ../../MyProject/relic-master
    RELIC_TARGET = ../../MyProject/relic-target

    CFLAGS+= -|$(RELIC_SOURCE)/include -|$(RELIC_TARGET)/include -Os
    PROJECT_LIBRARIES+= $(RELIC_TARGET)/lib/librelic_s.a

    When I go to my MyProject-relic folder and try to compile RelicTest1.c I get this error(permission):

    TARGET not defined, using target 'native'
    CC ../../core/net/rime/rimeaddr.c
    /bin/sh: 1: ../../MyProject/relic-target/include: Permission denied
    /bin/sh: 1: ../../MyProject/relic-master/include: Permission denied
    cc: error: -E or -x required when input is from standard input
    make: *** [obj_native/rimeaddr.o] Error 126

    I tried to run chmod, chown to give permission everywhere but nothing happens, I can't move forward, I really need help in order to solve my problem.

    Any help or recommandation will be highly appreciated :) :)

    Thank you

    Best Regards;

    Vially

     

    Last edit: Vially KAZADI 2018-10-26
  • Aindrila Ghosh

    Aindrila Ghosh - 2019-02-15
    Post awaiting moderation.
  • Amr Salah Kassab

    I am trying to build PRIME PLC on Contiki OS and simulate it in Cooja, Can anyone help me?
    Thanks in advnce.

     
  • Biniyam Alemu

    Biniyam Alemu - 2019-07-19

    Hi dears, I am trying to build contiki projects using contiki-3.0. but faced two problem; one is er-rest-example is not supporting zolertia, and the other is copper addon is not active even if i downgrade to the old firefox version.
    any help....
    thanks for considering

     
  • Amr Salah Kassab

    Dear Sir,

    I am looking for a source code of prime plc mote in Cooja, Could you
    provide some help ? Thanks in advance.

     
  • lilalila

    lilalila - 2019-11-22

    Hello everyone ... I really need help :( ...

    I try for a few days to find a solution to my problem but in vain ... :(, knowing that I am new in programming in c: o

    When I try to compile this .C code that I found somewhere (which is incomplete) on the contiki simulator, I get the following 2 errors:

    code:

    #include "contiki.h"
    #include "stddef.h" /* For offsetof */
    #include "stdio.h"
    #include "contiki-conf.h"
    #include "net/rime.h"
    #include "net/netstack.h"
    #include "cc2420.h"
    #include "cc2420_const.h"
    #include "contiki-net.h" // for NETSTACK_MAC
    #include "packetbuf.h"
    #include "broadcast.h"
    #include "unicast.h"
    
    PROCESS(Relay_process,"Processus du noeud relais");
    AUTOSTART_PROCESSES(&Relay_process);
    
    static void broadcast_recv(struct broadcast_conn *c, const rimeaddr_t *from)
    {
    if(packetbuf_attr(PACKETBUF_ATTR_HANDOVER_REQ)==1)
    // si le capteur a recu une demande de communication
    {
    printf("broadcast  Request Received %d.%d\n",from->u8[0], from->u8[1]);
    leds_on(LEDS_BLUE);
    //HANDOVER_REP_TARGET=1;
    ID_REQUEST_Sender.u8[0]=from->u8[0];
    ID_REQUEST_Sender.u8[1]=from->u8[1];
    }
    }
    PROCESS_THREAD(Relay_process, ev, data)
    {
    static struct etimer et; // un timer
    PROCESS_BEGIN(); // debut du processus
    if(!HANDOVER_REP_TARGET) // si il n'y a pas eu de réponse
    {
    leds_on(LEDS_GREEN);
    etimer_set(&et,1*CLOCK_SECOND);
    PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et)); 
    }
    else
    {
    addr.u8[0] =ID_REQUEST_Sender.u8[0];  // destination = identificateur de l'emetteur
    
    addr.u8[1] =ID_REQUEST_Sender.u8[1];
    packetbuf_clear();
    packetbuf_set_attr(PACKETBUF_ATTR_HANDOVER_REP,1);
    packetbuf_set_attr(PACKETBUF_ATTR_RELAY_LOC_X,Xrelay);
    packetbuf_set_attr(PACKETBUF_ATTR_RELAY_LOC_Y,Yrelay);
    //unicast_send(&uc,&addr);
    printf("sending Repmsg \n");
    leds_off(LEDS_GREEN);
    //}
    PROCESS_END();
    }
    

    error
    request for member u8 in something not a structure or union for the following lines:
    ID_REQUEST_sender.u8[0]=from->u8[0];
    ID_REQUEST_sender.u8[1]=from->u8[1];
    addr.u8[0] =ID_REQUEST_Sender.u8[0];
    addr.u8[1] =ID_REQUEST_Sender.u8[1];
    error:
    ID_REQUEST_Sender undeclared ; ( I did not declare it because I do not know what type will it take)

    If anyone can help me I would be verry grateful :)

     
  • Enrique Merino

    Enrique Merino - 2020-02-22

    Hi, someone is working with Contiki & Cooja to simulate Lorawan protocol? .... I need some help- I want to analize the traficc of packets....

     

    Last edit: Enrique Merino 2020-02-22
<< < 1 2 3 > >> (Page 2 of 3)

Log in to post a comment.