How to integrate the .c file in contiki using cooja simulation?

To know about how to integrate the .c file in contiki source Makefile using cooja simulator.

Description

To know about how to integrate the .c file in contiki source Makefile using cooja simulator.

  • Step 1: Open at location: home/user/contiki/examples/er-rest-examples
    Here the coap examples are available in contiki and locate Makefile open it.
    For example .c file integrate into source file.

    PROJECT_SOURCEFILES += filename.c // add here .c file

u11a
  • Step 2: Open cooja simulator
    cd contiki/tools/cooja >> ant run
    Create new simulation(ctrl+n).

u11b
Source code:
  • Step 1: Open at location: home/user/contiki/examples/er-rest-examples
    Here the coap examples are available in contiki and locate Makefile open it.
    For example .c file integrate into source file.

    PROJECT_SOURCEFILES += filename.c // add here .c file

u11a
  • Step 2: Open cooja simulator
    cd contiki/tools/cooja >> ant run
    Create new simulation(ctrl+n).

u11b
Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit